Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79542 - dev-libs/libxml2-2.6.17 fails to build
Summary: dev-libs/libxml2-2.6.17 fails to build
Status: RESOLVED FIXED
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: 2005-01-25 20:25 UTC by Omer Hasan
Modified: 2005-01-25 21:48 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 Omer Hasan 2005-01-25 20:25:14 UTC
When I try to upgrade libxml2 to its latest version (dev-libs/libxml2-2.6.17) in portage it fails to build.

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

Actual Results:  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include
-D_REENTRANT -O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer -pedantic -W
-Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs
-Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wredundant-decls -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c  -fPIC
-DPIC -o .libs/parser.o
In file included from libxml.h:57,
                 from parser.c:34:
elfgcchack.h:2487: warning: type defaults to `int' in declaration of
`xmlNewAutomata__internal_alias'
elfgcchack.h:2488: warning: type defaults to `int' in declaration of
`xmlNewAutomata'
elfgcchack.h:2488: error: `xmlNewAutomata' redeclared as different kind of symbol
include/libxml/xmlautomata.h:44: error: previous declaration of `xmlNewAutomata'
make[2]: *** [parser.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include
-D_REENTRANT -O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer -pedantic -W
-Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs
-Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-Wredundant-decls -MT parserInternals.lo -MD -MP -MF .deps/parserInternals.Tpo
-c parserInternals.c -o parserInternals.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/libxml2-2.6.17/work/libxml2-2.6.17'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libxml2-2.6.17/work/libxml2-2.6.17'
make: *** [all] Error 2

!!! ERROR: dev-libs/libxml2-2.6.17 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Emerge correctly.

Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-nitro2 i686)
=================================================================
System uname: 2.6.10-nitro2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 12 2005, 00:24:03)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy cups distlocks fixpackages foomaticdb moo
nls ppds sandbox sfperms usb"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.ccccom.com
http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1,-z,now"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acpi alsa apache2 arts artworkextra audiofile avi
berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups divx4linux dvd dvdr
edsencode esd f77 fam flac font-server foomaticdb fortran freetype gd
gd-externalgdbm gif gimp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal
howl imagemagick imlib ipv6 java joystick jpeg junit kde ldap libclamav libg++
libwww mad mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses network nls nptl
nptlonlynvidia oav oggvorbis opengl oss pam pda pdflib perl php pic plotutils
png ppdspython qt quicktime readline real samba scanner sdl slang snmp spell sse
sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts
usb xine xml xml2 xmms xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2005-01-25 21:35:29 UTC
What happens with MAKEOPTS="-j1"? I don't see this on x86/ppc. 

Also, you're on amd64 and your keywords are x86, and you're installing a ~x86 package. Have you been mixing keywords?
Comment 2 Omer Hasan 2005-01-25 21:48:56 UTC
No I'm using a 32bit environment so my keywords are correct, x86. Changing my MAKEOPTS="-j1" seems to have worked now. I guess I forgot to change it when I was using a distcc environment and now i'm longer in such a environment. 

libxml2 now compiles fine. so I guess this bug is closed.