Opened 12 years ago

Closed 12 years ago

#36687 closed defect (invalid)

Error: org.macports.build for port graphviz returned: command execution failed

Reported by: jacopo.lanzoni.10@… Owned by: ryandesign (Ryan Carsten Schmidt)
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

Attachments (2)

main.log (106.1 KB) - added by jacopo.lanzoni.10@… 12 years ago.
main.log file
port_-v_installed (19.2 KB) - added by jacopo.lanzoni.10@… 12 years ago.

Download all attachments as: .zip

Change History (11)

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.

comment:2 Changed 12 years ago by jacopo.lanzoni.10@…

Thank you for the answer. I think graphiz gets cleaned as you try to re-install it (how can I do it otherwise?). I re-try to install and it fails again. The main.log file is attached. Sorry about the format of my previous message. Thanks again!

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

It does not get cleaned if the build fails. You need to manually clean the failed port.

sudo port clean graphiz

Please do that and re-attach the new main.log if it fails to build again.

Changed 12 years ago by jacopo.lanzoni.10@…

Attachment: main.log added

main.log file

comment:4 Changed 12 years ago by jacopo.lanzoni.10@…

I clean graphviz and it fails again. The new main.log file is attached. Thanks again!

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks. Could you also attach the output of:

port -v installed

It builds fine for me, so I need to try to find some difference between your system and mine.

comment:6 Changed 12 years ago by jacopo.lanzoni.10@…

The output is attached.

Changed 12 years ago by jacopo.lanzoni.10@…

Attachment: port_-v_installed added

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Your installed version of glib2 is too old:

  glib2 @2.28.8_0 (active) platform='darwin 10' archs='x86_64'

The current version is 2.34.1. Please clean graphviz, selfupdate, upgrade outdated ports, and then try again:

sudo port clean graphviz
sudo port selfupdate
sudo port upgrade outdated

comment:8 Changed 12 years ago by jacopo.lanzoni.10@…

Now everything works perfectly fine. Thank you very much! Jacopo

comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Great, glad you got it working.

Note: See TracTickets for help on using tickets.