During the emerge process for building kde 3.1.4, kdenetwork fails to build due to a compilation error in kdictapplet.cpp w/ start of error: In file included from /usr/qt/3/include/qlabel.h:42, from kdictapplet.cpp:20: /usr/qt/3/include/qframe.h:40: parse error before `#' token In file included from /usr/qt/3/include/qlabel.h:42, from kdictapplet.cpp:20: /usr/qt/3/include/qframe.h:41:2: invalid preprocessing directive #ijclude /usr/qt/3/include/qframe.h:44:14: warning: extra tokens at end of #ifndef directive ----- I will attach full text of emerge from point of failure. Reproducible: Always Steps to Reproduce: 1.emerge kde 2.after a bunch of emerges, 12th from last (kde) kdenetwork fails Actual Results: kdenetwork 3.1.4 fails to install Expected Results: kdenetwork should have installed and continued onto kdeaddons-3.1.4 Gentoo Base System version 1.4.3.10 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-2.4.22) ================================================================= System uname: 2.4.22-2.4.22 i686 AMD Athlon(tm) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg gnome libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga X sdl tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl"
Created attachment 20647 [details] emerge kdenetwork error
I investigated further, looking at the reported lines in /usr/qt/3/include/qlabel.h and there was no #ijclude, but rather a correct #include. Something in the file(s) must have been corrupted on install of 'qt'. So I (re)emerged qt and started the kde emerge again... and presto, it installed fine. I won't change status of this bug report, but I'm assuming this bug is going to be hard to reproduce on other like systems.
this is a very strange error. You may want to try compiling it without distcc and/or -j2 and seeing if that fixes the problem.
strange error, sounds like it's working now.