[MacPorts] #61920: Python37 failed to Build on M1 Apple Silicon
MacPorts
noreply at macports.org
Sun Dec 27 17:28:38 UTC 2020
#61920: Python37 failed to Build on M1 Apple Silicon
----------------------------------------+--------------------
Reporter: rsmacleod | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: big sur, M1, apple silicon | Port:
----------------------------------------+--------------------
I am trying to build xorg-server (because Quartz X11 is apparently not
compatible with M1/Apple Silicon. But I could not get past the python
build:
{{{
---> Staging python37 into destroot
Error: Failed to destroot python37: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python37/python37/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port python37 failed
}}}
and from the log file:
{{{
:info:destroot /usr/bin/clang -L/opt/local/lib
-Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
-arch arm64 -DPYTHONFRAMEWORK='"Python"' -o pythonw \
:info:destroot ./Tools/pythonw.c -I.. -I./../Include \
:info:destroot ../Python.framework/Versions/3.7/Python
:info:destroot ./Tools/pythonw.c:125:9: error: "Unknown CPU"
:info:destroot # error "Unknown CPU"
:info:destroot ^
:info:destroot ./Tools/pythonw.c:223:9: warning: comparison of function
'posix_spawn' not equal to a null pointer is always true [-Wtautological-
pointer-compare]
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61920>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list