I tried upgrading to kdewebdev-3.4.2 but I'm running into a problem I can't figure out. kdewebdev errors out on compile. /bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DDOCS_PATH=\"/usr/kde/3.4/doc/xsldbg\" -I.. -I/usr/include/libxml2 -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fprefetch-loop-arrays -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DENABLE_CVSSERVICE -c -o xsldbg.lo `test -f 'xsldbg.cpp' || echo './'`xsldbg.cpp In file included from xsldbg.cpp:41: debugXSL.h:423: error: `xmlShellCtxtPtr' has not been declared debugXSL.h:425: error: ISO C++ forbids declaration of `ctxt' with no type debugXSL.h:467: error: `xmlShellCtxtPtr' was not declared in this scope debugXSL.h:467: error: expected primary-expression before '*' token debugXSL.h:467: error: `arg' was not declared in this scope debugXSL.h:467: error: expected primary-expression before "int" debugXSL.h:467: error: initializer expression list treated as compound expression debugXSL.h:502: error: `xmlShellCtxtPtr' has not been declared debugXSL.h:502: error: ISO C++ forbids declaration of `ctxt' with no type debugXSL.h:907: error: `xmlShellCtxtPtr' has not been declared debugXSL.h:907: error: ISO C++ forbids declaration of `ctx' with no type In file included from /usr/include/libxml2/libxml/DOCBparser.h:18, from xsldbg.cpp:86: /usr/include/libxml2/libxml/parserInternals.h:93:1: warning: "IS_BLANK" redefined In file included from xsldbg.cpp:38: utils.h:86:1: warning: this is the location of the previous definition In file included from xsldbg.cpp:86: /usr/include/libxml2/libxml/DOCBparser.h:22:2: warning: #warning "The DOCBparser module has been deprecated in libxml2-2.6.0" xsldbg.cpp: In function `void printTemplates(xsltStylesheet*, xmlDoc*)': xsldbg.cpp:1057: warning: passing NULL used for non-pointer converting 2 of `int xslDbgShellPrintTemplateNames(xsltTransformContext*, int, xmlChar*, int, int)' xsldbg.cpp: In function `void xsldbgGenericErrorFunc(void*, const char*, ...)': xsldbg.cpp:1317: warning: function might be possible candidate for `printf' format attribute xsldbg.cpp:1323: warning: function might be possible candidate for `printf' format attribute make[4]: *** [xsldbg.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdewebdev-3.4.2/work/kdewebdev-3.4.2/kxsldbg/kxsldbgpart/libxsldbg' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdewebdev-3.4.2/work/kdewebdev-3.4.2/kxsldbg/kxsldbgpart' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdewebdev-3.4.2/work/kdewebdev-3.4.2/kxsldbg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdewebdev-3.4.2/work/kdewebdev-3.4.2' make: *** [all] Error 2 I've tried emerging libxslt-1.1.14-r2 again but it didn't work. Reproducible: Always Steps to Reproduce: 1. 2. 3. raptor ~ # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.6.13 dev-lang/python: 2.2.3-r6, 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fprefetch-loop-arrays" 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/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.oregonstate.edu http://gentoo.binarycompass.org/ http://gentoo.netnitco.net/ http://gentoo.mirrors.pair.com/" LC_ALL="en_US.utf8" 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 3dnow 3dnowext X a52 aac aalib acpi alsa apm arts artswrappersuid audiofile avi berkdb bidi bitmap-fonts cdparanoia cdr crypt cups curl dba dbus dts dvd dvdread emboss encode esd faad fam ffmpeg flac foomaticdb fortran freetype gd gd-external gdbm gif gimpprint gpm gstreamer gtk gtk2 hal imagemagick imlib java jpeg junit kde libcaca libg++ libvisual libwww live lm_sensors logitech-mouse logrotate mad matroska mikmod mmx mmxext motif mozilla moznocompose moznoirc mp3 mpeg mysql nas ncurses network nls no_wxgtk1 nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam pda pdflib perl pic png ppds pwdb python qt quicktime rdesktop readline real samba sdl slang smime softmmu speex spell sse ssl stream svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vcd visualization vorbis wifi win32codecs winbind wxwindows xine xml xml2 xmms xprint xscreensaver xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
*** Bug 100904 has been marked as a duplicate of this bug. ***
me three! (config details upon request)
<a href="http://bugs.gentoo.org/show_bug.cgi?id=98345#c20">Bug 98345</a> solution helps a lot. Re-emerge libxml2 with USE="debug" before kdewebdev._
(In reply to comment #3) Re-emerge libxml2 with USE="debug" before kdewebdev._ Thank you. This worked for me.
worked for me too
as another data point: i found i had to re-emerge "dev-libs/libxml dev-libs/libxml2 dev-libs/libxslt" all with USE=debug for my kdewebdev emerge to work (actually, it was easier to just put: dev-libs/libxml debug dev-libs/libxml2 debug dev-libs/libxslt debug kde-base/kdewebdev debug in /etc/portage/package.use)
USE="debug" emerge libxml2 WOrked for me too.
So I get from #60049 that kdewebdev relies on the debug module being there ? 2 possible solutions in that case : 1) kdewebdev needs to check if libxml2 was built with USE=debug 2) always build the debug module in libxml2 (which was apperantly on-by-default before) I'm not much in favor of 1 for obvious reasons.
yup, worked. thanks.
I must say I have built kdewebdev-3.4.2 on AMD K7 2500+ but system is a bit more stable than Tom's (ACCEPT_KEYWORDS="x86"), but have still some unstable installed packeges. (gcc 3.3.5.20050130-r1 and glibc 2.3.4.20041102-r1) I don't need to use any USE=debug to compile this package, so could the problem be in the gcc and not in the kdewebdev?
Probably you are using an old libxml2 with the debug code enabled by default.
*** Bug 101143 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > I'm not much in favor of 1 for obvious reasons. Similar to this, there's also Bug 98345, which affects ephiphany, too (Bug 100833). I woudn't wonder if we'd see issues popping up with other applications as well, so it doesn't make much sense to use the debug flag it here, imho.
I've committed libxml2-2.6.20-r2, dropping the 'debug' USE flag so the debugging module is compiled unconditionally. Please let me know if something else is needed.
Thanks Leonardo, that should do it.