Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100898 - kdewebdev-3.4.2 emerge fails
Summary: kdewebdev-3.4.2 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 100904 101143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-31 08:54 UTC by Tom Kiermaier
Modified: 2005-08-09 10:04 UTC (History)
9 users (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 Tom Kiermaier 2005-07-31 08:54:34 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-31 10:21:47 UTC
*** Bug 100904 has been marked as a duplicate of this bug. ***
Comment 2 Peter Gantner (a.k.a. nephros) 2005-07-31 11:36:16 UTC
me three!
(config details upon request)
Comment 3 Yaroslav Rozhilo 2005-07-31 13:50:54 UTC
<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._
Comment 4 Guy 2005-07-31 16:16:30 UTC
(In reply to comment #3)
Re-emerge libxml2 with USE="debug" before kdewebdev._

Thank you.

This worked for me.
Comment 5 Tom Kiermaier 2005-07-31 17:26:18 UTC
worked for me too 
Comment 6 Ashu Tiwary 2005-07-31 17:27:41 UTC
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)
Comment 7 Andrew 2005-07-31 21:28:58 UTC
USE="debug" emerge libxml2 
WOrked for me too. 
Comment 8 foser (RETIRED) gentoo-dev 2005-08-01 03:46:33 UTC
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.
Comment 9 Peter Gantner (a.k.a. nephros) 2005-08-01 10:23:50 UTC
yup, worked.
thanks.
Comment 10 J.O. Aho 2005-08-01 12:14:56 UTC
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?
Comment 11 Ivan Yosifov 2005-08-01 12:40:10 UTC
Probably you are using an old libxml2 with the debug code enabled by default.
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-02 16:30:36 UTC
*** Bug 101143 has been marked as a duplicate of this bug. ***
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-02 16:42:39 UTC
(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.
Comment 14 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-03 02:26:32 UTC
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.
Comment 15 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-09 10:04:28 UTC
Thanks Leonardo, that should do it.