Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95710 - emerge gtk+-2.6.7 fails loading stock_about_16.png
Summary: emerge gtk+-2.6.7 fails loading stock_about_16.png
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-10 11:17 UTC by MickKi
Modified: 2005-06-29 12:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2005-06-10 11:17:03 UTC
Emerge of x11-libs/gtk+-2.6.7 fails with the error reported below.

Reproducible: Always
Steps to Reproduce:
1.emerge -uDv x11-libs/gtk+-2.6.7
2.
3.

Actual Results:  
   ./stock_dnd_multiple_32.png stock_bottom_16    ./stock_bottom_16.png 
stock_bottom_24            ./stock_bottom_24.png stock_cdrom_16            ./
stock_cdrom_16.png stock_cdrom_24             ./stock_cdrom_24.png 
stock_clear_24             ./stock_clear_24.png stock_close_20             ./
stock_close_20.png stock_close_24             ./stock_close_24.png 
stock_colorselector_24     ./stock_colorselector_24.png stock_color_picker_25    
  ./stock_color_picker_25.png > gtkstockpixbufs.h ||      \ 
           ( rm -f gtkstockpixbufs.h && false ) 
failed to load "./stock_about_16.png": Couldn't recognize the image file format 
for file './stock_about_16.png' 
make[4]: *** [gtkstockpixbufs.h] Error 1 
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gtk/
stock-icons' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gtk' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gtk' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7' 
make: *** [all] Error 2 

!!! ERROR: x11-libs/gtk+-2.6.7 failed. 
!!! Function src_compile, Line 85, Exitcode 2


# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.
20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 17:44:00)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.2
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/
share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict 
userlocales userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.eliteitminds.com ftp://194.117.143.70/mirrors/
gentoo ftp://194.117.143.69/mirrors/gentoo http://194.117.143.71 http://
pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://
pandemonium.tiscali.de/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss 
encode fam flac foomaticdb fortran gd gdbm gif gpm gtk2 imagemagick imlib ipv6 
jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg 
oggvorbis ooo-kde opengl oss pam pdflib perl png python qt quicktime readline 
scanner sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb 
vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 foser (RETIRED) gentoo-dev 2005-06-11 00:15:03 UTC

*** This bug has been marked as a duplicate of 77832 ***
Comment 2 MickKi 2005-06-12 02:35:21 UTC
Bug 77832 suggests that re-emerging libpng may fix it.  In my case it did not.

The second suggestion is to emerge gdk-pixbuf.  However, with my USE flags (-
gnome -gtk) I get:
=======================
# emerge -upDv gdk-pixbuf

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/esound-0.2.34  +alsa +ipv6 +tcpd 310 kB 
[ebuild  N    ] gnome-base/orbit-0.5.17  1,040 kB 
[ebuild  N    ] gnome-base/gnome-libs-1.4.2  -doc +kde +nls 2,807 kB 
[ebuild  N    ] media-libs/gdk-pixbuf-0.22.0-r3  -doc -mmx 388 kB
========================

Is there a fix for those of us who run kde & qt, instead of gnome & gtk - i.e. 
to be able to emerge gtk+ as the case was pre-2.6.7, without pulling in a load 
of gnome dependencies?
-- 
Regards,
Mick
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-15 13:45:51 UTC
Please attach the complete output from the emerge process.
Comment 4 MickKi 2005-06-17 13:18:49 UTC
Thanks Leonardo,

Here is the whole emerge output as requested:
http://freespace.virgin.net/michael.kintzios/gentoo/2848-gtk+-2.6.7.log

-- 
Regards,
Mick
Comment 5 MickKi 2005-06-29 12:08:06 UTC
I cannot understand this!  I tried to emerge once more and it now installs 
without any problems! :@

It complete overcomes the previous problem with the stock icons.  It just shows 
some libtools warnings later on during the emerge, which may have some meaning 
for the maintainers; e.g:
========================
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../gdk -I..
/../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -
DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -
pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/
pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/
include/atk-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXTHREADS -
D_REENTRANT -DXUSE_MTSAFE_API -O2 -march=pentium3 -fomit-frame-pointer -pipe -
Wall -MT imxim.lo -MD -MP -MF .deps/imxim.Tpo -c imxim.c  -fPIC -DPIC -o .libs/
imxim.o
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium3 -
fomit-frame-pointer -pipe -Wall   -o im-xim.la -rpath /usr/lib/gtk-2.0/2.4.0/
immodules -rpath /usr/lib/gtk-2.0/2.4.0/immodules -avoid-version -module  
gtkimcontextxim.lo imxim.lo ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/
libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la -lX11 -lpangoxft-1.0 -lpangox-1.0 
-lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libglib-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libpangoxft-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libpangox-1.0.la' seems to be moved                                         
                  libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.
3.5-20050130/../../..//libpango-1.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libgmodule-2.0.la' seems to be moved                                        
                  libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.
3.5-20050130/../../..//libgobject-2.0.la' seems to be moved                      
                                    libtool: link: warning: `/usr/lib/gcc-lib/
i686-pc-linux-gnu/3.3.5-20050130/../../..//libglib-2.0.la' seems to be moved     
                                                        libtool: link: warning: 
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../..//libfreetype.la' 
seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libpangoxft-1.0.la' seems to be moved                                       
                  libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.
3.5-20050130/../../..//libpangox-1.0.la' seems to be moved                       
                                    libtool: link: warning: `/usr/lib/gcc-lib/
i686-pc-linux-gnu/3.3.5-20050130/../../..//libpango-1.0.la' seems to be moved    
                                                        libtool: link: warning: 
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../..//libatk-1.0.la' 
seems to be moved                                                              
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libgobject-2.0.la' seems to be moved                                        
                  libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.
3.5-20050130/../../..//libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../..
/..//libglib-2.0.la' seems to be moved
i686-pc-linux-gnu-gcc -shared  .libs/gtkimcontextxim.o .libs/imxim.o  -Wl,--
rpath -Wl,/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-pixbuf/.libs -Wl,--
rpath -Wl,/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk/.libs -Wl,--rpath -Wl,
/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gtk/.libs -L/var/tmp/portage/gtk+-2.
6.7/work/gtk+-2.6.7/gdk/.libs -L/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-
pixbuf/.libs -L/usr/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../
../../ ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../../gdk/.libs/libgdk-x11-
2.0.so ../../gtk/.libs/libgtk-x11-2.0.so -lX11 /usr/lib/libpangoxft-1.0.so /usr/
lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libatk-1.0.so /usr/lib/
libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm  -
march=pentium3 -Wl,-soname -Wl,im-xim.so -o .libs/im-xim.so
creating im-xim.la
========================
Sorry to have bothered you - not sure what was causing the problem.
-- 
Regards,
Mick