On CURRENT (FreeBSD 12.0-CURRENT #14 r328101: Wed Jan 17 23:57:27 CET 2018 amd64) port math/nlopt fails to install/register due to: ====> Compressing man pages (compress-man) ===> Installing for nlopt-2.4.2_1 ===> Registering installation for nlopt-2.4.2_1 pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python2.7/site-packages/_nlopt.a:No such file or directory pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python2.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/python2.7/site-packages/_nlopt.so.0:No such file or directory pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python2.7/site-packages/_nlopt.so.0.8.2:No such file or directory pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python2.7/site-packages/nlopt.py:No such file or directory pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python2.7/site-packages/nlopt.pyc:No such file or directory pkg-static: Unable to access file /usr/ports/math/nlopt/work/stage/usr/local/lib/python2.7/site-packages/nlopt.pyo:No such file or directory *** Error code 74 Stop. make: stopped in /usr/ports/math/nlopt
Hi Oliver, Thanks for reporting. I observe the same behaviour with nlopt. As far as I understand, this came after the last update of math/py-numpy. nlopt does not recognize numpy any more and therefore does not build any python code: [..snip..] checking for python version... 2.7 checking for python platform... freebsd12 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7-config... /usr/local/bin/python2.7-config checking for Python include flags... -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for Numpy include directory... unknown checking for numpy/arrayobject.h... no configure: WARNING: disabling Python wrappers [..snip..]
I think this problem (not recognizing numpy) has overcome by events. The report should be closed, thanks.
See comment2.