Opened 2 years ago
Last modified 10 months ago
#66242 closed defect
python311 @3.11.0 +lto +optimizations failed to build — at Version 2
Reported by: | bakergilx (Dennis Baker) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | upstream | Cc: | |
Port: | python311 python310 |
Description (last modified by jmroot (Joshua Root))
Installation of python311 on OS 13.0.1, Arm64 architecture, Xcode 14.1, generates the following configure warning:
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: dbm_open: found in Python-3.11.0/config.log, getrandom: found in Python-3.11.0/config.log, le64toh: found in Python-3.11.0/config.log
In addition, the port failed to build with the following error message:
Error: Failed to build python311: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python311/python311/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port python311 failed
config.log and build.log attached
Change History (4)
Changed 2 years ago by bakergilx (Dennis Baker)
Changed 2 years ago by bakergilx (Dennis Baker)
Attachment: | config.log added |
---|
config.log for python311
comment:1 Changed 2 years ago by reneeotten (Renee Otten)
Cc: | jmr@… removed |
---|---|
Owner: | set to jmroot |
Status: | new → assigned |
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | ventura added |
Summary: | Python @3.11 +lto +optimizations failed to build → python311 @3.11.0 +lto +optimizations failed to build |
:info:build error: [Errno 2] No such file or directory: '/opt/local/include/proj_api.h'
Unfortunately there's no indication in the logs of what is trying to include this header. It would be provided by the various versions of proj
, but none of those should be required by python. Would you be able to find out what is referencing this either in the python build dir or the installed files of python311's dependencies?
Note: See
TracTickets for help on using
tickets.
main.log for python311