Trying to emerge kdebase-3.4.0_beta1 the compilation fails with following output: echo '#include <kdialog.h>' > cache_ui.cpp echo '#include <klocale.h>' >> cache_ui.cpp /usr/qt/3/bin/uic -L /usr/kde/3.4/lib/kde3/plugins/designer -nounload -tr tr2i18n -i cache_ui.h ./cache_ui.ui > cache_ui.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" cache_ui.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_cache_ui,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> cache_ui.cpp ;\ rm -f cache_ui.cpp.temp ;\ if test "$ret" = 0; then echo '#include "cache_ui.moc"' >> cache_ui.cpp; else rm -f cache_ui.cpp ; exit $ret ; fi /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fprefetch-loop-arrays -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o socksbase.lo socksbase.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fprefetch-loop-arrays -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o kproxydlg_ui.lo kproxydlg_ui.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fprefetch-loop-arrays -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o kcookiesmanagementdlg_ui.lo kcookiesmanagementdlg_ui.cpp kcookiesmanagementdlg_ui.cpp: In constructor `KCookiesManagementDlgUI::KCookiesManagementDlgUI(QWidget*, const char*, uint)': kcookiesmanagementdlg_ui.cpp:79: error: invalid use of undefined type `struct KListViewSearchLine' kcookiesmanagementdlg_ui.h:25: error: forward declaration of `struct KListViewSearchLine' kcookiesmanagementdlg_ui.cpp:80: error: no matching function for call to `QHBoxLayout::addWidget(KListViewSearchLine*&)' /usr/qt/3/include/qlayout.h:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) kcookiesmanagementdlg_ui.cpp:136: error: no matching function for call to `KCookiesManagementDlgUI::connect(QToolButton*&, const char[11], KListViewSearchLine*&, const char[9])' /usr/qt/3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/qt/3/include/qobject.h:227: note: bool QObject::connect(const QObject*, const char*, const char*) const kcookiesmanagementdlg_ui.cpp:139: error: no matching function for call to `QLabel::setBuddy(KListViewSearchLine*&)' /usr/qt/3/include/qlabel.h:95: note: candidates are: virtual void QLabel::setBuddy(QWidget*) kcookiesmanagementdlg_ui.cpp: In member function `virtual void KCookiesManagementDlgUI::languageChange()': kcookiesmanagementdlg_ui.cpp:171: error: no matching function for call to `QToolTip::add(KListViewSearchLine*&, QString)' /usr/qt/3/include/qtooltip.h:91: note: candidates are: static void QToolTip::add(QWidget*, const QString&) /usr/qt/3/include/qtooltip.h:93: note: static void QToolTip::add(QWidget*, const QString&, QToolTipGroup*, const QString&) /usr/qt/3/include/qtooltip.h:96: note: static void QToolTip::add(QWidget*, const QRect&, const QString&) /usr/qt/3/include/qtooltip.h:98: note: static void QToolTip::add(QWidget*, const QRect&, const QString&, QToolTipGroup*, const QString&) kcookiesmanagementdlg_ui.cpp:172: error: no matching function for call to `QWhatsThis::add(KListViewSearchLine*&, const QString&)' /usr/qt/3/include/qwhatsthis.h:63: note: candidates are: static void QWhatsThis::add(QWidget*, const QString&) make[4]: *** [kcookiesmanagementdlg_ui.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdebase-3.4.0_beta1/work/kdebase-3.3.91/kcontrol/kio' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.4.0_beta1/work/kdebase-3.3.91/kcontrol/kio' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.4.0_beta1/work/kdebase-3.3.91/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.4.0_beta1/work/kdebase-3.3.91' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.4.0_beta1 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. Reproducible: Always Steps to Reproduce: # emerge info Portage 2.0.51-r14 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-nitro2 i686) ================================================================= System uname: 2.6.10-nitro2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Sep 27 2004, 18:00:09)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.4, 1.6.3, 1.8.5-r2, 1.7.9, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" 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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs digest distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /home/portage /home/portage/overlay-freedesktop" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acpi acpi4linux aim alsa apache2 apm audiofile avi beepmp berkdb bitmap-fonts blender-game bluetooth bmp bonobo bootsplash bzlib cairo cdparanoia cdr cdrom cjk crypt cscope cups devmap directfb divx4linux dmixer dmx dnd dv dvd dvdread eds emacs emacs-w3 encode esd evo f77 fam fbcon firebird flac flash foomaticdb fortran freetype gdbm ggi gif gnome gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml hal hardenedphp imagemagick imlib jack java jpeg junit kde lcms libg++ libwww lzo mad memlimit mikmod mime mjpeg mmx motif mozdevelop mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mysql ncurses nls nntp nptl nvidia objc oggvorbis opengl oss pam pcre pda pdflib perl php png pnp ppds print python qt quicktime readline samba scanner sdl slang slp speex spell sse sse2 ssl svg svga tcpd tetex tiff truetype truetype-fonts type1-fonts v4l wmf xchattext xml xml2 xmms xv xvid zlib linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
have you tried again and it's still happening? have you tried with MAKEOPTS="-j1"? What's the version of qt installed?
I've just installed the new Qt (x11-libs/3.3.4) and everything compiled fine. The failure was due to to the object declaration - just understood that. :) So I guess it's resolved now. Thanks for you reply. I'd suggest defining a strict version of Qt (>=x11-libs/3.3.4) in ebuilds for the betas. Thanks again.
Kde 3.4 beta compiles also with lower versions of QT. What was your previous version as already asked by Gregorio?
Prior to 3.3.4 on my system was 3.3.3. You're right on that, since I had heard it even before from some other people that they could successfully compile the named package with qt-3.3.3. I was too hasty on my assumption it's the qt version. However, on my system, it is the case. :)