Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10796 - KDE 3.1 and 3.0.4 don't play well together
Summary: KDE 3.1 and 3.0.4 don't play well together
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:
Depends on:
Blocks:
 
Reported: 2002-11-15 14:51 UTC by Peter Ruskin
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Peter Ruskin 2002-11-15 14:51:02 UTC
After failing to build kde-3.1_rc3, I looked on the forums (searching for
meinproc) for the answer.

The answer for me was to unpack kdelibs-3.0.99, `./configure
--prefix=/usr/kde/3.1`, go to the kdoctools and do `make install`.  I had to do
`make install` in kio, dcop, kdeui, kdefx, kdecore, libltdl and kdesu for this
to work.  Then, having already emerged libxml2-2.4.24 and qt-3.1.0, I could
successfully `emerge kde`.

KDE-3.1 looks pretty good, but we can either have qt-3.0.5 or qt-3.1.0 - not
both - they have the same slot.  What this means for me is that konsole now
segfaults in kde-3.0.4:
$ konsole
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = konsole path = <unknown> pid = 25496

...presumably because of the wrong Qt?

BTW, I also couldn't emerge 3.1's kdeaddons nor kdebindings, but there are
already bugs filed for those (I couldn't add comments to one of them because of
a bugzilla bug that thought I wanted to change the platform).
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-16 12:20:27 UTC
what was the exact failing of kde-3.1_rc3? the meinproc issue is afaik a libxml2 
issue (caused by libxml2-2.4.26, which is masked again). 
 
from http://www.trolltech.com/developer/changes/3.1.html : 
The Qt version 3.1 series is binary compatible with the 3.0.x series: 
applications compiled for 3.0 will continue to run with 3.1. 
 
having kde-3.0.4 and 3.1 should work with qt-3.1. 
 
kdebindings is really a problem (which one do you have? gtk.h or 
DOM::RGBColor::RGBColor?), what's your problem with kdeaddons? 
same as in bug 10766? 
Comment 2 Peter Ruskin 2002-11-16 13:25:51 UTC
Even with libxml-2-2.4.24 emerged, kde-3.1_rc3 failed to build because of the docbook 
stuff.  It wanted to run /usr/kde/3.1/bin/meinproc and I suppose this didn't exist at that 
time.  That's why I did `make install` on that before trying again (successfully). 
 
