[MacPorts] #66242: python311 @3.11.0 +lto +optimizations failed to build (was: Python @3.11 +lto +optimizations failed to build)

MacPorts noreply at macports.org
Mon Nov 14 09:18:32 UTC 2022


#66242: python311 @3.11.0 +lto +optimizations failed to build
------------------------+----------------------
  Reporter:  bakergilx  |      Owner:  jmroot
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:  ventura
      Port:  python311  |
------------------------+----------------------
Changes (by jmroot):

 * keywords:   => ventura


Old description:

> 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

New description:

 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

--

Comment:

 {{{
 :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?

-- 
Ticket URL: <https://trac.macports.org/ticket/66242#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list