Bug 225297 - math/nlopt: pkg-static: Unable to access file
Summary: math/nlopt: pkg-static: Unable to access file
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 12:56 UTC by O. Hartmann
Modified: 2018-02-26 15:13 UTC (History)
3 users (show)

See Also:
rhurlin: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2018-01-18 12:56:49 UTC
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
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2018-01-18 13:04:22 UTC
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..]
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2018-02-26 12:23:10 UTC
I think this problem (not recognizing numpy) has overcome by events. The report should be closed, thanks.
Comment 3 Walter Schwarzenfeld 2018-02-26 15:13:14 UTC
See comment2.