[MacPorts] #40072: py*-graph-tool: incorrectly uses LINKFORSHARED in configure (was: unable to install graph-tool on mac OS X lion and mountain lion)

MacPorts noreply at macports.org
Mon Aug 12 09:25:31 PDT 2013


#40072: py*-graph-tool: incorrectly uses LINKFORSHARED in configure
----------------------------+---------------------
  Reporter:  absima@…       |      Owner:  mmoll@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.0
Resolution:                 |   Keywords:
      Port:  py-graph-tool  |
----------------------------+---------------------
Changes (by larryv@…):

 * cc: tiago@… (added)
 * owner:  macports-tickets@… => mmoll@…
 * port:   => py-graph-tool


Old description:

> This is the error I get on Terminal on both of my laptops.
>
> $ sudo port install py-graph-tool
> [[BR]]
> --->  Computing dependencies for py-graph-tool
> [[BR]]
> --->  Dependencies to be installed: py27-graph-tool
> [[BR]]
> --->  Configuring py27-graph-tool
> [[BR]]
> Error: Failed to configure py27-graph-tool, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work
> /graph-tool-2.2.24/config.log
> Error: org.macports.configure for port py27-graph-tool returned:
> configure failure: command execution failed
> Error: Failed to install py27-graph-tool
> 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_tarballs_ports_python_py-graph-tool/py27-graph-tool/main.log
> Error: The following dependencies were not installed: py27-graph-tool
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port py-graph-tool failed
> [[BR]]
> $

New description:

 This is the error I get on Terminal on both of my laptops.

 {{{
 $ sudo port install py-graph-tool
 --->  Computing dependencies for py-graph-tool
 --->  Dependencies to be installed: py27-graph-tool
 --->  Configuring py27-graph-tool
 Error: Failed to configure py27-graph-tool, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work
 /graph-tool-2.2.24/config.log
 Error: org.macports.configure for port py27-graph-tool returned: configure
 failure: command execution failed
 Error: Failed to install py27-graph-tool
 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_tarballs_ports_python_py-graph-tool/py27-graph-tool/main.log
 Error: The following dependencies were not installed: py27-graph-tool
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port py-graph-tool failed
 $
 }}}

--

Comment:

 Probably (incorrectly) uses LINKFORSHARED to grab Python’s linking flags,
 as described in #39223. It should be using python//X//.//Y//-config
 instead.

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


More information about the macports-tickets mailing list