First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 100898
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Kiermaier <epyon9283@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100898 depends on: Show dependency tree
Bug 100898 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-31 08:54 0000
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 From Diego E. 'Flameeyes' Pettenò 2005-07-31 10:21:47 0000 -------
*** Bug 100904 has been marked as a duplicate of this bug. ***

------- Comment #2 From Peter Gantner (a.k.a. nephros) 2005-07-31 11:36:16 0000 -------
me three!
(config details upon request)

------- Comment #3 From Yaroslav Rozhilo 2005-07-31 13:50:54 0000 -------
<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 From Guy 2005-07-31 16:16:30 0000 -------
(In reply to comment #3)
Re-emerge libxml2 with USE="debug" before kdewebdev._

Thank you.

This worked for me.

------- Comment #5 From Tom Kiermaier 2005-07-31 17:26:18 0000 -------
worked for me too 

------- Comment #6 From Ashu Tiwary 2005-07-31 17:27:41 0000 -------
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 From Andrew 2005-07-31 21:28:58 0000 -------
USE="debug" emerge libxml2 
WOrked for me too. 

------- Comment #8 From foser (RETIRED) 2005-08-01 03:46:33 0000 -------
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 From Peter Gantner (a.k.a. nephros) 2005-08-01 10:23:50 0000 -------
yup, worked.
thanks.

------- Comment #10 From J.O. Aho 2005-08-01 12:14:56 0000 -------
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 From Ivan Yosifov 2005-08-01 12:40:10 0000 -------
Probably you are using an old libxml2 with the debug code enabled by default.

------- Comment #12 From Carsten Lohrke 2005-08-02 16:30:36 0000 -------
*** Bug 101143 has been marked as a duplicate of this bug. ***

------- Comment #13 From Carsten Lohrke 2005-08-02 16:42:39 0000 -------
(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 From Leonardo Boshell (RETIRED) 2005-08-03 02:26:32 0000 -------
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 From Carsten Lohrke 2005-08-09 10:04:28 0000 -------
Thanks Leonardo, that should do it.

First Last Prev Next    No search results available      Search page      Enter new bug