quanta-3.2.0_beta1 fails to compile with the following error: /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/libxml2 -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o dtepcreationdlg.lo `test -f 'dtepcreationdlg.cpp' || echo './'`dtepcreationdlg.cpp rm: cannot remove `': Invalid argument In file included from /usr/include/libxml2/libxml/hash.h:22, from dtdparser.cpp:35: /usr/include/libxml2/libxml/parser.h:263: error: 'xmlHashTablePtr' is used as a type, but is not defined as a type. /usr/include/libxml2/libxml/parser.h:264: error: 'xmlHashTablePtr' is used as a type, but is not defined as a type. make[3]: *** [dtdparser.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/quanta/parser' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93/quanta' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/quanta-3.2.0_beta1/work/quanta-3.1.93' make: *** [all] Error 2 !!! ERROR: app-editors/quanta-3.2.0_beta1 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make looks like som libxml2 error. I have the libxml2-2.6.1 installed. Reproducible: Always Steps to Reproduce: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(TM) XP1900+ Gentoo Base System version 1.4.3.11 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" 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="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs notitles" GENTOO_MIRRORS="http://gentoo.linux.no/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline tetex svga tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla cdr apache2 doc emacs fbcon flash gtk2 maildir mbox tiff xml -gnome -arts -kde"
same problem here emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9) ================================================================= System uname: 2.6.0-test9 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops" 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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs fixpackages" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt encode foomaticdb gif jpeg gnome libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla ipv6 cups mmx 3dnow ldap pda cdr alsa gtk2 moznoirc moznocompose dvd nptl tcltk ppds"
http://forums.gentoo.org/viewtopic.php?t=102787 Fix ?
The error message in this bug report seems to be different from the one I've described on the forum (so you will probably have to modify a different file). For my just editing quanta/parser/dtdparser.cpp did the trick.
AlterEgo is right, this is the same bug as the one in the Forum topic, even though the error message looks very slightly different. And yes, commenting out line 35 from dtdparser.cpp (the '#include <libxml/hash.h>' instruction) does fix it...
While trying to fix bug #33013, I had to fix this bug too. The ebuild submitted to bug #33013 does not compile any documentation because of docbook-xml errors (see last postings of given forums thread) but I suppose one can change the ebuild file so that it only contains the fix for this.
*** Bug 33747 has been marked as a duplicate of this bug. ***
fixed in beta2