Forever trying to update my laptop to little avail. Now gnome-libs-1.4.2 fails to build with segfault. I did an emerge sync this morning anf tried again. Same results. See the attachment. Mark Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Celeron (Coppermine) distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs distcc" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ http://www.ibiblio.org/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 oss cups encode gif jpeg gnome mad nls xmms xv directfb alsa berkdb slang readline arts tetex aalib nas svga ggi tcltk java mysql postgres X sdl tcpd pam ssl perl esd oggvorbis gtk kde motif opengl gphoto2 ldap cdr scanner bonobo dga dvdr fbcon innodb maildir mbox pda samba sasl -apm -avi -crypt -foomaticdb -libg++ -mikmod -mmx -mpeg -ncurses -pdflib -png -quicktime -spell -truetype -xml2 -zlib -gdbm -guile -ruby -gpm -libwww -python -imlib -qt"
Created attachment 17876 [details] emerge gnome-libs
i can't see anything particularly wrong except that maybe something with sys-libs/db. try maybe emerge db-1 again? otherwise, the build seems be fine. the segfault seems to be when it tries to run gnome-gen-mimedb, which it just compiled during the merge. emerge \=sys-libs/db-1.8.5-r1
I re-emerged db1. No joy, it still fails the same way. :-( Mark
if you run gnome-gen-mimedb yourself does it segfault ? if so, can you backtrace it ?
Should that have done something? When I run gnome-gen-mimedb I just get my command line back: tess root # gnome-gen-mimedb tess root # Certainly does not appear to crap out. Mark
a long shot, i know, but does building without distcc/ccache work ?
You need to run the gnome-gen-mimedb build by gnome libs (so in /var/tmp/portage). I'm assuming you used a version already on your system, cause it is supplied by gnome-libs itsself.
yen root # cd /var/tmp/portage/gnome-libs-1.4.2/ yen gnome-libs-1.4.2 # ./work/gnome-libs-1.4.2/libgnome/gnome-gen-mimedb Segmentation fault yen gnome-libs-1.4.2 # I'll run it under strace and attach the output. Mark
Created attachment 19436 [details] strace -f ./work/gnome-libs-1.4.2/libgnome/gnome-gen-mimedb
can you attach a backtrace with debugging info ? i can't make much of the trace.
Sure! But I'm afraid you will have to provide me some direction on doing that ... strace is about the limit of my skills. Mark
add 'inherit debug' to the top of the ebuild, rebuild and when it breaks run 'gdb <appname>' .. then type run to start it, after it segfaults type 'bt' .
All I get after (gdb) run is error while loading shared libraries: libgnome.so.32: cannot open shared object file: No such file or directory. If I try to "locate libgnome.so.32" I get nothing back. Mark
Problem solved. I re-emerged all the packages listed as RDEPENDS and DEPENDS int the gnome-libs-1.4.2 ebuild. Then I emerged gnome-libs-1.4.2 successfully. qed