Output of configure step is as follows: =============== qtmt creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc -march=athlon -O3 -fomit-frame-pointer -mmmx -m3dnow -pipe -funroll-loops ) works... yes checking whether the C compiler (gcc -march=athlon -O3 -fomit-frame-pointer -mmmx -m3dnow -pipe -funroll-loops ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether c++ supports -fno-exceptions... yes checking whether c++ supports -fno-check-new... yes checking whether c++ supports -fexceptions... yes checking how to run the C++ preprocessor... c++ -E checking whether c++ supports -frepo... yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for ranlib... ranlib checking for strip... strip checking for Cygwin environment... no checking for mingw32 environment... no updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... yes checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes finding the maximum length of command line arguments... 73729 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no creating libtool updating cache ./config.cache loading cache ./config.cache loading cache ./config.cache within ltconfig checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes checking for objdir... .libs checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes finding the maximum length of command line arguments... (cached) 73729 checking if c++ supports -c -o file.o... (cached) yes checking if c++ supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no appending configuration tag "CXX" to libtool checking for object suffix... o checking for executable suffix... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for res_init... no checking for killpg in -lucb... no checking size of int... 4 checking size of long... 4 checking size of char *... 4 checking size of char... 1 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for Xinerama... yes checking for pthread_create in -lpthread... yes checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt checking if Qt compiles without flags... no 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/lib, headers /usr/kde/3/include checking for KDE paths... defaults checking for dcopidl... /usr/kde/3/bin/dcopidl checking for dcopidl2cpp... /usr/kde/3/bin/dcopidl2cpp checking for mcopidl... /usr/kde/3/bin/mcopidl checking for artsc-config... /usr/kde/3/bin/artsc-config checking for kde-config... /usr/kde/3/bin/kde-config checking for meinproc... /usr/kde/3/bin/meinproc checking if doc should be compiled... yes checking if kportagemaster should be compiled... yes checking if po should be compiled... yes updating cache ./config.cache creating ./config.status fast creating ./Makefile fast creating doc/Makefile fast creating doc/en/Makefile fast creating kportagemaster/Makefile fast creating kportagemaster/images/Makefile fast creating po/Makefile =============== Here's where the compile errors start: =============== c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -fno-exceptions -fno-check-new -c ebuildview.cpp In file included from ebuildview.cpp:20: ebuildview.ui.h: In member function `virtual void EbuildView::setURL(const QString&)': ebuildview.ui.h:32: invalid use of undefined type `struct KURLLabel' ebuildview.h:17: forward declaration of `struct KURLLabel' ebuildview.ui.h:33: invalid use of undefined type `struct KURLLabel' ebuildview.h:17: forward declaration of `struct KURLLabel' ebuildview.cpp: In constructor `EbuildView::EbuildView(QWidget*, const char*, unsigned int)': ebuildview.cpp:128: invalid use of undefined type `struct KURLLabel' ebuildview.h:17: forward declaration of `struct KURLLabel' ebuildview.cpp:129: invalid use of undefined type `struct KURLLabel' ebuildview.h:17: forward declaration of `struct KURLLabel' ebuildview.cpp:130: invalid use of undefined type `struct KURLLabel' ebuildview.h:17: forward declaration of `struct KURLLabel' ebuildview.cpp:131: no matching function for call to `QHBoxLayout::addWidget(KURLLabel*&)' /usr/qt/3/include/qlayout.h:378: candidates are: void QBoxLayout::addWidget(QWidget*, int = 0, int = 0) ebuildview.cpp:156: no matching function for call to `EbuildView::connect(KURLLabel*&, const char[32], EbuildView* const, const char[30])' /usr/qt/3/include/qobject.h:112: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/qt/3/include/qobject.h:208: bool QObject::connect(const QObject*, const char*, const char*) const make[3]: *** [ebuildview.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kportagemaster-0.4.2/work/kportagemaster-0.4.2/kportagemaster' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kportagemaster-0.4.2/work/kportagemaster-0.4.2/kportagemaster' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kportagemaster-0.4.2/work/kportagemaster-0.4.2' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -6657, Exitcode 2 !!! died running emake, kde_src_compile:make !!! emerge aborting on /usr/portage/app-admin/kportagemaster/kportagemaster-0.4.2.ebuild . =============== System is an Athlon 700 with 512 Mb RAM USE="gpm mysql -3dfx 3dnow aalib -acl -afs alsa apm arts avi berkdb bonobo -canna -cjk crypt cups dga directfb doc dvd encode esd evo fbcon flash -freewnn gb gd gdbm -ggi ggz gif gnome gnome-libs -gphoto2 gtk -gtk2 gtkhtml guile imap imlib innodb ipv6 java jpeg kde kerberos lcms ldap libg++ libgda libwww -matrox maildir mbox mikmod mmx motif mozilla mpeg -mule -nas ncurses nls nocardbus oci8 odbc oggvorbis opengl oss pam -pcmcia -pda pdflib perl pic -plotutils png -pnp postgres python qt qtmt quicktime readline ruby samba sasl sdl slang slp snmp socks5 spell -sse ssl svga tcltk tcpd tetex tiff truetype -trusted -voodoo3 -wavelan X xml xml2 xmms xv zlib"
http://bugs.gentoo.org/show_bug.cgi?id=6403#c7 *** This bug has been marked as a duplicate of 6403 ***