Opened 12 years ago

Last modified 12 years ago

#36687 closed defect

Error: org.macports.build for port graphviz returned: command execution failed — at Version 1

Reported by: jacopo.lanzoni.10@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: graphviz

Description (last modified by mf2k (Frank Schima))

I'm trying to install pandas via the command 'sudo port install py27-pandas @0.7.3', but I get the following error message:

--->  Building graphviz
Error: org.macports.build for port graphviz returned: command execution failed
Please see the log file for port graphviz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log
Error: Unable to upgrade port: 1
Error rebuilding graphviz
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 370)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 94)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4784)

The last part of log file says

:info:build Making all in lasi
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/plugin/lasi'
:info:build   CXX    gvrender_lasi.lo
:info:build In file included from /opt/local/include/pango-1.0/pango/pango-types.h:95,
:info:build                  from /opt/local/include/pango-1.0/pango/pango-font.h:26,
:info:build                  from /opt/local/include/pango-1.0/pango/pango-attributes.h:25,
:info:build                  from /opt/local/include/pango-1.0/pango/pango.h:25,
:info:build                  from /opt/local/include/LASi.h:13,
:info:build                  from gvrender_lasi.cpp:21:
:info:build /opt/local/include/pango-1.0/pango/pango-bidi-type.h:129: error: expected constructor, destructor, or type conversion before ‘(’ token
:info:build make[3]: *** [gvrender_lasi.lo] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/plugin/lasi'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/plugin'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0" && /usr/bin/make -j2 -w all
:info:build Exit code: 2
:error:build org.macports.build for port graphviz returned: command execution failed
:debug:build Error code: CHILDSTATUS 117 2
: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 graphviz: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port graphviz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log

Change History (1)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: Pandas graphviz removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: graphviz added

Please clean graphiz, re-try the install, and attach the entire main.log file if it fails again.

In the future, please use WikiFormatting, fill in the port field, and Cc the port maintainer(s).

When installing the port, simply use:

sudo port install py27-pandas

Adding "@0.7.3" does not do anything.

Note: See TracTickets for help on using tickets.