Upgrade of port fails on recent CURRENT (FreeBSD 13.0-CURRENT #174 r368666: Tue Dec 15 18:04:30 CET 2020 amd64) due to the error shown below:
====> Compressing man pages (compress-man)
===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for math/nlopt from ports
===>>> Dependency check complete for math/nlopt
===>>> All >> pagmo2-22.214.171.124 >> math/nlopt (3/5)
===> Installing for nlopt-2.7.0
===> Registering installation for nlopt-2.7.0 as automatic
pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python3.7/site-packages/_nlopt.so:No such file or directory
pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python3.7/site-packages/nlopt.py:No such file or directory
*** Error code 74
Hmm, I tried on Poudriere to build math/nlopt and science/pagmo2, also outside of Poudriere. On both, it builds and installs fine. So I can not confirm this problem here.
I am wondering, why your build misses /usr/local/lib/python3.7/site-packages/_nlopt.so and /usr/local/lib/python3.7/site-packages/nlopt.py ...
Do you use any 'special' settings in /etc/make.conf?