dead man page links?

Richard L. Hamilton rlhamil at smart.net
Sat Oct 1 06:39:33 UTC 2022


Given a bunch of No such file or directory errors from man -k and/or /usr/libexec/makewhatis, I looked a bit, and

/opt/local/share/man/man1/dot2gxl.1 is provided by: graphviz
/opt/local/share/man/man1/fcat.1.gz is provided by: fsp
/opt/local/share/man/man1/fcd.1.gz is provided by: fsp
/opt/local/share/man/man1/fdu.1.gz is provided by: fsp
/opt/local/share/man/man1/ffind.1.gz is provided by: fsp
/opt/local/share/man/man1/fget.1.gz is provided by: fsp
/opt/local/share/man/man1/fgrab.1.gz is provided by: fsp
/opt/local/share/man/man1/fhost.1.gz is provided by: fsp
/opt/local/share/man/man1/fls.1.gz is provided by: fsp
/opt/local/share/man/man1/fmv.1.gz is provided by: fsp
/opt/local/share/man/man1/fpro.1.gz is provided by: fsp
/opt/local/share/man/man1/frm.1.gz is provided by: fsp
/opt/local/share/man/man1/frmdir.1.gz is provided by: fsp
/opt/local/share/man/man1/fsetup.1.gz is provided by: fsp
/opt/local/share/man/man1/fstat.1.gz is provided by: fsp
/opt/local/share/man/man1/gimp-console.1 is provided by: gimp2
/opt/local/share/man/man1/xxh128sum.1 is provided by: xxhash
/opt/local/share/man/man1/xxh32sum.1 is provided by: xxhash
/opt/local/share/man/man1/xxh64sum.1 is provided by: xxhash

all turn out to be symlinks to nonexistent files. What’s up with that? I certainly didn’t remove man pages manually.

Her’s the bad links:

lrwxr-xr-x  1 root  wheel    8 Sep 22 03:21 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1
lrwxr-xr-x  1 root  admin  140 Sep 20 12:43 /opt/local/share/man/man1/fcat.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fcatcmd.1.gz
lrwxr-xr-x  1 root  admin  139 Sep 20 12:43 /opt/local/share/man/man1/fcd.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fcdcmd.1.gz
lrwxr-xr-x  1 root  admin  139 Sep 20 12:43 /opt/local/share/man/man1/fdu.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fducmd.1.gz
lrwxr-xr-x  1 root  admin  141 Sep 20 12:43 /opt/local/share/man/man1/ffind.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/ffindcmd.1.gz
lrwxr-xr-x  1 root  admin  140 Sep 20 12:43 /opt/local/share/man/man1/fget.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fgetcmd.1.gz
lrwxr-xr-x  1 root  admin  141 Sep 20 12:43 /opt/local/share/man/man1/fgrab.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fgrabcmd.1.gz
lrwxr-xr-x  1 root  admin  141 Sep 20 12:43 /opt/local/share/man/man1/fhost.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fhostcmd.1.gz
lrwxr-xr-x  1 root  admin  139 Sep 20 12:43 /opt/local/share/man/man1/fls.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/flscmd.1.gz
lrwxr-xr-x  1 root  admin  139 Sep 20 12:43 /opt/local/share/man/man1/fmv.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fmvcmd.1.gz
lrwxr-xr-x  1 root  admin  140 Sep 20 12:43 /opt/local/share/man/man1/fpro.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fprocmd.1.gz
lrwxr-xr-x  1 root  admin  139 Sep 20 12:43 /opt/local/share/man/man1/frm.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/frmcmd.1.gz
lrwxr-xr-x  1 root  admin  142 Sep 20 12:43 /opt/local/share/man/man1/frmdir.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/frmdircmd.1.gz
lrwxr-xr-x  1 root  admin  142 Sep 20 12:43 /opt/local/share/man/man1/fsetup.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fsetupcmd.1.gz
lrwxr-xr-x  1 root  admin  141 Sep 20 12:43 /opt/local/share/man/man1/fstat.1.gz -> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_fsp/fsp/work/destroot/opt/local/share/man/man1/fstatcmd.1.gz
lrwxr-xr-x  1 root  wheel   19 Aug 18 02:13 /opt/local/share/man/man1/gimp-console.1 -> gimp-console-2.10.1
lrwxr-xr-x  1 root  admin   12 Dec 29  2021 /opt/local/share/man/man1/xxh128sum.1 -> cli/xxhsum.1
lrwxr-xr-x  1 root  admin   12 Dec 29  2021 /opt/local/share/man/man1/xxh32sum.1 -> cli/xxhsum.1
lrwxr-xr-x  1 root  admin   12 Dec 29  2021 /opt/local/share/man/man1/xxh64sum.1 -> cli/xxhsum.1


If I uninstall fsp they’’re gone, but when I reinstall it (which uses a prebuilt binary), they’re recreated crazy as shown above; so the binary port archive must be wrong, must have been built wrong; similarly with xxhash. I didn’t try the experiment on the other two ports shown (gimp2 and graphviz), given that uninstall and reinstall might be slower or more problematic with them.


Either way, it shows that man page building/placement/destroot is wrong on those two packages for sure, and probably the other two as well (and maybe others similar or whose Portfiles were modeled on one of the bad ones or on whatever they were modeled on).

That’s about as far as I’d want to take understanding the problem; Portfiles give me a headache. :-) I kinda top out at Makefiles and maybe SCCS or CVS, more build automation than that is outside of what I’ve needed to fool with more than very rarely.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221001/cd856a97/attachment.htm>


More information about the macports-users mailing list