Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105268 - dev-php/php-4.4.0 fails to compile: "conflicting types for 'XML_FEATURE_UNICODE'"
Summary: dev-php/php-4.4.0 fails to compile: "conflicting types for 'XML_FEATURE_UNICO...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
: 105406 105645 105704 105722 105758 105913 106395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-08 09:03 UTC by Jabari R. Roberts
Modified: 2005-10-08 22:16 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,122.78 KB, text/plain)
2005-09-09 07:01 UTC, Krzysztof Pawlik (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jabari R. Roberts 2005-09-08 09:03:31 UTC
I emerged a new version of MySQL (to 4.1.14 to be exact) successfully, and did a
revdep-rebuild since it was an upgrade from 4.0.25-r2, I believe (it was 4.0.xx
in general).  dev-php/php-4.4.0 (which was already installed successfully) came
up as one of the candidates to be rebuilt.  When it did though, this error came
up to halt the compile:

gcc  -Iext/readline/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/
-DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/pspell
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend    -march=athlon-xp
-mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-fno-ident  -c /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c
-o ext/readline/readline.o  && echo > ext/readline/readline.lo
gcc  -Isapi/cli/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/sapi/cli/
-DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/pspell
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend    -march=athlon-xp
-mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-fno-ident  -c /var/tmp/portage/php-4.4.0/work/php-4.4.0/sapi/cli/php_cli.c -o
sapi/cli/php_cli.o  && echo > sapi/cli/php_cli.lo
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c: In function
`zif_readline_info':
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:157: warning:
passing arg 4 of `add_assoc_string_ex' discards qualifiers from pointer target type
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:162: warning:
passing arg 4 of `add_assoc_string_ex' discards qualifiers from pointer target type
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:163: warning:
passing arg 4 of `add_assoc_string_ex' discards qualifiers from pointer target type
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:199: warning:
initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:211: warning:
initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:213: warning:
assignment discards qualifiers from pointer target type
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c: In function
`_readline_completion_cb':
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:397: warning:
assignment makes pointer from integer without a cast
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c: In function
`zif_readline_completion_function':
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/readline/readline.c:430: warning:
assignment from incompatible pointer type
gcc  -Isapi/cli/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/sapi/cli/
-DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/pspell
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend    -march=athlon-xp
-mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-fno-ident  -c /var/tmp/portage/php-4.4.0/work/php-4.4.0/sapi/cli/getopt.c -o
sapi/cli/getopt.o  && echo > sapi/cli/getopt.lo
gcc  -Imain/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main/ -DPHP_ATOM_INC
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/pspell
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend    -march=athlon-xp
-mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-fno-ident  -c main/internal_functions_cli.c -o main/internal_functions_cli.o 
&& echo > main/internal_functions_cli.lo
/bin/sh /var/tmp/portage/php-4.4.0/work/php-4.4.0/libtool --silent
--preserve-dup-deps --mode=compile gcc -DJNI_12 -D_REENTRANT
'-DJAVALIB="/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/libjava.so"' 
-I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux -Iext/java/
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/java/ -DPHP_ATOM_INC
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/pspell
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM
-I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend    -march=athlon-xp
-mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-fno-ident  -prefer-non-pic -c
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/java/java.c -o ext/java/java.lo 
In file included from
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/wddx/php_wddx.h:26,
                 from main/internal_functions_cli.c:73:
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat/expat.h:894: error:
conflicting types for 'XML_FEATURE_UNICODE'
/usr/include/libxml2/libxml/parser.h:1196: error: previous definition of
'XML_FEATURE_UNICODE' was here
make: *** [main/internal_functions_cli.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/php-4.4.0 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

Disabling the -mysql flag had no effect, BTW.  Tried this outside of
revdep-rebuild and fails, also.  (the other packages successfully compiled,
however).

Versions of programs involved:

[ebuild   R   ] dev-php/php-4.4.0  +X +berkdb +crypt +curl -debug -doc -fdftk
-firebird +flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap
-informix +ipv6 +java +jpeg +kerberos -ldap -mcal +memlimit* -mssql +mysql
+ncurses +nls -oci8 -odbc +pam +png -postgres +readline +snmp* +spell +ssl +tiff
+truetype +xml2 -yaz 0 kB

[ebuild   R   ] dev-libs/libxml2-2.6.21  -debug -doc +ipv6 +python +readline
-static 0 kB

[ebuild   R   ] dev-db/mysql-4.1.14  +berkdb +big-tables -cluster -debug -doc
+extraengine +geometry -minimal +perl +readline (-selinux) +ssl -static +tcpd
+utf8 0 kB

(Taking out the memlimit and snmp flags that were added to php had no effect. 
This is an almost-fresh 2005.1 install.)

Reproducible: Always
Steps to Reproduce:
1. emerge dev-php/php
2. 
3.

Actual Results:  
compile errors out with a conflicting types error between the packaged expat.h
and libxml2's parser.h

Expected Results:  
compiled successfully

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer
-fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -momit-leaf-frame-pointer
-fomit-frame-pointer -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.100/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib aotuv apm arts
artswrappersuid audiofile avantgo avi bash-completion berkdb bidi big-tables
bitmap-fonts bl browserplugin bzip2 cairo canna cdda cddb cdio cdparanoia cdr
cdrom chroot cjk crypt cscope css cups curl dga directfb divx4linux djbfft dpms
dts dv dvd dvdr dvdread dynagraph ecc edl eds elf emboss encode escreen etwin
exif extraengine fam fame fbcon ffmpeg flac flash fltk fontconfig foomaticdb
fortran fpx gd gdbm geometry ggi gif gimp gimpprint glitz glut gnokii gnutls
gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal howl idea ieee1394 imagemagick
imlib immqt-bc insecure-savers ipv6 java javascript jbig joystick jpeg jpeg2k
justify kde kdeenablefinal kerberos kig-scripting krb4 lcms libcaca libclamav
libedit libg++ libwww live lm_sensors logrotate lua lzo m17n-lib mad matroska
md5sum memlimit mikmod mjpeg mmap mmx mmxext mng motif mozilla mp3 mpeg mpi
mplayer musepack musicbrainz mysql nas ncurses nethack network new-login nls
nntp nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal openexr opengl
oss pam parse-clocks pccts pcre pda pdflib perl php physfs png povray ppds pyste
python qt quicktime rdesktop readline real rtc ruby samba scanner sdl
sftplogging silc slang sms sndfile snmp sox speex spell sse ssl
startup-notification svg svga symlink sysfs tcltk tcpd tga theora threads
threadsonly tidy tiff toolbar truetype truetype-fonts type1-fonts ucs2 ucs4
unicode usb utf8 uudeview v4l v4l2 vcd vcdimager vidix vim-with-x vorbis
win32codecs wmf xanim xine xinerama xml xml2 xmms xscreensaver xv xvid xvmc
zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 1 David Li 2005-09-08 21:08:00 UTC
I confirm this
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-09-09 07:01:45 UTC
Created attachment 68031 [details]
config.log

config.log for dev-php/mod_php-4.4.0-r1

Error message:

/bin/sh /var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/libtool --silent
--preserve-dup-deps --mode=compile gcc	-I/usr/include/apache2	-DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/usr/include/apr-0   -I/usr/include/apr-0  -Isapi/apache2handler/
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/sapi/apache2handler/
-DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/include
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/main
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0 -I/usr/include/libxml2
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/TSRM
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/Zend    -march=pentium4 -O2
-pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -pthread	-prefer-non-pic -c
/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/sapi/apache2handler/php_functions.c
-o sapi/apache2handler/php_functions.lo 
/bin/sh /var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/libtool --silent
--preserve-dup-deps --mode=compile gcc	-Imain/
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/main/ -DPHP_ATOM_INC
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/include
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/main
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0 -I/usr/include/libxml2
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/mbregex
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/libmbfl
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/xml/expat
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/TSRM
-I/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/Zend    -march=pentium4 -O2
-pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -pthread	-prefer-non-pic -c main/internal_functions.c -o
main/internal_functions.lo 
In file included from
/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/wddx/php_wddx.h:26,
		 from main/internal_functions.c:65:
/var/tmp/portage/mod_php-4.4.0-r1/work/php-4.4.0/ext/xml/expat/expat.h:894:
error: conflicting types for 'XML_FEATURE_UNICODE'
/usr/include/libxml2/libxml/parser.h:1196: error: previous definition of
'XML_FEATURE_UNICODE' was here
make: *** [main/internal_functions.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.4.0-r1 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Pol 2005-09-09 07:29:09 UTC
Same for me...

http://forums.gentoo.org/viewtopic-t-379115.html
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2005-09-09 07:50:35 UTC
Tried USE="-xml2" emerge =dev-php/mod_php-4.4.0-r1
Ebuild's fine, no problem. However without that USE-Flag, i got the same error
as everyone else.

Portage 2.0.52-r1 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.12-gentoo-r9-20050821 ppc)
=================================================================
System uname: 2.6.12-gentoo-r9-20050821 ppc 7455, altivec supported
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/apache2/httpd.conf /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.ISO-8859-1"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib alsa altivec apache2 bitmap-fonts cdr crypt cscope cups
curl directfb dvd emboss fbcon flac gd gdbm ggi gif gpm gtk gtk2 imagemagick
imlib ipv6 jpeg libwww mad mbox mikmod motif mozilla mp3 mpeg mysql ncurses nls
ogg oggvorbis opengl pam pdflib perl pic plotutils png python readline samba
slang spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode
vorbis xine xml2 xmms xv zlib video_cards_radeon userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Luca Longinotti (RETIRED) gentoo-dev 2005-09-09 09:25:46 UTC
I've been able to reproduce this, it's an upstream problem as far as I can tell
(the expat library PHP bundles is not compatible with the new libxml2 version).
I filed a bug at PHP --> http://bugs.php.net/bug.php?id=34443, waiting for answer.
Best regards, CHTEKK.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-09-09 10:33:20 UTC
*** Bug 105406 has been marked as a duplicate of this bug. ***
Comment 7 Kristin Galway 2005-09-10 08:35:54 UTC
I confirm this as well. This is a after a fresh install of 2005.1 on an AMD54
machine.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-09-11 17:00:25 UTC
*** Bug 105645 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-09-12 06:33:19 UTC
Should be fixed in dev-libs/libxml2-2.6.22
(http://bugzilla.gnome.org/show_bug.cgi?id=316053)
Comment 10 Luca Longinotti (RETIRED) gentoo-dev 2005-09-12 08:03:03 UTC
Yeah, the next release of libxml2 will fix this, the fix is available in
libxml2's CVS to anyone intersted in it. So when libxml 2.6.22 will come out and
get into Portage tree your installations will return working with the latest
libxml2, in the meantime use an older libxml2 release as workaround: 2.6.19 and
2.6.20-r2 both work.
Best regards, CHTEKK.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-09-12 08:16:48 UTC
Closing this bug.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-09-12 09:41:16 UTC
*** Bug 105704 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-09-12 13:10:53 UTC
*** Bug 105722 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-09-13 00:38:11 UTC
*** Bug 105758 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-09-14 01:28:07 UTC
*** Bug 105913 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2005-09-14 13:37:19 UTC
dev-libs/libxml2-2.6.22 in portage, please test.
Comment 17 Karol Krizka 2005-09-14 17:18:52 UTC
It compiles now, but there is a sandbox violation error. I'll leave that for 
another bug though. 
Comment 18 Jabari R. Roberts 2005-09-15 10:30:30 UTC
dev-php/php compiles fine for me with the new libxml2 (with no sandbox issues).
Thanks!
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2005-09-15 14:36:30 UTC
(In reply to comment #18)
> dev-php/php compiles fine for me with the new libxml2 (with no sandbox issues).
> Thanks!

Would you explain why did you change the product/component to Admin/CVS? Please,
don't mess w/ things that you don't understand.

And thanks for reporting back.
Comment 20 Jabari R. Roberts 2005-09-15 16:47:08 UTC
I apologize...(text-based) Links messed up things (typing this now from Firefox).
This is my 2nd/3rd bug that I commented/made, so I'm new to the Bugzilla system
and I thought that was default behavior after the bug was closed.

My humble apologies... -.-;
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2005-09-18 12:24:22 UTC
*** Bug 106395 has been marked as a duplicate of this bug. ***