I am trying to compile openrc-0.4.3-r2. It crashes with: x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--version-script=einfo.map -L/lib64 -Wl,-rpath=/lib64 -shared -Wl,-x \ -o libeinfo.so.1 -Wl,-soname,libeinfo.so.1 \ libeinfo.So -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld:libeinfo.So: file format not recognized; treating as linker script /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld:libeinfo.So:1: syntax error collect2: ld returned 1 exit status make[2]: *** [libeinfo.so.1] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r2/work/openrc-0.4.3/src/libeinfo' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.4.3-r2/work/openrc-0.4.3/src' make: *** [all] Error 2 * * ERROR: sys-apps/openrc-0.4.3-r2 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2722: Called die * The specific snippet of code: * emake ${MAKE_ARGS} || die "emake ${MAKE_ARGS} failed" * The die message: * emake LIBNAME=lib64 OS=Linux 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/sys-apps/openrc-0.4.3-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.4.3-r2/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. emerge openrc 2. 3. Actual Results: ERROR: sys-apps/openrc-0.4.3-r2 failed emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.0 Timestamp of tree: Wed, 29 Apr 2009 01:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2, 2.6.2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 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.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/udev/rules.d" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.supp.name/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo " LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="cs en" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam ffmpeg flac gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg jpeg2k laptop libnotify mad midi mikmod mmx mmxext mp2 mp3 mpeg multilib ncurses nls nptl nptlonly ntpl ntplonly nvidia ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection rtc samba sdl session sharedmem slang spell spl srt sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vdpau vorbis wifi wireshark xanim xcb xinerama xml xorg xulrunner 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Does the package compile when you disable ccache?
Yes it does. Is this behaviour normal? Should i close this bug?
(In reply to comment #2) > Yes it does. Is this behaviour normal? I guess you have updated gcc and forgot to clean your ccache files which would lead to such errors like yours. > Should i close this bug? Already marked as INVALID ;)