[MacPorts] #37258: py27-graph-tool installation problem under osx 10.7.5
#37258: py27-graph-tool installation problem under osx 10.7.5 -----------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -----------------------+-------------------------------- Still struggling to install py27-graph-tool on one of my machines. Here's what I'm seeing. {{{ $ sudo port install py27-graph-tool---> Computing dependencies for py27 -graph-tool ---> Fetching archive for py27-graph-tool ---> Attempting to fetch py27-graph-tool-2.2.18_2.darwin_11.x86_64.tbz2 from http://packages.macports.org/py27-graph-tool ---> Attempting to fetch py27-graph-tool-2.2.18_2.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27 -graph-tool ---> Attempting to fetch py27-graph-tool-2.2.18_2.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-graph-tool ---> Fetching distfiles for py27-graph-tool ---> Attempting to fetch graph-tool-2.2.18.tar.bz2 from http://distfiles.macports.org/py-graph-tool ---> Verifying checksum(s) for py27-graph-tool ---> Extracting py27-graph-tool ---> Configuring py27-graph-tool Error: org.macports.configure for port py27-graph-tool returned: configure failure: command execution failed Please see the log file for port py27-graph-tool for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-graph-tool/py27-graph-tool/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-graph-tool failed }}} Digging into the log file, I see the place where things go off the rails. {{{ :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-graph-tool/py27-graph-tool/work/graph- tool-2.2.18" && ./configure --prefix=/opt/local --with-boost=/opt/local :info:configure Exit code: 1 :error:configure org.macports.configure for port py27-graph-tool returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for py27-graph-tool: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Please see the log file for port py27-graph-tool for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-graph-tool/py27-graph-tool/main.log }}} Running those commands myself, I see the following from the configure statement: {{{ ... ================ Detecting python ================ checking for a Python interpreter with version >= 2.6... python checking for python... /opt/local/bin/python checking for python version... 2.7 checking for python platform... darwin checking for python script directory... ${prefix}/lib/python2.7/site- packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7... (cached) /opt/local/bin/python checking for a version of Python >= '2.1.0'... yes checking for a version of Python == '2.7.1'... yes checking for the distutils Python package... yes checking for Python include path... -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 checking for Python library path... -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 checking for Python site-packages path... /Library/Python/2.7/site- packages checking python extra libraries... -ldl -framework CoreFoundation checking python extra linking flags... -u _PyMac_Error /System/Library/Frameworks/Python.framework/Versions/2.7/Python checking consistency of all components of python development environment... yes =========================== Using python version: 2.7.1 =========================== checking for boostlib >= 1.38.0... yes checking whether the Boost::Python library is available... no configure: error: No usable boost::python found }}} Here are the py27-graph-tool dependencies that are active on my machine: {{{ The following ports are currently installed: boost @1.52.0_1+no_single+no_static+python27 (active) cairomm @1.10.0_1 (active) cgal @4.1_0 (active) expat @2.1.0_0 (active) graphviz @2.28.0_9 (active) pkgconfig @0.27.1_1 (active) py27-gobject3 @3.2.2_0 (active) py27-numpy @1.6.2_1 (active) py27-scipy @0.11.0_0+gcc45 (active) python27 @2.7.3_1 (active) }}} I tried uninstalling and reinstalling boost different ways and to no avail. Definitely out of ideas. Any pointers would be greatly appreciated! -- Ticket URL: <https://trac.macports.org/ticket/37258> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool installation problem under osx 10.7.5 ------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by cal@…): Please attach the complete main.log. Running the failing command manually does not necessarily give the same output because MacPorts runs them as a different user and sets quite a list of environment variables. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool installation problem under osx 10.7.5 ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Changes (by cal@…): * cc: tiago@…, mmoll@… (added) * port: => py27-graph-tool Comment: Also please set the port field and Cc the maintainer, if any. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool installation problem under osx 10.7.5 ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by cpdiehl@…): Just attached main.log as requested. Thanks for taking a look. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: g5pw@… (added) Comment: py-cairo was recently unified; perhaps files have moved and py-graph-tool needs to be updated to find them. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by ryandesign@…): Since py-graph-tool is itself looking for py-cairo, py-graph-tool probably needs its own dependency on py-cairo, for orderly housekeeping. That probably doesn't change the error however. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: Fixed in r100371. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by cpdiehl@…): FYI. Doing a 'sudo port clean --all py27-graph-tool' and 'sudo port install py27-graph-tool' caused the system to still break in the same spot. Given the previous reference to py-cairo, on a whim, I did a 'sudo port install py-cairo' and then repeated the above. It got past the configuration stage and is now building. So adding that dependency seems like it would help. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by mmoll@…): That is very odd, since py-cairo doesn't install anything useful for building code: {{{
port contents py-cairo Port py-cairo contains: /opt/local/share/doc/py-cairo/README }}}
-- Ticket URL: <https://trac.macports.org/ticket/37258#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by mmoll@…): It compiles fine on the buildbot, too: https://build.macports.org/builders /buildports-lion-x86_64/builds/6371/steps/status/logs/portstatus -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by cpdiehl@…): Very bizarre. I honestly don't know what changed then. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:7 cpdiehl@…]:
FYI. Doing a 'sudo port clean --all py27-graph-tool' and 'sudo port install py27-graph-tool' caused the system to still break in the same spot. Given the previous reference to py-cairo, on a whim, I did a 'sudo port install py-cairo' and then repeated the above. It got past the configuration stage and is now building. So adding that dependency seems like it would help.
The dependency on py${python.version}-cairo was added in r100371. Please attach a main.log of the build failure if you can still reproduce it. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:9 mmoll@…]:
It compiles fine on the buildbot, too: https://build.macports.org/builders/buildports-lion- x86_64/builds/6371/steps/status/logs/portstatus
On the Lion buildbot yes. But the Snow Leopard buildbot oddly got stuck and the build aborted: https://build.macports.org/builders/buildports- snowleopard-x86_64/builds/12885/steps/compile/logs/stdio ("command timed out: 1200 seconds without output, attempting to kill") -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37258: py27-graph-tool: error: pycairo headers not found ------------------------------+-------------------------------- Reporter: cpdiehl@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-graph-tool | ------------------------------+-------------------------------- Comment (by mmoll@…): It's not *that* odd. Graph-tool needs massive amounts of memory. The compilation process probably starts swapping at some point. Even if the buildbots for the different os versions are configured the same, it is possible that the compiler on snow leapord uses even more memory and starts swapping even sooner. -- Ticket URL: <https://trac.macports.org/ticket/37258#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts