Opened 14 years ago

Closed 11 years ago

#28601 closed defect (worksforme)

bluefish 2.0.2 missing dependency for libpng12

Reported by: james.levander@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: png Cc: ryandesign (Ryan Carsten Schmidt)
Port: bluefish

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

After a recent 'port upgrade outdated', bluefish then failed to load due to missing libpng12 (seems I now only have libpng14). I performed a 'sudo port -f uninstall bluefish' and 'sudo port -v install bluefish' and keep getting this error:

/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -D_REENTRANT -DORBIT2=1 -I/opt/local/include/gucharmap-2 -I/opt/local/include/gconf/2 -I/opt/local/include/gtk-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14   -pipe -O2 -arch x86_64 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/libxml2 -I/opt/local/include/enchant    -module -avoid-version  -L/opt/local/lib -arch x86_64 -o charmap.la -rpath /opt/local/lib/bluefish charmap_la-charmap.lo charmap_la-charmap_gui.lo -L/opt/local/lib -lgucharmap -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -L/opt/local/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lXfixes -lpng14 -lcairo -lX11 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lintl   
grep: /opt/local/lib/libpng12.la: No such file or directory
sed: /opt/local/lib/libpng12.la: No such file or directory
libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
make[4]: *** [charmap.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_bluefish/work/bluefish-2.0.2" && /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for bluefish): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for bluefish is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_bluefish/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Your help is much appreciated

Change History (5)

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

Description: modified (diff)

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

Cc: ryandesign@… added
Keywords: png added

Everything that uses libpng needs to be updated after updating to libpng 1.4.x. Use

sudo port selfupdate
sudo port clean outdated
port outdated

Upgrade everything shown (possibly not in the order shown). If at the end you still end up with ports that won't build, or errors about libpng12 not being found, let us know.

comment:3 Changed 14 years ago by james.levander@…

No joy yet. Followed instructions. I have now cleaned and upgraded:

ncursesw                       5.7_1 < 5.8_0             
ncurses                        5.7_1 < 5.8_0             
libidn                         1.19_0 < 1.20_0           
autoconf                       2.68_1 < 2.68_2           
aspell-dict-en                 6.0_0 < 7.1_0             
p5-locale-gettext              1.05_4 < 1.05_5           
iso-codes                      3.24.1_0 < 3.24.2_0   

It now tells me 'No installed ports are outdated.' . So my installed ports now looks like this:

The following ports are currently installed:
  aspell @0.60.6_4+nonls (active)
  aspell-dict-en @6.0_0
  aspell-dict-en @7.1_0 (active)
  atk @1.30.0_0
  atk @1.32.0_0 (active)
  atlas @3.8.3_4+gcc44
  atlas @3.9.37_0+gcc44 (active)
  audiofile @0.2.7_0 (active)
  autoconf @2.68_1
  autoconf @2.68_2 (active)
  automake @1.11.1_0 (active)
  base64 @1.5_0 (active)
  bison @2.4.3_0 (active)
  bzip2 @1.0.6_0 (active)
  cairo @1.10.2_0
  cairo @1.10.2_2 (active)
  cmake @2.8.3_1
  cmake @2.8.4_0 (active)
  db46 @4.6.21_6 (active)
  dbus @1.2.24_1 (active)
  dbus-glib @0.92_0 (active)
  ddrescue @1.13_0
  ddrescue @1.14_0 (active)
  desktop-file-utils @0.15_1 (active)
  docbook-xml @5.0_0 (active)
  docbook-xml-4.1.2 @4.1.2_1 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xml-4.3 @4.3_0 (active)
  docbook-xml-4.4 @4.4_0 (active)
  docbook-xml-4.5 @4.5_0 (active)
  docbook-xml-5.0 @5.0_0 (active)
  docbook-xsl @1.76.1_0 (active)
  eggdbus @0.6_0 (active)
  enchant @1.6.0_0 (active)
  esound @0.2.41_1 (active)
  expat @2.0.1_1 (active)
  fftw-3 @3.2.2_0 (active)
  flex @2.5.35_0 (active)
  fontconfig @2.8.0_0 (active)
  freetype @2.4.4_0 (active)
  gcc44 @4.4.5_0 (active)
  gconf @2.28.1_0
  gconf @2.28.1_2 (active)
  gdbm @1.8.3_3 (active)
  gdk-pixbuf2 @2.22.1_0
  gdk-pixbuf2 @2.22.1_1 (active)
  getopt @1.1.4_1 (active)
  gettext @0.18.1.1_2 (active)
  glib2 @2.26.1_0
  glib2 @2.26.1_1
  glib2 @2.28.1_0 (active)
  gmp @5.0.1_0 (active)
  gnome-common @2.28.0_0 (active)
  gnome-doc-utils @0.20.3_0
  gnome-doc-utils @0.20.4_0 (active)
  gnome-keyring @2.30.3_1
  gnome-keyring @2.32.1_0 (active)
  gnome-mime-data @2.18.0_3 (active)
  gnome-vfs @2.24.4_0 (active)
  gnutls @2.8.6_0 (active)
  gperf @3.0.4_0 (active)
  gramps @3.2.5_0 (active)
  gst-plugins-base @0.10.32_0 (active)
  gstreamer @0.10.32_1 (active)
  gtk-doc @1.15_1+python27
  gtk-doc @1.16_0+python27 (active)
  gtk2 @2.22.1_0+x11
  gtk2 @2.22.1_1+x11 (active)
  gtkspell2 @2.0.16_1 (active)
  gucharmap @2.30.3_1 (active)
  gzip @1.4_0 (active)
  help2man @1.38.2_0
  help2man @1.38.4_0 (active)
  hunspell @1.2.12_0 (active)
  icu @4.6_0 (active)
  intltool @0.40.6_0 (active)
  iso-codes @3.23_0
  iso-codes @3.24_0
  iso-codes @3.24.1_0
  iso-codes @3.24.2_0 (active)
  jasper @1.900.1_7 (active)
  jpeg @8b_0
  jpeg @8c_0 (active)
  libart_lgpl @2.3.21_0 (active)
  libbonobo @2.24.3_0 (active)
  libbonoboui @2.24.4_0
  libbonoboui @2.24.4_1 (active)
  libcroco @0.6.2_2 (active)
  libffi @3.0.9_0 (active)
  libgcrypt @1.4.6_0 (active)
  libglade2 @2.6.4_1
  libglade2 @2.6.4_3 (active)
  libgnome @2.30.0_0 (active)
  libgnome-keyring @2.30.1_1 (active)
  libgnomecanvas @2.30.2_0
  libgnomecanvas @2.30.2_1 (active)
  libgnomeui @2.24.4_0
  libgnomeui @2.24.4_1 (active)
  libgpg-error @1.10_0 (active)
  libgsf @1.14.19_1 (active)
  libiconv @1.13.1_0 (active)
  libidl @0.8.14_0 (active)
  libidn @1.19_0
  libidn @1.20_0 (active)
  libogg @1.2.2_0 (active)
  libpixman @0.20.0_0
  libpixman @0.20.2_0 (active)
  libpng @1.2.44_0
  libpng @1.4.5_0 (active)
  libproxy @0.4.6_0 (active)
  librsvg @2.32.1_1 (active)
  libsoup @2.30.2_0 (active)
  libtasn1 @2.9_0 (active)
  libtheora @1.1.1_0 (active)
  libtool @2.4_0 (active)
  libvorbis @1.3.2_0 (active)
  libxml2 @2.7.8_0 (active)
  libxslt @1.1.26_0 (active)
  lzo @1.08_0 (active)
  m4 @1.4.15_2 (active)
  meld @1.4.0_0 (active)
  mpfr @3.0.0-p8_0 (active)
  ncurses @5.7_1
  ncurses @5.8_0 (active)
  ncursesw @5.7_1
  ncursesw @5.8_0 (active)
  openssl @1.0.0c_0
  openssl @1.0.0d_0 (active)
  orbit2 @2.14.19_0 (active)
  orc @0.4.11_1 (active)
  p5-getopt-long @2.38_0
  p5-getopt-long @2.38_1 (active)
  p5-locale-gettext @1.05_3
  p5-locale-gettext @1.05_4
  p5-locale-gettext @1.05_5 (active)
  p5-pathtools @3.33_0
  p5-pathtools @3.33_1 (active)
  p5-scalar-list-utils @1.23_0
  p5-scalar-list-utils @1.23_1 (active)
  p5-xml-parser @2.40_0
  p5-xml-parser @2.40_1 (active)
  pango @1.28.3_0
  pango @1.28.3_1
  pango @1.28.3_3 (active)
  perl5 @5.8.9_0
  perl5 @5.12.3_0+perl5_12 (active)
  perl5.12 @5.12.3_1 (active)
  perl5.8 @5.8.9_3
  perl5.8 @5.8.9_4 (active)
  pkgconfig @0.25_1
  pkgconfig @0.25_2 (active)
  policykit @0.96_0 (active)
  popt @1.16_0 (active)
  py26-cairo @1.8.10_0
  py26-cairo @1.8.10_1 (active)
  py26-distribute @0.6.14_0 (active)
  py26-enchant @1.6.5_0 (active)
  py26-gnome @2.28.1_1
  py26-gnome @2.28.1_2 (active)
  py26-gobject @2.26.0_1 (active)
  py26-gtk @2.22.0_0
  py26-gtk @2.22.0_1 (active)
  py26-gtkspell @2.25.3_0 (active)
  py26-nose @0.11.3_0
  py26-nose @1.0.0_0 (active)
  py26-numpy @1.5.1_1+atlas+gcc44 (active)
  py26-orbit @2.24.0_0 (active)
  py26-webkitgtk @1.1.8_1 (active)
  py27-libxml2 @2.6.21_0 (active)
  python26 @2.6.6_1 (active)
  python27 @2.7.1_1 (active)
  python_select @0.3_0 (active)
  rarian @0.8.1_0 (active)
  readline @6.1.002_0
  readline @6.2.000_0 (active)
  shared-mime-info @0.90_0 (active)
  sqlite3 @3.7.3_0
  sqlite3 @3.7.5_0 (active)
  texinfo @4.13_2 (active)
  tiff @3.9.4_0 (active)
  webkit-gtk @1.2.5_3 (active)
  wget @1.12_3+ssl (active)
  Xft2 @2.2.0_0 (active)
  xmlcatmgr @2.2_1 (active)
  xorg-bigreqsproto @1.1.1_0 (active)
  xorg-compositeproto @0.4.2_0 (active)
  xorg-damageproto @1.2.1_0 (active)
  xorg-fixesproto @4.1.2_0 (active)
  xorg-inputproto @2.0.1_0 (active)
  xorg-kbproto @1.0.5_0 (active)
  xorg-libice @1.0.7_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.0_0 (active)
  xorg-libX11 @1.4.0_1
  xorg-libX11 @1.4.1_0 (active)
  xorg-libXau @1.0.6_0 (active)
  xorg-libxcb @1.7_0+python27 (active)
  xorg-libXcomposite @0.4.3_0 (active)
  xorg-libXcursor @1.1.11_0 (active)
  xorg-libXdamage @1.1.3_0 (active)
  xorg-libXdmcp @1.1.0_0 (active)
  xorg-libXext @1.2.0_0 (active)
  xorg-libXfixes @4.0.5_0 (active)
  xorg-libXi @1.4.0_0
  xorg-libXi @1.4.1_0 (active)
  xorg-libXinerama @1.1.1_0 (active)
  xorg-libXrandr @1.3.1_0 (active)
  xorg-libXt @1.0.9_0 (active)
  xorg-randrproto @1.3.2_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-util-macros @1.11.0_0
  xorg-util-macros @1.12.0_0 (active)
  xorg-xcb-proto @1.6_0+python27 (active)
  xorg-xcmiscproto @1.2.1_0 (active)
  xorg-xextproto @7.1.2_0
  xorg-xextproto @7.2.0_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xineramaproto @1.2_0
  xorg-xineramaproto @1.2.1_0 (active)
  xorg-xproto @7.0.20_0 (active)
  xorg-xtrans @1.2.6_0 (active)
  xrender @0.9.6_0 (active)
  xz @5.0.0_0
  xz @5.0.1_0 (active)
  zlib @1.2.5_0 (active)

But after a clean of bluefish, I get this on install:

mv -f .deps/charmap_la-charmap_gui.Tpo .deps/charmap_la-charmap_gui.Plo
/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -D_REENTRANT -DORBIT2=1 -I/opt/local/include/gucharmap-2 -I/opt/local/include/gconf/2 -I/opt/local/include/gtk-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14   -pipe -O2 -arch x86_64 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/libxml2 -I/opt/local/include/enchant    -module -avoid-version  -L/opt/local/lib -arch x86_64 -o charmap.la -rpath /opt/local/lib/bluefish charmap_la-charmap.lo charmap_la-charmap_gui.lo -L/opt/local/lib -lgucharmap -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -L/opt/local/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lXfixes -lpng14 -lcairo -lX11 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lintl   
grep: /opt/local/lib/libpng12.la: No such file or directory
sed: /opt/local/lib/libpng12.la: No such file or directory
libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
make[4]: *** [charmap.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_bluefish/work/bluefish-2.0.2" && /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for bluefish): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for bluefish is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_bluefish/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Thanks for your help so far.

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

If the problem persists, please run this script to find which of your installed ports is referencing libpng12: attachment:ticket:29831:search-libpng12.sh

comment:5 Changed 11 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

bluefish is now updated to version 2.2.4 using gtk3 and libpng16. Closing long outdated ticket as works-for-me (in the current environment).

Note: See TracTickets for help on using tickets.