Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336134 - mail-client/evolution-2.30.2-r1 fail to compile with libcomposer_la-e-composer-text-header.o: file format not recognized; treating as linker script
Summary: mail-client/evolution-2.30.2-r1 fail to compile with libcomposer_la-e-compose...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 336364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-05 20:02 UTC by yann
Modified: 2010-09-07 16:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yann 2010-09-05 20:02:55 UTC
evolution fail to compile. Problem of file format when libtool compile libcomposer.la in the folder evolution-2.30.2/composer with a file in .libs, first time libcomposer_la-e-composer-private.o and now libcomposer_la-e-composer-text-header.o

Reproducible: Always

Steps to Reproduce:
1.emerge evolution (the current version is 2.30.2-r1)
2.
3.

Actual Results:  
make: *** [all] Erreur 2
 * ERROR: mail-client/evolution-2.30.2-r1 failed:
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5918:  Called gnome2_src_compile
 *   environment, line 3498:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 



my gentoo is new, i rebuilt it from scratch.

here is the snippet of build.log (in /var/tmp/portage)
Making all in composer
make[2]: entrant dans le repertoire « /var/tmp/portage/mail-client/evolution-2.30.2-r1/work/evolution-2.30.2/composer »
LC_ALL=C /usr/bin/intltool-merge -x -u /tmp mail-composer.error.xml mail-composer.error
Merging translations into mail-composer.error.
CREATED mail-composer.error
make  all-am
make[3]: entrant dans le repertoire « /var/tmp/portage/mail-client/evolution-2.30.2-r1/work/evolution-2.30.2/composer »
  CC     libcomposer_la-e-composer-actions.lo
  CC     libcomposer_la-e-composer-autosave.lo
  CC     libcomposer_la-e-composer-header.lo
  CC     libcomposer_la-e-composer-header-table.lo
  CC     libcomposer_la-e-composer-from-header.lo
  CC     libcomposer_la-e-composer-name-header.lo
  CC     libcomposer_la-e-composer-post-header.lo
  CC     libcomposer_la-e-composer-private.lo
  CC     libcomposer_la-e-composer-text-header.lo
  CC     libcomposer_la-e-msg-composer.lo
  CCLD   libcomposer.la
/usr/lib/gcc/i486-pc-linux-gnu/4.3.4/../../../../i486-pc-linux-gnu/bin/ld:.libs/libcomposer_la-e-composer-text-header.o: file format not recognized; treating as linker script
/usr/lib/gcc/i486-pc-linux-gnu/4.3.4/../../../../i486-pc-linux-gnu/bin/ld:.libs/libcomposer_la-e-composer-text-header.o:1: syntax error
collect2: ld returned 1 exit status
make[3]: *** [libcomposer.la] Erreur 1

the use: 
mail-client/evolution-2.30.2-r1  USE="gstreamer python -crypt -doc -kerberos -ldap -networkmanager -nntp -pda -profile -ssl" 

the emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.35-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 01 Sep 2010 13:00:23 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=i486 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i486 -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="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arts bash-completion berkdb bluetooth branding bzip2 cairo cdio cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif extras fam fax fbsplash firefox flac fortran gcj gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 java java6 jpeg lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mysql nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection scanner sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vim-syntax vorbis x264 x86 xcb xml xorg xulrunner xv xvid 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 cgi cgid 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="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev intel i810 vesa i128 i740 vga" XFCE_PLUGINS="brightness menu trash" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-09-05 20:17:17 UTC
> ccache version 2.4 [enabled]

Try without ccache.
Comment 2 yann 2010-09-06 06:44:21 UTC
(In reply to comment #1)
> > ccache version 2.4 [enabled]
> 
> Try without ccache.
> 

thanks Samuli. I re emerged -DuN world. Now, it works fine. I don't know what happened, but evolution is compiled ...
Yann

Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-09-06 12:18:26 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > > ccache version 2.4 [enabled]
> > 
> > Try without ccache.
> > 
> 
> thanks Samuli. I re emerged -DuN world. Now, it works fine. I don't know what
> happened, but evolution is compiled ...
> Yann
> 

glad to hear it, you might want to consider completely getting rid of ccache from FEATURES. it's generally not very useful, except if you compile the same package over and over again.

see, http://blog.flameeyes.eu/2010/07/12/debunking-ccache-myths-redux
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-09-07 16:05:08 UTC
*** Bug 336364 has been marked as a duplicate of this bug. ***