Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42236 - librsvg-2.4.0-r1 fails to install
Summary: librsvg-2.4.0-r1 fails to install
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-20 03:35 UTC by Ted Baker
Modified: 2004-09-19 05:36 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 Ted Baker 2004-02-20 03:35:22 UTC
This is the tail of the emerge output

mkdir /var/tmp/portage/librsvg-2.4.0-r1/image/etc
mkdir /var/tmp/portage/librsvg-2.4.0-r1/image/etc/gtk-2.0
make[2]: *** [install-data-local] Error 139
make[2]: Leaving directory `/var/tmp/portage/librsvg-2.4.0-r1/work/librsvg-2.4.0/gdk-pixbuf-loader'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/librsvg-2.4.0-r1/work/librsvg-2.4.0/gdk-pixbuf-loader'
make: *** [install-recursive] Error 1
 
!!! ERROR: gnome-base/librsvg-2.4.0-r1 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed 

What is odd is that when this first happened (doing an emerge -u world), it core dumped into one of the directories. I could repeat this until I ran etc-update and rebooted the box. The core dump disappeared but the error remains.

I'm installing on a portable - I had no problem on my desktop PC. There is a message in the forum from someone having the same problem also on a portable (http://forums.gentoo.org/viewtopic.php?t=137746).

I'm stuffed upgrading to Gnome 2.4.2 until this is fixed or a workaround found.


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




Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.2.5-r4,2.3.2-r9,
2.4.19-gentoo-r10)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine)
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bonobo crypt cups encode esd foomaticdb gdbm gif gpm
gtk gtk2 gtkhtml guile imlib irda java jpeg libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png python qt
quicktime readline sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml2
xmms xv zlib"
Comment 1 Kris Kelley 2004-02-20 11:41:59 UTC
I am the other person having this trouble.  I traced it to an executable provided by the x11-libs/gtk+ package, /usr/bin/gdk-pixbuf-query-loaders.  This executable is seg-faulting every time I try to run it.  I'm going to try recompiling the gtk+ package.  If that doesn't help, I'll switch my optimization from O3 to O2 to see if that makes a difference.  I'll let you know my results.

My hardware is an IBm Thinkpad T21, Pentium III based.
Comment 2 Kris Kelley 2004-02-20 13:15:06 UTC
gdk-pixbuf-query-loaders still fails even after two recompiles of gtk+, the first with -03 optimizations, the second with -02.  There did not appear to be any errors during compilation.
Comment 3 foser (RETIRED) gentoo-dev 2004-04-25 13:50:49 UTC
mm yeah.. it might be lowerlevel libs that make it crash.. recompile your sys with lower cflags is the best advice i can give. or try to debug the problem (backtrace  & fix etc.)
Comment 4 Richard D. Jackson 2004-05-28 19:41:50 UTC
I'm having the same problem but on a desktop. I was doing a upgrade and ran into the problem of when gnome started it could not load any graphics (png's). So started looking and found that others had to re-emerge librsvg to fix things I did this and got the same error you show below. 

I dug more into the segfault issue of /usr/bin/gdk-pixbuf-query-loaders. 
1) it does compile clean
2) This is the big one. It only segfaults when the svg pixmap loader lib is installed. 

What I did to get gnome working but the fix will not allow you to use the svg theme engine or svg icons.

1) either unmerge librsvg or go to /usr/lib/gtk-2.0/2.4.0/loaders and delete the svg libs. 
2) emerge librsvg ( NOTE: you will still get an error at the end of the install because the install process tries to run gdk-pixbuf-query-loaders thats ok as the install is complete at that point. 
3) Now go back to step one and delete the files don't unmerge them.
4) now run gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

Now gnome will load and run as expected but svg icons and such will not work :( 
but at least gnome does not crash and burn any more. 

My guess is that there is something wrong with pixbuff svg lib.

Later
Comment 5 Richard D. Jackson 2004-05-28 19:43:01 UTC
I'm having the same problem but on a desktop. I was doing a upgrade and ran into the problem of when gnome started it could not load any graphics (png's). So started looking and found that others had to re-emerge librsvg to fix things I did this and got the same error you show below. 

I dug more into the segfault issue of /usr/bin/gdk-pixbuf-query-loaders. 
1) it does compile clean
2) This is the big one. It only segfaults when the svg pixmap loader lib is installed. 

What I did to get gnome working but the fix will not allow you to use the svg theme engine or svg icons.

1) either unmerge librsvg or go to /usr/lib/gtk-2.0/2.4.0/loaders and delete the svg libs. 
2) emerge librsvg ( NOTE: you will still get an error at the end of the install because the install process tries to run gdk-pixbuf-query-loaders thats ok as the install is complete at that point. 
3) Now go back to step one and delete the files don't unmerge them.
4) now run gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

Now gnome will load and run as expected but svg icons and such will not work :( 
but at least gnome does not crash and burn any more. 

My guess is that there is something wrong with pixbuff svg lib.

Later
Comment 6 foser (RETIRED) gentoo-dev 2004-05-29 09:07:20 UTC
well, i guess we need backtraces with debugging info here. This also happens with the latest librsvg release in portage (2.6.5) ?
Comment 7 foser (RETIRED) gentoo-dev 2004-08-19 16:20:00 UTC
no reply
Comment 8 Kris Kelley 2004-09-16 09:56:04 UTC
foser, please excuse the incredibly late reply.  In my case, updating librsvg solved the problem; 2.6.5 compiles cleanly on my ThinkPad.
Comment 9 Ted Baker 2004-09-19 05:27:52 UTC
2.6.5 emerges but gdk-pixbuf-query-loaders still bombs

Let me know if you want me to test anything (ie back traces). You'll need to lead me by the hand to set backtraces and debugging info up - I'm a user not a kernel hacker!

Philip
Comment 10 foser (RETIRED) gentoo-dev 2004-09-19 05:36:55 UTC
build gtk+ with debugging support.. easiest is to edit the ebuild & add 'inherit debug' at top -> then build with USE=debug .

run 'gdb gdk-query-pixbuf-loaders' -> 'run' -> when it segfaults -> 'bt'

First try btw using the latest gtk+ (>=2.4.9) & librsvg (2.8) in portage.