Opened 3 weeks ago

Last modified 3 weeks ago

#66242 assigned defect

python311 @3.11.0 +lto +optimizations failed to build

Reported by: bakergilx (Dennis Baker) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: python311

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

Attachments (2)

main.log (198.1 KB) - added by bakergilx (Dennis Baker) 3 weeks ago.
main.log for python311
config.log (1.1 MB) - added by bakergilx (Dennis Baker) 3 weeks ago.
config.log for python311

Download all attachments as: .zip

Change History (4)

Changed 3 weeks ago by bakergilx (Dennis Baker)

Attachment: main.log added

main.log for python311

Changed 3 weeks ago by bakergilx (Dennis Baker)

Attachment: config.log added

config.log for python311

comment:1 Changed 3 weeks ago by reneeotten (Renee Otten)

Cc: jmr@… removed
Owner: set to jmroot
Status: newassigned

comment:2 Changed 3 weeks ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: ventura added
Summary: Python @3.11 +lto +optimizations failed to buildpython311 @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.