[MacPorts] #62023: python39 @3.9.1 does not build universal on BigSur
MacPorts
noreply at macports.org
Sun Jan 10 19:31:15 UTC 2021
#62023: python39 @3.9.1 does not build universal on BigSur
-----------------------+------------------------------
Reporter: kencu | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: BigSur universal
Port: python39 |
-----------------------+------------------------------
Comment (by kencu):
Here are the changes induced into python39 by the patch phase and post-
patch reinplaces:
generated by this:
{{{
35 sudo port clean
36 sudo port -v extract subport=python39 +universal
37 cd work
38 sudo chmod -R a+rw ./*
39 cd P*
40 git init
41 git add .
42 git commit -m init > /dev/null
43 cd ../..
44 sudo port -v patch subport=python39 +universal
45 cd work
46 cd P*
47 git status
48 git diff
49 git diff --no-prefix > ~/python39-changes-from-patch.txt
}}}
I'll attach the whole diff, but it looks like this part in configure is
what needs fixing:
{{{
intel)
- UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
+ UNIVERSAL_ARCH_FLAGS="-arch arm64 -arch x86_64"
LIPO_32BIT_FLAGS="-extract i386"
ARCH_RUN_32BIT="/usr/bin/arch -i386"
;;
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62023#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list