On an x86 architecture with ~x86 accept flag, qt-dbus-4.5.2 does not compile. qt-dbus-4.5.1 does compile. qt-dbus-4.5.2 does compile on an ~amd64 architecture. Examination of the working tree shows many object files created of zero length ( see below) On entering the qt-dbus-4.5.2/work/qt-x11-opensource-src-4.5.2/src/dbus directory, a "make clean; make" will correctly build the files!!! Reproducible: Always Actual Results: ls -l of the object directory showing bad files total 376 -rw-r--r-- 1 root root 0 Aug 16 11:47 moc_qdbusabstractadaptor.o -rw-r--r-- 1 root root 0 Aug 16 11:47 moc_qdbusconnection.o -rw-r--r-- 1 root root 0 Aug 16 11:47 moc_qdbusconnection_p.o -rw-r--r-- 1 root root 0 Aug 16 11:47 moc_qdbusconnectioninterface.o -rw-r--r-- 1 root root 0 Aug 16 11:47 moc_qdbuspendingcall_p.o -rw-r--r-- 1 root root 0 Aug 16 11:47 moc_qdbusserver.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbus_symbols.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusabstractadaptor.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusabstractinterface.o -rw-r--r-- 1 root root 51280 Aug 16 11:47 qdbusargument.o -rw-r--r-- 1 root root 33408 Aug 16 11:47 qdbusconnection.o -rw-r--r-- 1 root root 14844 Aug 16 11:47 qdbusconnectioninterface.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbuscontext.o -rw-r--r-- 1 root root 7236 Aug 16 11:47 qdbuserror.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusextratypes.o -rw-r--r-- 1 root root 123516 Aug 16 11:47 qdbusintegrator.o -rw-r--r-- 1 root root 14412 Aug 16 11:47 qdbusinterface.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusinternalfilters.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusintrospection.o -rw-r--r-- 1 root root 20800 Aug 16 11:47 qdbusmessage.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusmetaobject.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusmetatype.o -rw-r--r-- 1 root root 3576 Aug 16 11:47 qdbusmisc.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbuspendingcall.o -rw-r--r-- 1 root root 3132 Aug 16 11:47 qdbuspendingreply.o -rw-r--r-- 1 root root 8504 Aug 16 11:47 qdbusreply.o -rw-r--r-- 1 root root 3324 Aug 16 11:47 qdbusserver.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusthread.o -rw-r--r-- 1 root root 25364 Aug 16 11:47 qdbusutil.o -rw-r--r-- 1 root root 0 Aug 16 11:47 qdbusxmlgenerator.o -rw-r--r-- 1 root root 37688 Aug 16 11:47 qdbusxmlparser.o This is on a laptop with a clean install of ~x86. The entire world was recompiled the the bug persists. Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r5-i686-Intel-R-_Celeron-R-_M_CPU_430_@_1.73GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 15 Aug 2009 14:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-lang/python: 2.5.4-r3, 2.6.2-r1, 3.1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/postfix /etc/samba /etc/sasl2 /etc/squid" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -pipe -mno-tls-direct-seg-refs" DISTDIR="/var/portage/distfiles" FEATURES="ccache distlocks fixpackages keepwork parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/portage" SYNC="rsync://192.168.95.254/gentoo-portage" USE="acl acpi alsa apache2 berkdb bzip2 cairo cli cracklib crypt cups dbus dri fam fortran gif gmp gpm gtk hal iconv isdnlog jpeg lcms mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png postgres pppd python qt3support readline reflection sasl sdl session spl ssl svg sysfs tcpd tiff unicode usb x86 xorg zeroconf 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 mmap_emul 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="intel vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Try again with ccache disabled.
removing ccache fixed it! Thanks v much!