When I try to emerge kdebase-3.2.0 the configure phase fails consistently saying "configure: error: you need to install kdelibs first.", however kdelibs-3.2.0 are already merged successfully. This problem has been hounding me for more than a week. I have been running "emerge sync" & "emerge -u world" in the hope that a a fix of a dependency will fix my problem. Reproducible: Always Steps to Reproduce: 1.emerge -u world (kdebase-3.2.0 is first) 2. 3. Actual Results: ... checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for perl... /usr/bin/perl checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt checking for moc... /usr/qt/3/bin/moc checking for uic... /usr/qt/3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include checking if UIC has KDE plugins available... no configure: error: you need to install kdelibs first. died running ./configure, kde_src_compile:configure * * Your KDE program installation died while running the configure script * !!! ERROR: kde-base/kdebase-3.2.0 failed. !!! Function configure_die, Line 170, Exitcode 0 !!! (no error message) pygo root # Expected Results: Build successful :-) Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo http://gentoo. oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl apache2 apm arts avi berkdb crypt cups encode esd foomaticdb freetds gdbm gif gnome gpm gtk gtk2 imap imlib innodb java jpeg kde libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml xml2 xmms xv zlib"
I have just tried to (unsuccessfully) rebuild kdelibs. I already have it installed (emerged successfully on Feb 11). Please see http://bugs.gentoo.org/show_bug.cgi?id=42223. Although the two appear to be related, I didnt' want to list #42223 as a dependency (I'll leave that to the true bug munchers :-). I can think of no reason why my ebuilds are suddenly in so much trouble. The machine is running perfectly smoothly, there are no hard disk errors, and aside from these persistent KDE build failures you'd never know anything was wrong. There also haven't been any power failures or system crashes. I am running a journaling filesystem (reiserfs). I am at a loss... Help? :-)
your kdebase is due to the upgrade of Qt - you have to reinstall kdelibs after upgrading to qt 3.3 (as is noted in the ebuild) your kdelibs problem is most likely a cflags issue. can you post the exact error?
I don't know how you spotted it, but you're dead right about the Qt 3.3 thing. Below is my "genlop -l" output. As you can see kdelibs-3.2.0 emerged a day before qt-3.3.0. ... Wed Feb 11 06:30:27 2004 arts-1.2.0 has been merged. Wed Feb 11 09:45:36 2004 kdelibs-3.2.0 has been merged. Thu Feb 12 21:49:28 2004 libungif-4.1.0.1b has been merged. Thu Feb 12 23:46:37 2004 qt-3.3.0 has been merged. ... You mentioned that it's noted in the ebuild that kdelibs-3.2.0 needs to be rebuilt after qt-3.3.0. Since "emerge -u world" can take hours and hours (especially when there's a new KDE release) I generally just set it going and check back much later to see if it's finished. I never saw the notice you speak of. What should I do in future to make sure I don't miss critical bits of information like this? As for the exact error of the kdelibs build crash, I'd love to give that to you, but could you tell me which log file contains the information you're after? I listed the emerge output in bug report #42223 but I expect you're after more than that :-) Thanks heaps for your help - I owe you guys some brewskys!
Unfortunately if you do it doing an emerge world it will just scroll by. There's an open bug report about a request to log this information so that you can view it after an emerge world is done (I don't have the number off hand, though).
Perhaps in future I should run "emerge -u world" under "screen" with logging turned on (Ctrl-a, H)... Just a thought...
*** Bug 43643 has been marked as a duplicate of this bug. ***