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).
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?
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
the kdeaddons stuff is the same as bug #10766, please emerge libxslt-1.0.20 and emerge kdeaddons again.
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
$ 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
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.
kdebase-3.0.4-r3 works fine - thanks
OK