Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93496 - libgnomeui "Couldn't recognize the image file format for file" build error.
Summary: libgnomeui "Couldn't recognize the image file format for file" build error.
Status: RESOLVED DUPLICATE of bug 61084
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 20:07 UTC by Sig Lange
Modified: 2009-03-16 07:24 UTC (History)
1 user (show)

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 Sig Lange 2005-05-21 20:07:24 UTC
gnome-base/libgnomeui-2.10.0 bombs with the summary build error:
make[3]: Entering directory
`/var/tmp/portage/libgnomeui-2.10.0/work/libgnomeui-2.10.0/libgnomeui'
Making all in pixmaps
make[4]: Entering directory
`/var/tmp/portage/libgnomeui-2.10.0/work/libgnomeui-2.10.0/libgnomeui/pixmaps'
rm -f gnome-stock-pixbufs.h
var=`echo "stock_attach.png stock_book_blue.png stock_book_green.png
stock_book_open.png stock_book_red.png stock_book_yellow.png stock_line_in.png
stock_mail.png stock_mail_compose.png stock_mail_forward.png
stock_mail_receive.png stock_mail_reply.png stock_mail_send.png
stock_menu_about.png stock_menu_blank.png stock_scores.png stock_mic.png
stock_multiple_file.png stock_not.png stock_table_borders.png
stock_table_fill.png stock_text_bulleted_list.png stock_text_indent.png
stock_text_numbered_list.png stock_text_unindent.png stock_timer.png
stock_timer_stopped.png stock_trash.png stock_trash_full.png stock_volume.png
stock_midi.png stock_authentication.png" | sed -e
's,stock_\([^\.]*\)\.png,stock_\1 ./stock_\1.png,g'` ; \
   /usr/bin/gdk-pixbuf-csource --raw --build-list $var > pixbufs-tmp && \
   cat ./copyright.txt pixbufs-tmp > gnome-stock-pixbufs.h
failed to load "./stock_attach.png": Couldn't recognize the image file format
for file './stock_attach.png'
make[4]: *** [gnome-stock-pixbufs.h] Error 1
make[4]: Leaving directory
`/var/tmp/portage/libgnomeui-2.10.0/work/libgnomeui-2.10.0/libgnomeui/pixmaps'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/libgnomeui-2.10.0/work/libgnomeui-2.10.0/libgnomeui'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/libgnomeui-2.10.0/work/libgnomeui-2.10.0/libgnomeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgnomeui-2.10.0/work/libgnomeui-2.10.0'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1.emerge libgnomeui
2.
3.

Actual Results:  
The details

Expected Results:  
portage actually install a package.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://mirrors.tds.net/gentoo
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib adns alsa apm arts avi berkdb bitmap-fonts cdr crypt cups
curl eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad
mikmod motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd
tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Johan Ymerson 2005-05-23 08:44:43 UTC
I have the same problem, but with the stable version, libgnomeui-2.8.1-r1.

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.3-gentoo-r1 i686)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
May 22 2005, 13:44:34)]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.19-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/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 acl alsa apache2 apm avi berkdb bitmap-fonts crypt cups curl emboss
encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imap
imlib ipv6 java jpeg junit ldap libg++ libwww mad maildir mikmod milter mmx
motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib
perl png python quicktime readline samba sasl sdl slang spell sse ssl svga tcltk
tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Sig Lange 2005-05-23 20:34:30 UTC
Well not exactly sure of the solution but I had to figure it out given my whole
gnome tree was broken. After dependancy tracking and a few ldd checks, I found a
couple culprits. Turns out there were a few problems. (This may not be the case
for anyone else but heres what to check)

Long story short I had to emerge -C librsvg and remerge gtk+. Details below.

Run this command, if it segfaults, keep reading...
# /usr/bin/gdk-pixbuf-query-loaders 

# ldd /usr/bin/gdk-pixbuf-query-loaders | grep "not found"
for all the libraries listed do this:

# equery b <filename>
remerge those packages found.

 I seemed to have hit some loop so my quick fix was a emerge -C librsvg and
remerge gtk+ and libgnomeui. Back to my emerge world. There will be more bugs
surely!

Comment 3 Johan Ymerson 2005-05-24 02:11:05 UTC
Ok, I fixed my machine the easy way, emerge -e world.
But it would be nice to know what the problem is anyway...
Comment 4 foser (RETIRED) gentoo-dev 2005-05-27 09:32:11 UTC
The problem is a discrepancy between libpng and the gdk-pixbuf module. This is a
dupe.

It's too uncommon and inreproducable for me to investigate, but if you guys
would, that would be helpful.

*** This bug has been marked as a duplicate of 61084 ***