Solved Multiple ports build fine but compressed man pages missing

I'm updating an old system which has been updated from FreeBSD 12.3R to 13.5R.

While rebuilding various ports, any with compressed man pages fail during the installation process because the compressed files are missing . The uncompressed files are there and I fixed one port (pango) by simply gzipping the uncompressed files and copying them into the correct staging directory. What is causing the compressed man pages not to be built? The make process finishes successfully, but the install process fails because the compressed man page files do not exist.

Any ideas?
 
Clutching at straws I decided to delete all the installed ports and start afresh and... that worked. Not sure why, but it is what it is.
 
Not sure why, but it is what it is.
Probably needed to upgrade/update various build dependencies first. This is one of the reasons why the packages are built in a "clean room" environment. So any old dependency can't interfere.

You could create your own "clean room" environment, it's how I built my own packages in the past. Just create a simple jail and build everything you need inside that jail. Then install those resulting packages on the host. Nowadays there are tools like Poudriere or Synth that can do all this for you.
 
Back
Top