[MacPorts] #44928: py27-healpy build failure
#44928: py27-healpy build failure ------------------------------+-------------------------------- Reporter: rhiannon.lynne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: py27-healpy ------------------------------+-------------------------------- port install py27-healpy fails. The build log has a message about an appropriate version of setuptools not existing, but this is because the build seems to be trying to use the incorrect version of python (using the built-in /Library/Python/2.7/site- packages/setuptools-2.1-py2.7.egg version) instead of the macports python (macports python is the default python and has a more recent version of setuptools - /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/setuptools-5.7-py2.7.egg-info). -- Ticket URL: <https://trac.macports.org/ticket/44928> MacPorts <http://www.macports.org/> Ports system for OS X
#44928: py27-healpy build failure -------------------------------+-------------------------------- Reporter: rhiannon.lynne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-healpy | -------------------------------+-------------------------------- Comment (by rhiannon.lynne@…): Was able to work around by doing 'easyinstall -U setuptools' as message in build log suggested (but I still don't understand why the setup tools in the macports python wasn't used). -- Ticket URL: <https://trac.macports.org/ticket/44928#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44928: py27-healpy build failure -------------------------------+----------------------- Reporter: rhiannon.lynne@… | Owner: aronnax@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-healpy | -------------------------------+----------------------- Changes (by mf2k@…): * owner: macports-tickets@… => aronnax@… * port: py27-healpy => py-healpy Comment: In the future, please Cc the port maintainers ({{{port info --maintainers py27-healpy}}}). -- Ticket URL: <https://trac.macports.org/ticket/44928#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44928: py27-healpy build failure -------------------------------+----------------------- Reporter: rhiannon.lynne@… | Owner: aronnax@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-healpy | -------------------------------+----------------------- Comment (by aronnax@…): Replying to [comment:1 rhiannon.lynne@…]:
Was able to work around by doing 'easyinstall -U setuptools' as message in build log suggested (but I still don't understand why the setup tools in the macports python wasn't used).
What version of setuptools is installed on your system? What does the following command print? {{{port installed py27-setuptools}}} -- Ticket URL: <https://trac.macports.org/ticket/44928#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44928: py27-healpy build failure -------------------------------+----------------------- Reporter: rhiannon.lynne@… | Owner: aronnax@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-healpy | -------------------------------+----------------------- Comment (by rhiannon.lynne@…): Looks like I have a few versions. [d-173-250-190-165:~/workshop] lynnej% port installed py27-setuptools The following ports are currently installed: py27-setuptools @1.1.7_0 py27-setuptools @1.4_0 py27-setuptools @2.1_0 py27-setuptools @2.1.2_0 py27-setuptools @3.3_0 py27-setuptools @3.6_0 py27-setuptools @5.4.2_0 py27-setuptools @5.7_0 (active) -- Ticket URL: <https://trac.macports.org/ticket/44928#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44928: py27-healpy build failure -------------------------------+----------------------- Reporter: rhiannon.lynne@… | Owner: aronnax@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-healpy | -------------------------------+----------------------- Comment (by aronnax@…): It is very odd that it picked up setuptools from {{{/Library}}}. I can see from the build log that it ran {{{setup.py}}} with the correct Python interpreter, {{{/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7}}}. Could you try a clean build? {{{ $ sudo port clean py27-healpy $ sudo port install py27-healpy }}} -- Ticket URL: <https://trac.macports.org/ticket/44928#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44928: py27-healpy build failure -------------------------------+----------------------- Reporter: rhiannon.lynne@… | Owner: aronnax@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-healpy | -------------------------------+----------------------- Comment (by rhiannon.lynne@…): I updated the setup tools in the /Library version of python, so I don't get a build log hanging around when I do that now (i.e. the build now works). However, I did do a port clean before trying to (re)install it after it failed the first time, and got the same error. -- Ticket URL: <https://trac.macports.org/ticket/44928#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts