During an upgrade of my system the compilation of qt-webkit-4.6.3 failed with the error: obj/release/RenderSVGText.o: file not recognized: File truncated collect2: ld returned 1 exit status Reproducible: Always Steps to Reproduce: 1. emerge -v =x11-libs/qt-webkit-4.6.3 2. 3. Actual Results: The compilation fails with the error given above. emerge --info Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_T4200_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 25 Jun 2010 01:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA PUEL" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--delete-after --timeout=500" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage" USE="X acl berkdb bzip2 cdr cli cracklib crypt cxx db2 dbus dri dvd emacs fortran gdbm gpm iconv ipv6 jpeg kde modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt4 readline reflection session spl ssl symlink sysfs tcpd truetype udev unicode x86 xorg 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 virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS emerge -pqv =x11-libs/qt-webkit-4.6.3 [ebuild U ] x11-libs/qt-webkit-4.6.3 [4.6.2-r1] USE="dbus exceptions kde (-aqua) -debug -pch"
build.log: http://pastebin.com/F6rg14jA
First thing - you shouldn't use pastebins for bugzilla reports. Most common reason for errors like this are parallel make/ccache problems. Though, you may simply be running out of disk space/memory.
(In reply to comment #2) > First thing - you shouldn't use pastebins for bugzilla reports. > > Most common reason for errors like this are parallel make/ccache problems. > > Though, you may simply be running out of disk space/memory. > I used pastebin because the build.log file was larger than the upload limit for attachments. The compilation works with MAKEOPTS="-j1" instead of MAKEOPTS="j2".
when using FEATURES="ccache" you should expect such problems. Please verify it works with ccache disabled
(In reply to comment #4) > when using FEATURES="ccache" you should expect such problems. > > Please verify it works with ccache disabled > I can verify that it works with ccache disabled. Should it not work also with ccache enabled?
(In reply to comment #5) > (In reply to comment #4) > > when using FEATURES="ccache" you should expect such problems. > > > > Please verify it works with ccache disabled > > > I can verify that it works with ccache disabled. Should it not work also with > ccache enabled? > It is not a webkit failure. You should expect such corruption when using ccache