[MacPorts] #63730: py27-setuptools @ 44.1.1_0.darwin_21.noarch.tbz2 - Fails to install on Monterey / Arm64
MacPorts
noreply at macports.org
Sat Oct 30 11:33:41 UTC 2021
#63730: py27-setuptools @ 44.1.1_0.darwin_21.noarch.tbz2 - Fails to install on
Monterey / Arm64
----------------------+-----------------------------
Reporter: jonwilts | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: ports | Version: 2.7.1
Keywords: monterey | Port: py27-setuptools
----------------------+-----------------------------
Upgraded my M1 Mini to Monterey, and following the Migration instructions
for macports. No idea if this is Arm64 only.
During Migration, py27-setuptools fails to build:
{{{
:info:build Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/work/setuptools-44.1.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
:debug:build system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/work/setuptools-44.1.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
:info:build Traceback (most recent call last):
:info:build File "setup.py", line 9, in <module>
:info:build import setuptools
:info:build File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/work/setuptools-44.1.1/setuptools/__init__.py",
line 20, in <module>
:info:build from setuptools.dist import Distribution, Feature
:info:build File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/work/setuptools-44.1.1/setuptools/dist.py",
line 36, in <module>
:info:build from setuptools import windows_support
:info:build File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/work/setuptools-44.1.1/setuptools/windows_support.py",
line 2, in <module>
:info:build import ctypes
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 7, in <module>
:info:build from _ctypes import Union, Structure, Array
:info:build ImportError: No module named _ctypes
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/work/setuptools-44.1.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
:info:build Exit code: 1
:error:build Failed to build py27-setuptools: command execution failed
:debug:build Error code: CHILDSTATUS 33447 1
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
setuptools/py27-setuptools/main.log for details.
}}}
py27-setuptools is a dependency for a number of other ports including
py27-libxml2 which seems to be used a lot.
--
Ticket URL: <https://trac.macports.org/ticket/63730>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list