Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49974 - EBuild fails because it is unable to load .png files. ( unknown image file format )
Summary: EBuild fails because it is unable to load .png files. ( unknown image file fo...
Status: RESOLVED INVALID
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: 2004-05-04 08:12 UTC by Bas Grolleman
Modified: 2004-05-05 04:19 UTC (History)
0 users

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


Attachments
I did an emerge >> ebuild.log (ebuild.log,29.82 KB, text/plain)
2004-05-04 08:21 UTC, Bas Grolleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bas Grolleman 2004-05-04 08:12:52 UTC
When trying to emerge gnucash or gimp-2.0.0 , my E-Build strands on the follow error message. 

(process:11436): GdkPixbuf-WARNING **: Can not open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
failed to load "./stock-question-64.png": Couldn't recognize the image file format for file './stock-question-64.png'

From what I can tell there is a problem with loading png files, so I think I need to install a libary or something, but shouldn't dependency checking do this?
Comment 1 Bas Grolleman 2004-05-04 08:21:03 UTC
Created attachment 30711 [details]
I did an emerge >> ebuild.log

This is the result of 
ACCEPT_KEYWORDS="~x86" emerge gimp >> ebuild.log

I get the same type of errors when doing
emerge gnucash

It might have something to do with the fact that I didn't need gtk/gnome
support until I was well up and running. 

This came up on stderr

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `librsvg-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librsvg-2.0' found
configure: WARNING: *** SVG import plug-in will not be built (librsvg not
found) ***

(process:26479): GdkPixbuf-WARNING **: Can not open pixbuf loader module file
'/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
failed to load "./stock-question-64.png": Couldn't recognize the image file
format for file './stock-question-64.png'
make[5]: *** [gimp-core-pixbufs.h] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.0.0 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! (no error message)
Comment 2 foser (RETIRED) gentoo-dev 2004-05-04 11:55:55 UTC
if you have gtk+-2 you should have the needed file, plain & simple.

What does 'ls /etc/gtk-2.0' give ?
Comment 3 Bas Grolleman 2004-05-05 01:11:51 UTC
ls: /etc/gtk-2.0: No such file or directory

This prob. means I need to install gtk-2.0

A. What do I need to do to get that installed?
( I Tried emerge search gtk and emerge search "gtk.*2" but couldn't realy find anything that looked like the gtk-2.0 libaries )

B. Shouldn't GnuCash and Gimp2 check these dependecies, or should I have read the docs more carefull?

Comment 4 foser (RETIRED) gentoo-dev 2004-05-05 02:27:08 UTC
yes you need to install gtk+ (emerge gtk+ -vp)

and yes both gnumeric & gimp deps are fine, so I don't see how they aren't already installed for you ?
Comment 5 Bas Grolleman 2004-05-05 03:46:53 UTC
I updated my gtk+ package, I had 2.2.4-r1 installed, now I have 2.4.0-r1 and it works fine. I just ran Gimp2 and I'm busy emerging gnucash. 

So I'm very happy, a lot of thanks for the help. 

I'm not very familiar with how ebuilds are made, but do gnucash and gimp2 check for the gtk+ version? Since that I only needed to emerge the latest gtk+, I'm under the impression that if Gnucash or Gimp2 packages would have said, atleast GTK+ 2.4.0-r1, I wouldn't have had these problems.
Comment 6 foser (RETIRED) gentoo-dev 2004-05-05 04:19:51 UTC
no.. deps are fine. I can't explain what happens here with default/normal portage behaviour.

Closing invalid (not a bug).