[MacPorts] #43586: py27-pyobjc @2.5.1: build fails with py27-setuptools @3.5.1

MacPorts noreply at macports.org
Mon May 5 22:54:29 PDT 2014


#43586: py27-pyobjc @2.5.1: build fails with py27-setuptools @3.5.1
-----------------------------+--------------------------------
 Reporter:  md14-macports@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.2.1
 Keywords:                   |       Port:  py-pyobjc
-----------------------------+--------------------------------
 Building py27-pyobjc @2.5.1 fails after I upgraded to py27-setuptools
 @3.5.1:

 {{{
 $ port installed py27-setuptools
 The following ports are currently installed:
   py27-setuptools @3.5.1_0 (active)
 $ sudo port -vs install py27-pyobjc
 --->  Computing dependencies for py27-pyobjc.
 --->  Fetching distfiles for py27-pyobjc
 ...
 copying build/lib.macosx-10.6-x86_64-2.7/PyObjCTest/testclassandinst.so ->
 PyObjCTest
 copying
 build/lib.macosx-10.6-x86_64-2.7/PyObjCTest/testoutputinitializer.so ->
 PyObjCTest
 copying build/lib.macosx-10.6-x86_64-2.7/PyObjCTest/voidpointer.so ->
 PyObjCTest
 running install_lib
 Traceback (most recent call last):
   File "setup.py", line 574, in <module>
     zip_safe = False,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
 line 152, in setup
     dist.run_commands()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 953, in run_commands
     self.run_command(cmd)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 972, in run_command
     cmd_obj.run()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/command/install.py", line 59, in run
     return orig.install.run(self)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py",
 line 575, in run
     self.run_command(cmd_name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
 line 326, in run_command
     self.distribution.run_command(command)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 972, in run_command
     cmd_obj.run()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/command/install_lib.py", line 9, in run
     outfiles = self.install()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py",
 line 115, in install
     outfiles = self.copy_tree(self.build_dir, self.install_dir)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/command/install_lib.py", line 34, in copy_tree
     exclude = self.get_exclusions()
   File "setup.py", line 271, in get_exclusions
     for fn in install_lib._install_lib.get_outputs(self):
 AttributeError: 'module' object has no attribute '_install_lib'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-pyobjc/py27-pyobjc/work/pyobjc-
 core-2.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg install
 --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.7
 --root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-pyobjc/py27-pyobjc/work/destroot
 Exit code: 1
 Error: org.macports.destroot for port py27-pyobjc returned: command
 execution failed
 Warning: targets not executed for py27-pyobjc: org.macports.activate
 org.macports.destroot org.macports.install
 Please see the log file for port py27-pyobjc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-pyobjc/py27-pyobjc/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port py27-pyobjc failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43586>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list