[MacPorts] #69892: python312 reportedly fails to build on G3: Python: incompatible cpu-subtype
MacPorts
noreply at macports.org
Thu May 2 20:03:47 UTC 2024
#69892: python312 reportedly fails to build on G3: Python: incompatible cpu-subtype
---------------------------+----------------------
Reporter: barracuda156 | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: tiger
Port: python312 |
---------------------------+----------------------
Comment (by yumikonoua):
after a while, it made the same error:
{{{
rpad_max_install_names -arch ppc -dynamiclib \
-all_load libpython3.12.a -Wl,-single_module \
-install_name
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/Python \
-compatibility_version 3.12 \
-current_version 3.12 \
-framework CoreFoundation -lintl -ldl -framework CoreFoundation;
/usr/bin/install -c -d -m 755 \
Python.framework/Versions/3.12/Resources/English.lproj
/usr/bin/install -c -m 644 Mac/Resources/framework/Info.plist \
Python.framework/Versions/3.12/Resources/Info.plist
ln -fsn 3.12 Python.framework/Versions/Current
ln -fsn Versions/Current/Python Python.framework/Python
ln -fsn Versions/Current/Resources Python.framework/Resources
/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
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 ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
dyld: Library not loaded:
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/Python
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
Reason: no suitable image found. Did find:
/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
make: *** [pybuilddir.txt] Error 133
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'
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
Exit code: 2
Error: Failed to build python312: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python312/python312/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port python312 failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69892#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list