<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Given a bunch of No such file or directory errors from man -k and/or /usr/libexec/makewhatis, I looked a bit, and<div class=""><br class=""></div><div class=""><div class="">/opt/local/share/man/man1/dot2gxl.1 is provided by: graphviz</div><div class="">/opt/local/share/man/man1/fcat.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fcd.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fdu.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/ffind.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fget.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fgrab.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fhost.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fls.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fmv.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fpro.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/frm.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/frmdir.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fsetup.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/fstat.1.gz is provided by: fsp</div><div class="">/opt/local/share/man/man1/gimp-console.1 is provided by: gimp2</div><div class="">/opt/local/share/man/man1/xxh128sum.1 is provided by: xxhash</div><div class="">/opt/local/share/man/man1/xxh32sum.1 is provided by: xxhash</div><div class="">/opt/local/share/man/man1/xxh64sum.1 is provided by: xxhash</div></div><div class=""><br class=""></div><div class="">all turn out to be symlinks to nonexistent files. What’s up with that? I certainly didn’t remove man pages manually.</div><div class=""><br class=""></div><div class="">Her’s the bad links:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier New" class="">lrwxr-xr-x  1 root  wheel    8 Sep 22 03:21 /opt/local/share/man/man1/dot2gxl.1 -> gv2gxl.1</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">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</font></div><div class=""><font face="Courier New" class="">lrwxr-xr-x  1 root  wheel   19 Aug 18 02:13 /opt/local/share/man/man1/gimp-console.1 -> gimp-console-2.10.1</font></div><div class=""><font face="Courier New" class="">lrwxr-xr-x  1 root  admin   12 Dec 29  2021 /opt/local/share/man/man1/xxh128sum.1 -> cli/xxhsum.1</font></div><div class=""><font face="Courier New" class="">lrwxr-xr-x  1 root  admin   12 Dec 29  2021 /opt/local/share/man/man1/xxh32sum.1 -> cli/xxhsum.1</font></div><div class=""><font face="Courier New" class="">lrwxr-xr-x  1 root  admin   12 Dec 29  2021 /opt/local/share/man/man1/xxh64sum.1 -> cli/xxhsum.1</font></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">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).</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div></body></html>