Opened 13 years ago

Closed 13 years ago

#28016 closed defect (fixed)

gnome-terminal 2.30.2_1 FTB: no such file libpng12.la

Reported by: cubranic@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gnome-terminal

Description

On Mac OS X 10.6.6:

$ sudo port upgrade gnome-terminal
[...]
:info:build /bin/sh ../../libtool  --tag=CC   --mode=link /usr/bin/gcc-4.2 -D_REENTRANT -DORBIT2=1 -I/opt/
local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1
.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local
/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include   -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -O2 -arch x86_64 -arch i386  -L/opt/local/lib -arch x86_64 -arch i386 -o libskey.la  libskey_la-btoe.lo libskey_la-skey.lo libskey_la-skeyutil.lo libskey_la-md4.lo libskey_la-md5.lo libskey_la-sha1.lo  -L/opt/local/lib -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lpng14 -lpango-1.0 -lfontconfig -lexpat -lfreetype -lz -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lX11 -lxcb -lXau -lXdmcp   
:info:build grep: /opt/local/lib/libpng12.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /opt/local/lib/libpng12.la: No such file or directory
:info:build libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive

The missing library, libpng12.la, does not exist because libpng was updated to libpng14. I don't know why linker would look for libpng12 at all.

Attachments (1)

search-libpng12.sh (239 bytes) - added by jmroot (Joshua Root) 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by cubranic@…

The dependency was apparently introduced by vte. Reinstalling vte fixed gnome-terminal's build problem.

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

Owner: changed from macports-tickets@… to devans@…

vte received a revision bump in r75193, so that should take care of this ticket, right?

comment:3 Changed 13 years ago by jmroot (Joshua Root)

If not, could you please run this script to check for ports linked against libpng12?

Changed 13 years ago by jmroot (Joshua Root)

Attachment: search-libpng12.sh added

comment:4 Changed 13 years ago by cubranic@…

Reinstalling vte fixed my gnome-terminal problem. But thanks for the script, it found a whole bunch of ports with libraries that still link against the old libpng12:

  • evince
  • gnome-desktop
  • libbonoboui
  • libcanberra
  • libgnomecanvas
  • libgnomeui
  • libgsf
  • libnotify
  • libunique
  • nautilus
  • netpbm

I saw a ticket for netpbm, but all the other ones are still unreported, AFAIK.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

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