[MacPorts] #44235: py34-pyobjc-cocoa @2.5.1 staging fails
#44235: py34-pyobjc-cocoa @2.5.1 staging fails -------------------------------+-------------------------------- Reporter: ulrich.felzmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: python | Port: py34-pyobjc-cocoa -------------------------------+-------------------------------- {{{ :info:destroot running install :info:destroot running build :info:destroot running build_py :info:destroot overriding build_packages to copy PyObjCTest :info:destroot running build_ext :info:destroot copying build/lib.macosx-10.9-x86_64-3.4/PyObjCTest/testhelper.so -> PyObjCTest :info:destroot running install_lib :info:destroot Traceback (most recent call last): :info:destroot File "setup.py", line 68, in <module> :info:destroot extra_link_args=["-framework", "Foundation"]), :info:destroot File "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py34-pyobjc-cocoa/work /pyobjc-framework-Cocoa-2.5.1/pyobjc_setup.py", line 441, in setup :info:destroot **k :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/core.py", line 148, in setup :info:destroot dist.run_commands() :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 955, in run_commands :info:destroot self.run_command(cmd) :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command :info:destroot cmd_obj.run() :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/setuptools/command/install.py", line 59, in run :info:destroot return orig.install.run(self) :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/install.py", line 566, in run :info:destroot self.run_command(cmd_name) :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/cmd.py", line 313, in run_command :info:destroot self.distribution.run_command(command) :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command :info:destroot cmd_obj.run() :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/setuptools/command/install_lib.py", line 9, in run :info:destroot outfiles = self.install() :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/command/install_lib.py", line 111, in install :info:destroot outfiles = self.copy_tree(self.build_dir, self.install_dir) :info:destroot File "/opt/macports/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/setuptools/command/install_lib.py", line 34, in copy_tree :info:destroot exclude = self.get_exclusions() :info:destroot File "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py34-pyobjc-cocoa/work /pyobjc-framework-Cocoa-2.5.1/pyobjc_setup.py", line 189, in get_exclusions :info:destroot for fn in install_lib._install_lib.get_outputs(self): :info:destroot AttributeError: 'module' object has no attribute '_install_lib' :info:destroot Command failed: cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py34-pyobjc-cocoa/work /pyobjc-framework-Cocoa-2.5.1" && /opt/macports/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4 setup.py --no-user-cfg install --prefix=/opt/macports/Library/Frameworks/Python.framework/Versions/3.4 --root=/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py34-pyobjc- cocoa/work/destroot :info:destroot Exit code: 1 :error:destroot org.macports.destroot for port py34-pyobjc-cocoa returned: command execution failed }}} OS X Mavericks v10.9.3 Xcode 5.1.1 - Build version 5B1008 -- Ticket URL: <https://trac.macports.org/ticket/44235> MacPorts <http://www.macports.org/> Ports system for OS X
#44235: py34-pyobjc-cocoa @2.5.1 staging fails --------------------------------+-------------------------------- Reporter: ulrich.felzmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: python Port: py34-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by ulrich.felzmann@…): Same issue with py27-pyobjc-cocoa and py33-pyobjc-cocoa. -- Ticket URL: <https://trac.macports.org/ticket/44235#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44235: py34-pyobjc-cocoa @2.5.1 staging fails --------------------------------+-------------------------------- Reporter: ulrich.felzmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: python Port: py34-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by marshall.perrin@…): I was able to work around this just by commenting out the offending lines in pyobjc_setup.py, as shown in the following simple diff. I'll admit to not completely understanding what this code does well enough to know if this utter hack of a workaround is going to have negative consequences. However since it's in the 'get_exclusions' function I suspect it will just result in some PyObjCTest functions being installed unnecessarily, with no impact other than minor increased use of disk space. In any case with this tweak I can install the port, and subsequent dependent ports like matplotlib. Seems to be working so far. {{{ 189,191c189,191 < for fn in install_lib._install_lib.get_outputs(self): < if 'PyObjCTest' in fn: < result[fn] = 1 ---
# for fn in install_lib._install_lib.get_outputs(self): # if 'PyObjCTest' in fn: # result[fn] = 1
}}} -- Ticket URL: <https://trac.macports.org/ticket/44235#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44235: py34-pyobjc-cocoa @2.5.1 staging fails --------------------------------+-------------------------------- Reporter: ulrich.felzmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: python Port: py-pyobjc-cocoa | --------------------------------+-------------------------------- Changes (by mf2k@…): * port: py34-pyobjc-cocoa => py-pyobjc-cocoa -- Ticket URL: <https://trac.macports.org/ticket/44235#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44235: py34-pyobjc-cocoa @2.5.1 staging fails --------------------------------+-------------------------------- Reporter: ulrich.felzmann@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: duplicate | Keywords: Port: py-pyobjc-cocoa | --------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: python => * status: new => closed * resolution: => duplicate Comment: Duplicate of #44192 which has the correct fix. -- Ticket URL: <https://trac.macports.org/ticket/44235#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts