Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281344 - kde-base/kaddressbook-4.3.0: emerge failed with collect2: ld returned 1 exit status
Summary: kde-base/kaddressbook-4.3.0: emerge failed with collect2: ld returned 1 exit ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 16:09 UTC by RCV
Modified: 2009-08-31 09:12 UTC (History)
0 users

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 RCV 2009-08-13 16:09:36 UTC
When trying to emerge kde-base/kaddressbook the build phase fails with the
following error:


[ 46%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/simpleaddresseeeditor.o                            
[ 47%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/advancedcustomfields.o                             
[ 47%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/customfieldswidget.o                               
[ 48%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/freebusywidget.o                                   
[ 49%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/searchmanager.o                                    
[ 49%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/imeditwidget.o                                     
[ 50%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/kabtools.o                                         
[ 50%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/distributionlistentryview.o                        
[ 51%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/distributionlisteditor.o                           
[ 52%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/distributionlistpicker.o                           
[ 52%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/serviceadaptor.o                                   
[ 53%] Building CXX object kaddressbook/CMakeFiles/kaddressbookprivate.dir/kaddressbookcore_interface.o                       
Linking CXX shared library ../lib/libkaddressbookprivate.so                                                                   
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld:CMakeFiles/kaddressbookprivate.dir/kaddressbookservice.o: file format not recognized; treating as linker script                                                                   
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld:CMakeFiles/kaddressbookprivate.dir/kaddressbookservice.o:1: syntax error                                                                                                          
collect2: ld returned 1 exit status                                                                        
make[2]: *** [lib/libkaddressbookprivate.so.4.3.0] Error 1                                                                   
make[1]: *** [kaddressbook/CMakeFiles/kaddressbookprivate.dir/all] Error 2                                                   
make: *** [all] Error 2                                                                                                      
 *                                                                                                                            
 * ERROR: kde-base/kaddressbook-4.3.0 failed.                                                                                 
 * Call stack:                                                                                                                
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3929:  Called kde4-meta_src_compile
 *             environment, line 3040:  Called kde4-base_src_compile
 *             environment, line 2732:  Called cmake-utils_src_compile
 *             environment, line 1002:  Called cmake-utils_src_make
 *             environment, line 1082:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 *


Reproducible: Always

Steps to Reproduce:
1. emerge kaddressbook


Actual Results:  
Failed to emerge kde-base/kaddressbook-4.3.0




#emerge --info
---------------------------------------
Portage 2.2_rc38 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4.RCV i686)
=================================================================                                           
System uname: Linux-2.6.30-gentoo-r4.RCV-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-2.0.1                   
Timestamp of tree: Thu, 13 Aug 2009 12:00:02 +0000                                                          
ccache version 2.4 [enabled]                                                                                
app-shells/bash:     4.0_p28                                                                                
dev-java/java-config: 2.1.8-r1                                                                              
dev-lang/python:     2.6.2-r1                                                                               
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.0                                                                                    
sys-devel/autoconf:  2.13, 2.63-r1                                                                          
sys-devel/automake:  1.7.9-r1, 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 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer"                                         
CHOST="i686-pc-linux-gnu"                                                                                   
CONFIG_PROTECT="/etc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
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="/usr/local/portage/layman/rion /usr/local/portage/layman/rostov /usr/local/portage/layman/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi addbookmarks akonadi alias alsa amr amrnb amrwb asf aspell automount autoreplace bindist bittorrent branding bzip2 calendar cdaudio cddb cdparanoia cdr chm cleartype cli connectionstatus contactnotes cracklib crypt cups curl dbus dirac djvu dri dts dvd dvdr ebook eds emboss encode evo exif faac faad fasttrack ffmpeg firefox flac fontconfig fortran ftp gd gdbm gif glib gnutella gphoto2 gpm groupwise gs hal hfs highlight history iconv id3tag imagemagick inkjar irc isdnlog jng jpeg jpeg2k kde kexif kipi lame lapack latex lcms libnotify libsamplerate live mad magic mikmod mmap mmx mmxext mng mp3 mp4 mpeg mplayer mtp mudflap musepack mysql netmeeting network nis nls nowlistening npp nptl nptlonly nsplugin ogg oggvorbis openexr opengl openmp pam pcre pdf plasma plotutils png ppds pppd q32 q8 qt qt3support qt4 quicktime quiktime radio rar rcc readline reflection samba schroedinger semantic-desktop session sndfile speex spell spl srt sse ssl startup-notification statistics svg sysfs syslog tcpd tetex texteffect theora thumbnail tiff toolbar translator truetype umfpack unicode usb userlocales v4l2 vidix visualization vorbis wavpack webkit webpresence win32codecs winpopup wmf x264 x86 xcb xcomposite xine xml xml2 xmp xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="intel8x0" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="v4l2 v4l radeon"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-08-13 17:35:08 UTC
(In reply to comment #0)
> Linking CXX shared library ../lib/libkaddressbookprivate.so                     
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld:CMakeFiles/kaddressbookprivate.dir/kaddressbookservice.o:
> file format not recognized; treating as linker script                           
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld:CMakeFiles/kaddressbookprivate.dir/kaddressbookservice.o:1:
> syntax error                                                                    

> FEATURES="assume-digests ccache collision-protect distlocks fixpackages
> metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms
> strict unmerge-logs unmerge-orphans userfetch"

Have you tried disabling ccache?
Comment 2 RCV 2009-08-13 20:06:03 UTC
> Have you tried disabling ccache?

Thank you. Sorry to trouble you.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-08-14 22:00:36 UTC
(In reply to comment #2)
> > Have you tried disabling ccache?
> 
> Thank you. Sorry to trouble you.

No trouble. Please let us know if that works for you or not.
Comment 4 Maciej Mrozowski gentoo-dev 2009-08-31 09:12:44 UTC
I experience similar issue and ccache was the reason of this problem. I suppose it's the same thing in this case.
I'm marking it as resolved, please reopen if disabling ccache doesn't fix the problem for you.