[MacPorts] #62023: python39 @3.9.1 does not build universal on BigSur

MacPorts noreply at macports.org
Sun Jan 10 20:16:42 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):

 That same simple patch unfortunately is not enough to fix python38, which
 is still getting backport fixes for arm64 upstream I understand:
 {{{
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7
 ./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
 Traceback (most recent call last):
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/runpy.py",
 line 194, in _run_module_as_main
     return _run_code(code, main_globals, None,
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/runpy.py",
 line 87, in _run_code
     exec(code, run_globals)
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/sysconfig.py",
 line 712, in <module>
     _main()
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/sysconfig.py",
 line 700, in _main
     _generate_posix_vars()
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/sysconfig.py",
 line 402, in _generate_posix_vars
     pybuilddir = 'build/lib.%s-%s' % (get_platform(), _PY_VERSION_SHORT)
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/sysconfig.py",
 line 679, in get_platform
     osname, release, machine = _osx_support.get_platform_osx(
   File
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7/Lib/_osx_support.py",
 line 495, in get_platform_osx
     raise ValueError(
 ValueError: Don't know machine value for archs=('arm64', 'x86_64')
 generate-posix-vars failed
 make: *** [pybuilddir.txt] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_myports_lang_python38/python38/work/Python-3.8.7"
 && /usr/bin/make -j8 -w all
 }}}

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


More information about the macports-tickets mailing list