I'm only guessing on the binary (in)compatibility of Qt-3.1.0.  All I know is that with 
3.0.4, if I run `konsole` from xterm it segfaults with no other message.  It worked 
perfectly before I emerged kde-3.1_rc3.  Most other things seem OK, apart from a 
couple of things (kstars I had to unmerge otherwise 3.1 refused to build "only one of 
these may be installed"). 
 
kdebindings gives this: 
make[4]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped. 
/usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook 
Making all in . 
make[5]: Entering directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/crashes' 
make[5]: Nothing to be done for `all-am'. 
make[5]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/crashes' 
make[4]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/crashes' 
Making all in babel 
make[4]: Entering directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/babel' 
make[4]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped. 
/usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook 
Making all in . 
make[5]: Entering directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/babel' 
make[5]: Nothing to be done for `all-am'. 
make[5]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/babel' 
make[4]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/babel' 
Making all in kuick 
make[4]: Entering directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/kuick' 
make[4]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped. 
/usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook 
Making all in . 
make[5]: Entering directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/kuick' 
make[5]: Nothing to be done for `all-am'. 
make[5]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/kuick' 
runtime error: file /usr/kde/3.1/share/apps/ksgmltools2/docbook/xsl/html/inline.xsl 
element apply-templates 
xsl:apply-templates : can't find doc 
unable to parse ./index.docbook 
make[4]: *** [index.cache.bz2] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins/kuick' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc/konq-plugins' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99/doc' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdeaddons-3.1_rc3/work/kdeaddons-3.0.99' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdeaddons-3.1_rc3 failed. 
!!! Function kde_src_compile, Line 98, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-16 15:27:57 UTC
the kdeaddons stuff is the same as bug #10766, please emerge libxslt-1.0.20 and 
emerge kdeaddons again. 
Comment 4 Peter Ruskin 2002-11-16 17:48:32 UTC
Thanks.  I emerged libxslt-1.0.20 and then I successfully emerged kdeaddons. 
 
I just rebuilt kdelibs and kdebase-3.0.4  against the Qt-3.1.0 to see if  
that fixed konsole.  It didn't...but I found something strange:  I su'ed to 
root in an xterm and told it `konsole` and it worked!  But `which konsole` 
as root gave "/usr/kde/3.1/bin/konsole".  So in 3.0.4, 3.1's konsole works 
but 3.0.4's doesn't.  The env stuff is a bit broken: 
 
$ echo $PATH 
/usr/kde/3/bin:.:/bin:/usr/bin:/home/peter/bin:/usr/local/bin:/opt/bin: 
/opt/Acrobat5:/opt/opera/bin:/opt/rar/bin:/opt/RealPlayer8:/usr/X11R6/bin: 
/opt/blackdown-jdk-1.4.1_beta/bin:/opt/blackdown-jdk-1.4.1_beta/jre/bin: 
/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/qt/2/bin:/usr/kde/3/bin:/usr/wine/bin 
 
# echo $PATH 
.:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/Acrobat5: 
/opt/opera/bin:/opt/rar:/opt/RealPlayer8:/usr/X11R6/bin: 
/opt/blackdown-jdk-1.4.1_beta/bin:/opt/blackdown-jdk-1.4.1_beta/jre/bin: 
/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/qt/2/bin: 
/usr/kde/3/bin:/usr/wine/bin 
 
$ /usr/kde/3.1/bin/konsole 
kdecore (KLocale): WARNING: found no definition of PluralForm for en_GB 
kio (KSycoca): WARNING: Found version 49, expecting version 59 or higher. 
kio (KSycoca): WARNING: Outdated database found 
[23:47 peter@penguin: ~] 
$ /usr/kde/3/bin/konsole 
KCrash: crashing.... crashRecursionCounter = 2 
KCrash: Application Name = konsole path = <unknown> pid = 31029 
 
Comment 5 Peter Ruskin 2002-11-17 19:14:21 UTC
$ gdb konsole 
GNU gdb 5.2.1 
Copyright 2002 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "i686-pc-linux-gnu"... 
(no debugging symbols found)... 
(gdb) run 
Starting program: /usr/kde/3/bin/konsole  
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 
(LWP 17441)] 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)... 
Program received signal SIGSEGV, Segmentation fault. 
[Switching to Thread 16384 (LWP 17441)] 
---Type <return> to continue, or q <return> to quit--- 
0x40a66c27 in QObject::inherits(char const*) const () 
   from /usr/qt/3/lib/libqt-mt.so.3 
(gdb) bt 
#0  0x40a66c27 in QObject::inherits(char const*) const () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#1  0x080682c3 in QGListIterator::~QGListIterator() () 
#2  0x0806d258 in QGListIterator::~QGListIterator() () 
#3  0x0806cf7e in QGListIterator::~QGListIterator() () 
#4  0x0806e475 in QGListIterator::~QGListIterator() () 
#5  0x08063614 in QGListIterator::~QGListIterator() () 
#6  0x08060a68 in QGListIterator::~QGListIterator() () 
#7  0x41072e34 in __libc_start_main () from /lib/libc.so.6 
(gdb) kill 
Kill the program being debugged? (y or n) y 
(gdb) quit 
 
 
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-23 05:52:23 UTC
so, what's left here: 
-kdebindings does not compile -> see http://bugs.kde.org/show_bug.cgi?id=50583 
-konsole crashes -> try kdebase-3.0.4-r3. this is fixed there. 
Comment 7 Peter Ruskin 2002-11-23 06:09:41 UTC
kdebase-3.0.4-r3 works fine - thanks
Comment 8 Dan Armak (RETIRED) gentoo-dev 2002-11-28 15:08:44 UTC
OK