Bug 251871

Summary: math/nlopt: install failure: pkg-static: Unable to access file
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Rainer Hurling <rhurlin>
Status: New ---    
Severity: Affects Only Me CC: rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (rhurlin)
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2020-12-15 17:54:01 UTC
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-2.15.0.102 >> 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
Comment 1 Rainer Hurling freebsd_committer 2020-12-15 19:21:21 UTC
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?
Comment 2 Rainer Hurling freebsd_committer 2021-05-06 18:50:06 UTC
Hi Oliver,

Does this problem still exists for you?

If not, I would like to close the PR, thank you.