Opened 12 years ago

Closed 12 years ago

#35946 closed defect (fixed)

graphviz fails to compile after updating to libpng 1.5

Reported by: hugo-ribeiro (Hugo Ribeiro) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: robsonpeixoto@…
Port:

Description

graphviz needs update to compile with libpng 1.5. Compilation error below.

grep: /opt/local/lib/libpng14.la: No such file or directory
sed: /opt/local/lib/libpng14.la: No such file or directory
libtool: link: `/opt/local/lib/libpng14.la' is not a valid libtool archive
make[3]: *** [libgvplugin_rsvg.la] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/plugin/rsvg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port graphviz returned: command execution failed
Warning: targets not executed for graphviz: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port graphviz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/main.log
Error: Unable to upgrade port: 1

Change History (4)

comment:1 Changed 12 years ago by robsonpeixoto@…

Cc: robsonpeixoto@… added

Cc Me!

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

In this case it is not graphviz itself but rather one of its dependencies that needs to be recompiled for libpng 1.5. We are currently in the process of identifying and recompiling those packages. It may take a few days for us to complete this.

comment:3 Changed 12 years ago by robsonpeixoto@…

This work for me:

$ port installed graphviz
The following ports are currently installed:
  graphviz @2.28.0_5+gdk_pixbuf+glitz+rsvg (active)

$ port deps graphviz +gdk_pixbuf+glitz+rsvg | grep Library | cut -d' ' -f3- | tr ',' ' '
jpeg  libpng  libLASi  fontconfig  freetype  expat  gd2  gts  ghostscript  zlib  gettext  librsvg  gtk2  glitz

$ sudo port upgrade $(port deps graphviz +gdk_pixbuf+glitz+rsvg | grep Library | cut -d' ' -f3- | tr ',' ' ')

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.