Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 16807

Summary: emerge gconf fails: "xml-dir.o: file not recognized: File format not recognized"
Product: Gentoo Linux Reporter: Stefan Sarzio <salze>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Sarzio 2003-03-04 04:49:25 UTC
I had to re-emerge gconf while following the instructions at 
http://cvs.gentoo.org/~satai/sgmlfix.html - I could not emerge docbook-sgml-
utils.

Reproducible: Always
Steps to Reproduce:
1. Follow instructions at http://cvs.gentoo.org/~satai/sgmlfix.html
2. emerge gconf

Actual Results:  
/bin/sh ../libtool --mode=link gcc  -march=pentium3 -O3 -pipe -fomit-frame-
pointer -Wall  -o libgconfbackend-xml.la -rpath /usr/lib/GConf/2 -avoid-
version -module xml-cache.lo xml-dir.lo xml-entry.lo xml-backend.lo -Wl,--
export-dynamic -pthread -lORBit-2 -lgmodule-2.0 -ldl -llinc -lgobject-2.0 -
lgthread-2.0 -lglib-2.0 -lxml2 -lz -lm
xml-dir.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [xml-test] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -fr .libs/libgconfbackend-xml.la .libs/libgconfbackend-
xml.* .libs/libgconfbackend-xml.*
gcc -shared  xml-cache.lo xml-dir.lo xml-entry.lo xml-backend.lo  -
L/usr/lib /usr/lib/libORBit-2.so /usr/lib/libgmodule-2.0.so -
ldl /usr/lib/liblinc.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-
2.0.so /usr/lib/libglib-2.0.so /usr/lib/libxml2.so -lz -lm  -Wl,--export-
dynamic -Wl,-soname -Wl,libgconfbackend-xml.so -o .libs/libgconfbackend-xml.so
ar cru .libs/libgconfbackend-xml.a  xml-cache.o xml-dir.o xml-entry.o xml-
backend.o
ranlib .libs/libgconfbackend-xml.a
creating libgconfbackend-xml.la
(cd .libs && rm -f libgconfbackend-xml.la && ln -s ../libgconfbackend-xml.la 
libgconfbackend-xml.la)
mv -f .libs/markup-tree.lo markup-tree.lo
make[2]: Leaving directory `/tmp/var_tmp/portage/gconf-2.2.0/work/GConf-
2.2.0/backends'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/var_tmp/portage/gconf-2.2.0/work/GConf-2.2.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gconf-2.2.0 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure

Expected Results:  
emerge without errors ;-)

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.20-openmosix-r2 i686 Intel(R) Pentium(R) III Mobile CPU      
1000MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow libg++ mikmod berkdb slang tetex guile esd ldap mmx sse apm 
pcmcia pnp nls readline trusted cdr cups snmp slp mozilla X motif dga opengl 
xv -gpm -kde -qt -qtmt -arts gtk -gtk2 gnome gb bonobo libwww libgda gtkhtml 
tcltk ncurses sdl svga imlib lcms gif wmf jpeg png tiff gd avi mpeg quicktime 
alsa oss dvd xmms oggvorbis ggz pam ssl crypt imap maildir mbox tcpd spell 
truetype xml xml2 pdflib java jikes python perl gdbm -doc odbc mysql innodb 
zlib galeon openoffice encode samba apache php mod_php mod_ssl plotutils 
ethereal usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j6"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox"
Comment 1 foser (RETIRED) gentoo-dev 2003-03-04 06:18:06 UTC
looks like a corruption somewhere, if you emerge it with MAKEOPTS="-j1" is set (in make.globals or as environment var) does that make a difference ?
Comment 2 Stefan Sarzio 2003-03-04 06:39:10 UTC
I changed it in make.conf (not .globals) and got no error. Thank you!
Comment 3 foser (RETIRED) gentoo-dev 2003-03-04 14:13:06 UTC
added MAKEOPTS to the ebuild, should fix this.