Bug 251871 - math/nlopt: install failure: pkg-static: Unable to access file
Summary: math/nlopt: install failure: pkg-static: Unable to access file
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rainer Hurling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-15 17:54 UTC by O. Hartmann
Modified: 2021-05-06 18:50 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (rhurlin)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 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 freebsd_triage 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.