[MacPorts] #45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5)
#45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5) -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: py27-pyobjc fails | Port: py27-pyobjc -------------------------------+-------------------------------- Installing py27-pyobjc fails via macports in yosemite. py27-pyobjc produced an error: {{{ Error: org.macports.destroot for port py27-pyobjc returned: command execution failed 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 }}} I attach the log file. I tried 'sudo port clean py27-pyobjc && sudo port selfupdate && sudo port install py27-pyobjc' but doesn't work. System: OS X 10.10 (14A386b) (yosemite beta version 5) Do you know how can i fix it?? thanks!!! -- Ticket URL: <https://trac.macports.org/ticket/45310> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5) -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: py27-pyobjc | -------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: py27-pyobjc fails => yosemite Comment: You say you cleaned and tried again, but the log you attached is not from a clean build. Please clean again and try again just once, then attach that main.log. It built fine for me on Yosemite beta. -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5) -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by paulvanlorenzo@…): Replying to [comment:1 ryandesign@…]:
You say you cleaned and tried again, but the log you attached is not from a clean build. Please clean again and try again just once, then attach that main.log. It built fine for me on Yosemite beta. Thanks for answering.You're right, the log it's wrong, I've just replaced the good main.log. I'm not sure what is happening. The problem started when I migrate macports as [https://trac.macports.org/wiki/Migration] saids. Thanks for your help
-- Ticket URL: <https://trac.macports.org/ticket/45310#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5) -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. I tried again on my system and now I see the same error you do. But I was able to successfully install the port on Yosemite beta back on July 25. So something has changed since then. -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5) -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by md14-macports@…): I see the same failure when I try to install py27-pyobjc on Mac OS X 10.6 (Snow Leopard). I also get the same failure when trying to install py27-matplotlib. The problem seems to have started after I upgraded to py27-setuptools 6.0. -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails on OS X 10.10 (yosemite beta version 5) -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: yosemite Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by paulvanlorenzo@…): Thanks to all for answering. I think is a bug that happens with the update of yosemite beta, I'm not sure how to fix it. md14-macports@alluvialsw.com, try 'sudo port clean py27-pyobjc && sudo port selfupdate && sudo port install py27-pyobjc' some people fix this problem doing it and updating command line tools in mavericks, maybe it works also for Snow Leopard -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails with setuptools 6 -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc | -------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: yosemite => -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails with setuptools 6 -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by md14-macports@…): Replying to [comment:6 paulvanlorenzo@…]:
try 'sudo port clean py27-pyobjc && sudo port selfupdate && sudo port install py27-pyobjc'
I tried this to no avail. I previously reported the same failure when trying to install py27-matplotlib. I had not noticed that py27-pyobjc is a dependency of py27-matplotlib, and the py27-matplotlib failure occurred when trying to install py27-pyobjc. -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails with setuptools 6 -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by wichert@…): This is caused by a change in setuptools which changes the return value from a dictionary to a set: https://bitbucket.org/pypa/setuptools/diff/setuptools/command/install_lib.py... . A workaround is to modify pyobjc-core's setup.py to handle both situations: {{{ #!python def get_exclusions(self): result = install_lib.install_lib.get_exclusions(self) def add(result, fn): if isinstance(result, dict): result[fn] = 1 else: result.add(fn) for fn in install_lib.orig.install_lib.get_outputs(self): if 'PyObjCTest' in fn: add(result, fn) for fn in os.listdir('PyObjCTest'): add(result, os.path.join('PyObjCTest', fn)) add(result, os.path.join(self.install_dir, 'PyObjCTest', fn)) return result }}} -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails with setuptools 6 -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by wichert@…): There is a relevant upstream ticket for this issue as well: https://bitbucket.org/ronaldoussoren/pyobjc/issue/99/install-broken-under- newest-version-of -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails with setuptools 6 -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by wangjicheng11@…): It works, and also works for py-pyobjc-cocoa! Thank you! -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#45310: py27-pyobjc build fails with setuptools 6 -------------------------------+-------------------------------- Reporter: paulvanlorenzo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc | -------------------------------+-------------------------------- Comment (by luszczek@…): I had the exact same problem with py34-pyobjc and py34-pyobjc-cocoa. My fix was to replace: result[fn] = 1 with result.add(fn) since result is a Python set(), not a dict() And it works on Yosemite that is being released to the wild today. I'm running Yosemite GM Candidate 3. -- Ticket URL: <https://trac.macports.org/ticket/45310#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts