# emerge -av --deep kdelibs The error is: Scanning dependencies of target klibloadertestmodule4 [ 12%] Building CXX object kdecore/tests/CMakeFiles/klibloadertestmodule4.dir/klibloadertestmodule4_automoc.o [ 12%] Building CXX object kdecore/tests/CMakeFiles/klibloadertestmodule4.dir/klibloadertest4_module.o Linking CXX shared module ../../lib/klibloadertestmodule4.so [ 12%] Built target klibloadertestmodule4 [ 12%] Generating org.kde.KWallet.xml qdbuscpp2xml: could not execute moc! Aborting. make[2]: *** [kdeui/org.kde.KWallet.xml] Error 1 make[1]: *** [kdeui/CMakeFiles/kdeui.dir/all] Error 2 make: *** [all] Error 2 * * ERROR: kde-base/kdelibs-4.0.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2652: Called kde4-base_src_compile * environment, line 1954: Called kde4-base_src_make * environment, line 1984: Called cmake-utils_src_make * environment, line 649: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.0.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.0.3-r1/temp/environment'. * * Messages for package kde-base/kdelibs-4.0.3-r1: * * ERROR: kde-base/kdelibs-4.0.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2652: Called kde4-base_src_compile * environment, line 1954: Called kde4-base_src_make * environment, line 1984: Called cmake-utils_src_make * environment, line 649: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.0.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.0.3-r1/temp/environment'. # emerge --info Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686) ================================================================= System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(tm) XP 2200+ Timestamp of tree: Fri, 09 May 2008 10:33:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://public.planetmirror.com/pub/gentoo/ " PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac acl alsa berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread firefox fortran gdbm glitz gnome gpm gstreamer gtk hal iconv isdnlog jpeg kde lm_sensors midi mmx mmxext mp3 mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python qt4 readline reflection sdl session spl sse ssl svg tcpd truetype unicode v4l v4l2 vorbis win32codecs x86 xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
btw, QT 4.3.4 in /usr and QT 3 in /usr/qt/3
The problem was in /etc/ld.so.conf preloaded nessus builtin qt libraries, removing /opt/nessus/lib from ld.so.conf and replacing with symlinks pointed to the systems qt 4.3.4 libraries fixed this issue.