During emerge -e world, pkgconfig-0.23 failed to build (on ~x86 hardened system including hardened-development overlay). ld emits error message "file not recognized: File truncated" (Possibly notable: I am using Linux-2.6.33-hardened-r1, which I know is not supported, but I'm not sure if that's pertinent in this case. If this is linking against some kernel headers or something, and I should recompile against the hardened kernel in portage, please forgive my ignorance and let me know.) Reproducible: Always Steps to Reproduce: n/a Actual Results: Build log attached. What I believe to be the most pertinent excerpt: ------------------------------------------------------------------------------- /bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -fomit-frame-pointer -Wl,-O1,--hash-style=gnu -o pkg-config pkg.o partial-glib.o parse.o main.o findme.o popt.o poptconfig.o popthelp.o poptparse.o glib-1.2.10/libglib.la mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--hash-style=gnu -o pkg-config pkg.o partial-glib.o parse.o main.o findme.o popt.o poptconfig.o popthelp.o poptparse.o glib-1.2.10/.libs/libglib.a pkg.o: file not recognized: File truncated collect2: ld returned 1 exit status make[2]: *** [pkg-config] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/pkgconfig-0.23/work/pkg-config-0.23' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/pkgconfig-0.23/work/pkg-config-0.23' make: *** [all] Error 2 ------------------------------------------------------------------------------ Expected Results: n/a tempest ~ # emerge --info Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-hardened-r1 i686) ================================================================= System uname: Linux-2.6.33-hardened-r1-i686-Pentium_III_-Coppermine-with-gentoo-2.0.1 Timestamp of tree: Thu, 29 Apr 2010 17:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" 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://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/ http://open-systems.ufl.edu/mirrors/gentoo " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1,--hash-style=gnu" LINGUAS="en_US en" 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="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/hardened-development /var/lib/layman/anarchy /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="berkdb bzip2 caps cli cracklib crypt cxx dri gdbm gpm hardened iconv modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic python readline reflection session spl ssl sysfs syslog unicode urandom x86 xorg zlib" ALSA_CARDS="emu10k1" 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="evdev" KERNEL="linux" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 229767 [details] dev-util:pkgconfig-0.23:20100430-031111.log Build log attached.
Created attachment 229769 [details] emerge --info =dev-util/pkgconfig-0.23 > emerge.info
Try without ccache enable.
Thank you for pointing me toward ccache. This fixed it: CCACHE_RECACHE=true emerge -1 pkgconfig I assume this was my own error and have marked this resolved as invalid. Thanks again.