This probabley has nothing to do with the stage1 build as it failed earlier today when I was trying to build a new system. Anyway I will post it here. power root # emerge info Portage 2.0.46-r4 (default-x86-1.4, gcc-sh: which: command not found sh: -dumpversion: command not found, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20 i686 AMD Athlon(TM) MP 1900+ USE="x86 oss 3dnow apm avi crypt encode gif gpm imlib java jpeg libg++ libwww mikmod mmx mpeg ncurses nls oggvorbis pdflib png quicktime sdl slang spell svga truetype xml2 zlib gdbm berkdb readline tcpd pam perl python qt opengl X gtk -gnome alsa kde mozilla mysql ssl xmms xv qtmt dvd motif acpi cdr -pcmcia -arts -cups -esd" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe" CXXFLAGS="-march=athlon-mp -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j4" JDK_HOME="" JAVA_HOME="" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon-mp -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c notearray.cc -fPIC -DPIC -o .libs/notearray.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon-mp -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c libkmid.cc -fPIC -DPIC -o .libs/libkmid.o make[2]: *** [deviceman.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.0.5a/work/kdelibs-3.0.5a/libkmid' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.0.5a/work/kdelibs-3.0.5a' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.0.5a failed. !!! Function kde_src_compile, Line -8823, Exitcode 2 !!! died running emake, kde_src_compile:make
Tried to rebuild kdelibs while make -j1 to see if it was a parallel build problem. Failed again but at a different place. This is an alsa dependency problem though this time. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon-mp -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c deviceman.cc -fPIC -DPIC -o .libs/deviceman.o deviceman.cc:54:26: sound/asound.h: No such file or directory deviceman.cc:55:30: sound/asequencer.h: No such file or directory make[2]: *** [deviceman.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.0.5a/work/kdelibs-3.0.5a/libkmid' make[1]: *** [all-recursive] Error 1 m
I can confirm that I have had an identical error building KDE-3.0.5a as above. I had no problems whatsoever building the system from scratch using 1.4rc2 stage 1 until it came to kde-libs - it fell over with excatly the same error. FYI:: loki root # emerge info Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor USE="x86 oss 3dnow arts avi crypt cups encode gif gpm java jpeg kde gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png qtmt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcpd pam ssl perl python esd imlib gtk qt opengl X alsa dvd fbcon matrox maildir mysql samba acpi -apm" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe" CXXFLAGS="-march=athlon -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" loki root # emerge kde >>SNIP<< make[2]: *** [deviceman.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.0.5a/work/kdelibs-3.0.5a/libkmid' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.0.5a/work/kdelibs-3.0.5a' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.0.5a failed. !!! Function kde_src_compile, Line -8823, Exitcode 2 !!! died running emake, kde_src_compile:make
Exactly the same problem here on a Pentium 4 1300(socket 423) :( It installed fine on the AMD Thunderbird 1400 so its a Pentium bug i guess. Any ideas for a fix? Grtz, Rick
ok, I've found the problem. kdelibs is getting built with alsa support and needs alsa-drivers installed but there is no dependency to cause it to be installed. Seems like this happens with alsa-0.9_rc6. There is a dependency for alsa-libs which use to have a dependency to alsa-drivers but than has gone with the current alsa release. 2 ways to fix it. A. put a dependency in kdelibs for alsa-drivers or add a dependency in alsa-libs for alsa-drivers.
Well, I've managed to get past the point it was bombing out at:: emerge alsa-driver and configure ALSA before emerging KDE - certainly doesn't fail at that point any more! It's still compiling at the moment, will post again if everything goes through successfully.
*** Bug 12996 has been marked as a duplicate of this bug. ***
[Resolved] Merging the alsa-drivers PRIOR to restarting the build did allow it to move beyond this point. Seems the Alsa build prior to the start of KDE should add that to its own emerge.
KDE 3.0.5a has merged successfully - new system now running absolutely 100% with no further probs - very pleased this was a simple fix!!
*** This bug has been marked as a duplicate of 11996 ***