Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25211 (libxml2-2.5.8_Error) - evrey time im gtraing to install gnome i get error from libxml2-2.5.8
Summary: evrey time im gtraing to install gnome i get error from libxml2-2.5.8
Status: RESOLVED WORKSFORME
Alias: libxml2-2.5.8_Error
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-24 16:27 UTC by Mikael Andersson
Modified: 2003-08-31 08:53 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 Mikael Andersson 2003-07-24 16:27:38 UTC
evrey time im traing to install gnome or xfce4 i get dis  error

gcc: unrecognized option `-03'
mv -f xpointer.o .libs/xpointer.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -march=athl
on -03 -pipe -fomit-frame-pointer -Wall -c xpointer.c >/dev/null 2>&1
mv -f .libs/xpointer.lo xpointer.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I.
/include  -D_REENTRANT      -march=athlon -03 -pipe -fomit-frame-pointer -Wall -
c xinclude.c
rm -f .libs/xinclude.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -march=athl
on -03 -pipe -fomit-frame-pointer -Wall -c xinclude.c  -fPIC -DPIC
gcc: unrecognized option `-03'
trionan.c:514: warning: `trio_isfinite' defined but not used
trionan.c:742: warning: `trio_fpclassify' defined but not used
mv -f xpath.o .libs/xpath.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -march=athl
on -03 -pipe -fomit-frame-pointer -Wall -c xpath.c >/dev/null 2>&1
mv -f xinclude.o .libs/xinclude.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -march=athl
on -03 -pipe -fomit-frame-pointer -Wall -c xinclude.c >/dev/null 2>&1
mv -f .libs/xinclude.lo xinclude.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I.
/include  -D_REENTRANT      -march=athlon -03 -pipe -fomit-frame-pointer -Wall -
c nanohttp.c
rm -f .libs/nanohttp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -march=athl
on -03 -pipe -fomit-frame-pointer -Wall -c nanohttp.c  -fPIC -DPIC
gcc: unrecognized option `-03'
nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:910: `len' undeclared (first use in this function)
nanohttp.c:910: (Each undeclared identifier is reported only once
nanohttp.c:910: for each function it appears in.)
make[2]: *** [nanohttp.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/xpath.lo xpath.lo
make[2]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-libs/libxml2-2.5.8 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge gnome
2. i get error 
3.
Comment 1 Pablos 2003-08-12 16:22:35 UTC
I am having the exact same problem. - pablos@kadrevis.com

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
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 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png qt quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga java guile sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk kde motif opengl mozilla ldap X"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -03 -pipe"
CXXFLAGS="-mcpu=i686 -03 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 Pablos 2003-08-13 15:32:23 UTC
Some success - I just shut off this line in /etc/make.conf:

    CFLAGS="-mcpu=i686 -03 -pipe"

and libxml2-2.5.8 built just fine after that.  I wasn't able to get it to go any other way.
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-08-18 21:21:58 UTC
wrong category
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-08-18 22:09:30 UTC
here's at least part of your problem - gcc: unrecognized option `-03'

that should be -O3, (not -zero3).
Comment 5 Owen Gunden 2003-08-19 22:13:08 UTC
VERY strange.. I too had this problem, but I definitely had -O3 instead of -03 in /etc/make.conf.. until I synced and did an update world (and ran into this problem).  Then I found to my great surprise that it was in fact a zero in /etc/make.conf.  Could something possibly have changed it??!   Wouldn't it have broken all over the place on previous ebuilds if had been like that for long?

At any rate, changing it back to -03 instead of -O3 in /etc/make.conf fixed it for me.  
Comment 6 Matt Keadle 2003-08-20 08:10:24 UTC
A coworker just ran into this same exact issue. This is a fresh install that I helped him through just last night (08/19/2003). I walked him through make.conf after booting the machine on its own and it was for sure using -03 (zero-three). After an rsync towards the end of the night he kicked off 'emerge gnome' to have it ready by morning. It failed at libxml2, I checked /etc/make.conf, and sure enough it's been switched to -O3 (capital_Oh-three).

Isn't it disturbing that something is accessing /etc/make.conf directly and circumventing the usual etc-update ave.? If the intention is to subtly access make.conf and circumvent the usual triggers, then please check your spelling.

I just got laughed at for previously talking about how reliable Gentoo is.
Comment 7 Matt Keadle 2003-08-20 08:14:15 UTC
Ack. Sorry. Got the 0(zero) and O(capital_Oh) in the above report backwards. Trying so hard not to get it backwards and... oh well.

Again, I only got it backwards in the the post, I still experienced the issue on that machine.
Comment 8 Mike Gardiner (RETIRED) gentoo-dev 2003-08-20 08:46:54 UTC
okay, i just emerge libxml2-2.5.8 with -O3 set in my CFLAGS and it definitely emerged fine, nothing was changed to -03. this is indeed a worry, but we really need to pinpoint exactly _where_ in the process this flag is getting changed. if anyone has logs handy (matt?) im quite willing to through them, or worst case, rebuild my second box from scratch in the hope of stumbling across the same problem.

any comments? thanks.

Comment 9 foser (RETIRED) gentoo-dev 2003-08-22 06:20:29 UTC
On a normal sandboxed system you shouldnt look at libxml2 for the make.conf change. Look at portage, what versions are these users running ? libxml2 just shows the problem by erroring out at a certain point (see how earlier gcc commands just ignore the faulty switch).
Comment 10 foser (RETIRED) gentoo-dev 2003-08-31 08:53:07 UTC
well i dunno why it became an 0 instead of O , but i have no clue what to do with this or why this would be libxml's fault. It just seems libxml is one of the few builds that trips over it.

closing since i have encountered no further reports.