Installing port x11-toolkits/gtk20 fails mysteriously

Olaf Seibert O.Seibert at cs.ru.nl
Mon Jan 10 14:41:48 UTC 2011


I just updated my ports tree (portsnap fetch; portstap update) a few
hours ago, in order to update webkit. I'm using portmaster to do that.

One of the things it wants to update is gtk-2.20.1_2 to gtk-2.22.1_1.
It builds ok, but then when installing, it ends like this:

test -z "/usr/local/lib" || /usr/local/bin/gmkdir -p "/usr/local/lib"
 /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool   --mode=install /usr/
bin/install -c -o root -g wheel   libgtk-x11-2.0.la '/usr/local/lib'
gnome-libtool: install: warning: relinking `libgtk-x11-2.0.la'
gnome-libtool: install: (cd /usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk; 
/bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool  --tag CC --mode=relink cc -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pipe -fno-strict-aliasing -Wall -versio
n-info 2200:1:2200 -export-dynamic -export-symbols-regex "^[^_].*" -rpath /usr/local/lib -L/usr/local/lib -o libgtk-x11-2.0.la gtkquery.lo gtksearchengine.lo gtksearchenginesimple.lo fnmatch.lo gtkaboutdialog.lo gtkaccelgroup.lo gtkaccellabel.lo gtkaccelmap.lo gtkaccessible.lo gtkaction.lo gtkactiongroup.lo gtkactivatable.lo ... ../gdk/libgdk-x11-2.0.la -pthread -L/usr/local/lib -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpng -lz -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 ) 
grep: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory
sed: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory
gnome-libtool: relink: `/usr/local/lib/libgdk_pixbuf-2.0.la' is not a valid libtool archive 
gnome-libtool: install: error: relink `libgtk-x11-2.0.la' with the above command before installing it
gmake[4]: *** [install-libLTLIBRARIES] Error 1
gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk'
gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.

===>>> A backup package for gtk-2.20.1_2 should
       be located in /usr/ports/packages/portmaster-backup

===>>> Installation of gtk-2.22.1_1 (x11-toolkits/gtk20) failed
===>>> Aborting update


Indeed, the file /usr/local/lib/libgdk_pixbuf-2.0.la does not exist.

Any ideas?

I read this list via the Gmane list->news->web gateway.
-Olaf.
-- 


More information about the freebsd-questions mailing list