When trying to compile compiz, it fails with /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:.libs/screenshot.o: file format not recognized; treating as linker script and then consequent error messages and die messages. Reproducible: Always Steps to Reproduce: 1. Try to install compiz 2. Wait 3. Note error Actual Results: Install fails :( Expected Results: Install succeeds! Using paludis, but not sure that should make a difference. Output of 'paludis --info' paludis 0.38.2 Paludis build information: Compiler: CXX: /usr/lib/ccache/bin/g++ 4.3.4 CXXFLAGS: -O2 -march=pentium4 -pipe LDFLAGS: -Wl,-O1 DATE: 2009-08-19T17:55:21+0000 Libraries: C++ Library: GNU libstdc++ 20090804 Paths: DATADIR: /usr/share LIBDIR: /usr/lib LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: /usr/lib/ruby/site_ruby/1.8/i686-linux System: Linux GUESTROOM 2.6.30-gentoo-r4 #7 SMP Sun Aug 16 19:10:14 EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux Reduced Privs: reduced_uid: 108 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 1011 reduced_gid->name: paludisbuild Environment: Format: paludis Config dir: /etc/paludis World file: /var/db/pkg/world Repository layman: format: unavailable location: /var/db/paludis/repositories/layman sync: tar+http://git.exherbo.org/layman_repositories.tar.bz2 sync_options: Repository installed-virtuals: format: installed_virtuals root: / Repository virtuals: format: virtuals Repository gentoo: format: ebuild location: /usr/portage append_repository_name_to_write_cache: true binary_destination: false binary_keywords: binary_uri_prefix: builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass ignore_deprecated_profiles: false layout: traditional names_cache: /usr/portage/.cache/names newsdir: /usr/portage/metadata/news profile_eapi_when_unspecified: 0 profiles: /usr/portage/profiles/default/linux/x86/2008.0 securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata Package information: app-admin/eselect-compiler: (none) app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9 dev-lang/python: 2.5.4-r3 2.6.2-r1 3.1.1 dev-python/pycrypto: (none) dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 dev-util/confcache: (none) sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13 2.63-r1 sys-devel/automake: 1.10.2 1.11 1.9.6-r2 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 (for sys-kernel/linux-headers::installed) Repository installed: format: vdb location: /var/db/pkg builddir: /var/tmp/paludis eapi_when_unknown: 0 names_cache: /var/db/pkg/.cache/names provides_cache: /var/db/pkg/.cache/provides root: / Repository THE: format: ebuild location: /var/paludis/repositories/THE append_repository_name_to_write_cache: true binary_destination: false binary_keywords: binary_uri_prefix: builddir: /var/tmp/paludis cache: /var/empty distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass /var/paludis/repositories/THE/eclass ignore_deprecated_profiles: false layout: traditional master_repository: gentoo names_cache: /var/paludis/repositories/THE/.cache/names newsdir: /var/paludis/repositories/THE/metadata/news profile_eapi_when_unspecified: 0 profiles: /usr/portage/profiles/default/linux/x86/2008.0 securitydir: /var/paludis/repositories/THE/metadata/glsa setsdir: /var/paludis/repositories/THE/sets sync: git://zen-sources.org/zen/THE.git sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata No packages were specified on the command line, so detailed information is not available (Paludis can display detailed information for both installed and installable packages). So if you're reporting a bug in cat/pkg, use 'paludis --info cat/pkg' instead. Output of "emerge --info" Performing Global Updates: /usr/portage/profiles/updates/3Q-2009 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' #='/var/db update' @='/var/db move' s='/var/db SLOT move' %='binary move' S='binary SLOT move' p='update /etc/portage/package.*' .............................................. Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 31 Aug 2009 05:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9 dev-lang/python: 2.5.4-r3, 2.6.2-r1, 3.1.1 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.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 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="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" 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 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages 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" 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.gentoo.org/gentoo-portage" USE="X acl autoipd avahi bash-completion berkdb bzip2 cairo cli consolekit cracklib crypt cups dbus dri en evdev firefox fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog libnotify mdnsresponder-compat mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre perl pppd python readline reflection ruby sdl session spell spl ssl svg sysfs tcpd threads unicode usb vmware x86 xorg xulrunner xvmc 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="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 202792 [details] Output log of the install
This looks like a parallel make/ccache problem.
(In reply to comment #2) > This looks like a parallel make/ccache problem. > So...how do I resolve the issue?
Start by disabling ccache and trying to build compiz again. If that fails, try with MAKEOPTS="-j1".
Disabling ccache fixed it. Thanks!