[MacPorts] #64352: python39 @3.9.9_0+universal: fails to build on Mac OS X 10.7 Lion

MacPorts noreply at macports.org
Mon Jan 3 22:42:43 UTC 2022


#64352: python39 @3.9.9_0+universal: fails to build on Mac OS X 10.7 Lion
--------------------------+----------------------
 Reporter:  johnrosshunt  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:  lion i386     |       Port:  python39
--------------------------+----------------------
 python39 universal fails to build on Mac OS X 10.7 Lion. python39 non-
 universal builds fine. And for reference, python38 +universal & python310
 +universal build fine.

 {{{
 Traceback (most recent call last):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/./setup.py",
 line 2598, in <module>
     main()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/./setup.py",
 line 2568, in main
     setup(# PyPI Metadata (PEP 301)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/core.py", line 148, in setup
     return run_commands(dist)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/core.py", line 163, in run_commands
     dist.run_commands()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
     self.run_command(cmd)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/dist.py", line 986, in run_command
     cmd_obj.run()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/command/build.py", line 135, in run
     self.run_command(cmd_name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
     self.distribution.run_command(command)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/dist.py", line 986, in run_command
     cmd_obj.run()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/command/build_ext.py", line 339, in
 run
     self.build_extensions()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/./setup.py",
 line 456, in build_extensions
     build_ext.build_extensions(self)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/command/build_ext.py", line 446, in
 build_extensions
     self._build_extensions_parallel()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/command/build_ext.py", line 468, in
 _build_extensions_parallel
     fut.result()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/Lib/concurrent/futures/_base.py",
 line 445, in result
     return self.__get_result()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/Lib/concurrent/futures/_base.py",
 line 390, in __get_result
     raise self._exception
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/Lib/concurrent/futures/thread.py",
 line 58, in run
     result = self.fn(*self.args, **self.kwargs)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/./setup.py",
 line 554, in build_extension
     build_ext.build_extension(self, ext)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/command/build_ext.py", line 528, in
 build_extension
     objects = self.compiler.compile(sources,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/ccompiler.py", line 574, in compile
     self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/unixccompiler.py", line 117, in
 _compile
     self.spawn(compiler_so + cc_args + [src, '-o', obj] +
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/ccompiler.py", line 917, in spawn
     spawn(cmd, dry_run=self.dry_run, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/setuptools/_distutils/spawn.py", line 38, in spawn
     log.info(subprocess.list2cmdline(cmd))
 AttributeError: module '_bootsubprocess' has no attribute 'list2cmdline'
 make: *** [sharedmods] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9"
 && /usr/bin/make -j2 -w all
 Exit code: 2
 }}}

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


More information about the macports-tickets mailing list