Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#37243 closed defect (invalid)

py27-graph-tool v. 2.2.18 failing to build under OSX 10.7.5

Reported by: cpdiehl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: py27-graph-tool

Description (last modified by ryandesign (Ryan Carsten Schmidt))

What I'm seeing when I attempt to install py27-graph-tool

$ sudo port install py27-graph-tool
--->  Computing dependencies for py27-graph-tool
--->  Building py27-graph-tool
Error: org.macports.build for port py27-graph-tool returned: 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

I've got all the latest dependencies installed from what I can tell.

$ sudo port installed graphviz boost cairomm cgal expat pkgconfig py27-gobject3 py27-numpy py27-scipy python27
Password:
The following ports are currently installed:
  boost @1.51.0_1+no_single+no_static+python27
  boost @1.52.0_1+no_single+no_static+python27 (active)
  cairomm @1.10.0_1 (active)
  cgal @4.1_0 (active)
  expat @2.0.1_1
  expat @2.1.0_0 (active)
  graphviz @2.28.0_8
  graphviz @2.28.0_9 (active)
  pkgconfig @0.27.1_1 (active)
  py27-gobject3 @3.2.2_0 (active)
  py27-numpy @1.6.1_1+atlas+gcc44
  py27-numpy @1.6.2_0+atlas+gcc44
  py27-numpy @1.6.2_1+atlas+gcc44 (active)
  py27-scipy @0.10.0_1+gcc44
  py27-scipy @0.10.1_0+gcc44
  py27-scipy @0.10.1_1+gcc44
  py27-scipy @0.11.0_0+gcc44 (active)
  python27 @2.7.3_1 (active)

Here's the last 100 lines from the log file referenced above.

$ tail -100 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-graph-tool/py27-graph-tool/main.log
:debug:main py27-gobject3 3.2.2_0  is the latest installed
:debug:main py27-gobject3 3.2.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-gobject3
:debug:main OS darwin/11.4.2 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python-1.0.tcl
:debug:main Re-registering default for build.cmd
:debug:main Re-registering default for destroot.cmd
:debug:main Re-registering default for destroot.destdir
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! py27-gobject3 3.2.2_0 >= py27-gobject3 3.2.2_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main py27-cairo 1.10.0_0 exists in the ports tree
:debug:main py27-cairo 1.10.0_0 +x11 is the latest installed
:debug:main py27-cairo 1.10.0_0 +x11 is active
:debug:main Merging existing variants '+x11' into variants
:debug:main new fully merged portvariants: x11 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-cairo
:debug:main OS darwin/11.4.2 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python-1.0.tcl
:debug:main Re-registering default for build.cmd
:debug:main Re-registering default for destroot.cmd
:debug:main Re-registering default for destroot.destdir
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/active_variants-1.1.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main adding the default universal variant
:debug:main Executing variant x11 provides x11
:debug:main No need to upgrade! py27-cairo 1.10.0_0 >= py27-cairo 1.10.0_0
:msg:main --->  Computing dependencies for py27-graph-tool:info:main .:debug:main py27-graph-tool has no conflicts
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: python27
:debug:main Found Dependency: receipt exists for python27
:debug:main Searching for dependency: boost
:debug:main Found Dependency: receipt exists for boost
:debug:main Searching for dependency: cairomm
:debug:main Found Dependency: receipt exists for cairomm
:debug:main Searching for dependency: cgal
:debug:main Found Dependency: receipt exists for cgal
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: graphviz
:debug:main Found Dependency: receipt exists for graphviz
:debug:main Searching for dependency: py27-numpy
:debug:main Found Dependency: receipt exists for py27-numpy
:debug:main Searching for dependency: py27-scipy
:debug:main Found Dependency: receipt exists for py27-scipy
:debug:main Searching for dependency: py27-gobject3
:debug:main Found Dependency: receipt exists for py27-gobject3
:msg:main 
:debug:main Executing org.macports.main (py27-graph-tool)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (py27-graph-tool)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (py27-graph-tool)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (py27-graph-tool)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (py27-graph-tool)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (py27-graph-tool)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (py27-graph-tool)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Dec  7 16:32:26 PST 2012
:notice:build --->  Building py27-graph-tool
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (py27-graph-tool)
:debug:build Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-graph-tool/py27-graph-tool/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:build Assembled command: '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" && make -j8 -w all'
:debug:build Executing command line:  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" && make -j8 -w all 
:info:build sh: line 0: 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: No such file or directory
:info:build 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" && make -j8 -w all 
:info:build Exit code: 1
:error:build org.macports.build for port py27-graph-tool returned: command execution failed
:debug:build Error code: CHILDSTATUS 39639 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for py27-graph-tool: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build 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

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: py27-graph-tool added
Resolution: invalid
Status: newclosed

This is #29223. Please clean and try again.

comment:2 Changed 11 years ago by cpdiehl@…

Thanks for the pointer. A clean --all ended up doing the trick. Along with installing while not have a virtual environment active. I've not been able to replicate this on my MacBook Air. So there may be another issue, on my side, lurking. But this instance is resolved. Thanks for the suggestion.

Note: See TracTickets for help on using tickets.