emerge kdemultimedia-3.3.1 failed to compile kscd_skel.o, complaining about missing files. Reproducible: Always Steps to Reproduce: 1.emerge kdemultimedia (3.3.1) 2. 3. Actual Results: failed to build Expected Results: successful emerge of kdemultimedia 3.3.1 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kscd_skel.o kscd_skel.cpp In file included from kscd.h:83, from kscd_skel.cpp:9: configWidget.h:25:28: configWidgetUI.h: No such file or directory In file included from kscd.h:83, from kscd_skel.cpp:9: configWidget.h:30: error: parse error before `{' token configWidget.h:31: error: virtual outside class declaration configWidget.h:31: error: non-member function `const char* className()' cannot have `const' method qualifier configWidget.h:31: error: virtual outside class declaration configWidget.h:31: error: virtual outside class declaration configWidget.h:31: error: virtual outside class declaration configWidget.h:31: error: virtual outside class declaration configWidget.h: In function `QObject* qObject()': configWidget.h:31: error: invalid use of `this' in non-member function configWidget.h: At global scope: configWidget.h:31: error: parse error before `private' configWidget.h:35: error: destructors must be member functions configWidget.h:37: error: parse error before `protected' configWidget.h:42: error: virtual outside class declaration configWidget.h:43: error: parse error before `}' token In file included from kscd_skel.cpp:9: kscd.h:236: error: `widget' was not declared in this scope kscd.h:236: error: invalid data member initialization kscd.h:236: error: (use `=' to initialize static data members) kscd.h:236: error: variable or field `updateConfigDialog' declared void make[3]: *** [kscd_skel.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/kscd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/kscd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.3.1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message.
btw, configWidgetUI.h exists =P, i dont know understand why the compile failed, i can manually enter the dir after the failed build and call make kscd_skel.o and it works, however, i cant resume the emerge and the source is cleared...and the failed compile occurs again =(
Please don't assign bugs unless you know where to put them.
You forgot to provide yout 'emerge info' output.
Donnie: ok, i couldnt figure out where to put kde stuff, the categories seemed rather ambiguous and unrelated to me, so where should i have put this? Simone: emerge info: Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://gentoo.osuosl.org" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx X alsa apm arts avi berkdb bitmap-fonts crypt cups doc encode f77 foomaticdb fortran gdbm gif gpm jpeg kde libg++ libwww matrox mikmod motif mpegncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline slang spell sse ssl svga tcpd tiff truetype x86 xinerama xml2 xmms xv zlib" kscd is nearly the last part to be compiled in kdemultimedia, so I was able to dink with the build while emerge was still working on other dirs, so i got it in now, but i wonder why still it would fail when there was no reason to fail (file really did exist)
Try using MAKEOPTS="-j1" instead of j3 in your make.conf. If this don't work, try also putting FEATURES="-ccache" instead of ccache in it.
Any news on this?
got the same problems and error messages, removing distcc and setting makeopts="-j1" solved it. the problems also occured compiling kdeartwork
Closing, as this is not reproducible (probably a local issue with distcc).