Making all in include make[2]: Entering directory `/mnt/data1/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.18/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/data1/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.18/include' Making all in disk-utils make[2]: Entering directory `/mnt/data1/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.18/disk-utils' CC mkfs.o CCLD mkfs mkfs.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[2]: *** [mkfs] Error 1 make[2]: Leaving directory `/mnt/data1/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.18/disk-utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/data1/tmp/portage/sys-apps/util-linux-2.18/work/util-linux-ng-2.18' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge util-linux-2.18 Actual Results: build fails. Expected Results: util-linux-2.18 is build and installed sprite ~ # emerge --info =sys-apps/util-linux-2.18 Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1 Timestamp of tree: Wed, 14 Jul 2010 18:45:02 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.5.4-r3, 2.6.5-r3, 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.13, 2.65-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 3.4.6-r2, 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="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-march=athlon64 -O2 -pipe" DISTDIR="/mnt/data1/gentoo-distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.switch.ch/mirror/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB nl" 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="/mnt/data1/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/jokey /usr/local/portage/layman/sunrise /usr/local/portage/layman/bitcetera /home/stefan/test/ebuilds /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl alsa amd64 apache2 arts audiofile bash-completion berkdb bzip2 cdr cjk cli cracklib crypt cups cxx dga dri dvd dvdr dvdread emul-linux-x86 encode esd exif ffmpeg flac fortran ftp gd gdbm gnutls gphoto2 gstreamer iconv ipv6 jabber jpeg jpeg2k lm_sensors maildir mime mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openal openmp osc oss pam pcre perl php png posix ppds pppd python readline reflection sdl seamonkey session spl sse sse2 ssl svg sysfs tcpd theora tiff truetype unicode usb utempter vhosts vim-syntax vorbis wmf xml xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse void evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd dummy vesa fbdev" 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, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Try without ccache.
Building without ccache worked. Is ccache an obsolete feature? Or is it only util-linux-ng that has a problem with it?
ccache is known to break with hardware and/or file system problems, it's not a recommended feature and in fact only slows down one-time builds see another bug for possible ways to debug your issue *** This bug has been marked as a duplicate of bug 79519 ***