Noticed on openSuSE that
$ man pmerrstr
works, but
$ man pmerrstr_r
does not ... presumably because the alias (via symlink) is not being
established.
On some other platforms this works, probably because the man(1) command is a
little smarter, or tries a bit harder.
The root cause is in the man page source
.SH NAME
\f3pmErrStr\f1, \f3pmErrStr_r\f1 \- convert a PMAPI error code into a string
Our builddefs define INSTALL_MAN to be a complicated rule which only works if
the man source above is rewritten as:
.SH NAME
\f3pmErrStr\f1,
\f3pmErrStr_r\f1 \- convert a PMAPI error code into a string
Suspect there are other cases of the same problem.
Fix is either (a) change man source, or (b) make the INSTALL_MAN rule smarter.