[MacPorts] #69892: python312 reportedly fails to build on G3: Python: incompatible cpu-subtype

MacPorts noreply at macports.org
Thu May 2 10:20:21 UTC 2024


#69892: python312 reportedly fails to build on G3: Python: incompatible cpu-subtype
--------------------------+-----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:  tiger         |       Port:  python312
--------------------------+-----------------------
 I have no way to test this, but apparently Python 3.12 is broken on Tiger
 if build is done on G3.

 {{{
 :info:build /opt/local/bin/gcc-mp-7 -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc    -Wl,-stack_size,1000000
 -framework CoreFoundation Python.framework/Versions/3.12/Python -o
 python.exe Programs/python.o  -lintl -ldl  -framework CoreFoundation
 :info:build
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python312/python312/work/Python-3.12.3
 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
 :info:build if test $? -ne 0 ; then \
 :info:build     echo "generate-posix-vars failed" ; \
 :info:build     rm -f ./pybuilddir.txt ; \
 :info:build     exit 1 ; \
 :info:build fi
 :info:build dyld: Library not loaded:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/Python
 :info:build   Referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python312/python312/work/Python-3.12.3/./python.exe
 :info:build   Reason: no suitable image found.  Did find:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python312/python312/work/Python-3.12.3/Python.framework/Versions/3.12/Python:
 incompatible cpu-subtype
 :info:build make: *** [pybuilddir.txt] Error 133
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python312/python312/work/Python-3.12.3'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python312/python312/work/Python-3.12.3"
 && /usr/bin/make -w all
 :info:build Exit code: 2
 :error:build Failed to build python312: command execution failed
 :debug:build Error code: CHILDSTATUS 16000 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69892>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list