Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331629 - media-libs/libcanberra-0.25 fails with install: error: relink
Summary: media-libs/libcanberra-0.25 fails with install: error: relink
Status: RESOLVED DUPLICATE of bug 253862
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-08 09:36 UTC by Richard
Modified: 2010-08-08 23:16 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 Richard 2010-08-08 09:36:07 UTC
libcanberra fails to install properly.

Reproducible: Always

Steps to Reproduce:
1.emerge sync  && emerge -auDv world
2.libcanberra is in the update list , so it's being rebuilt.
3.fails with the error message : 

Actual Results:  
libtool: install: warning: relinking `libcanberra-gtk-module.la'
libtool: install: (cd /var/tmp/portage/media-libs/libcanberra-0.25/work/libcanberra-0.25/src; /bin/sh /var/tmp/portage/media-libs/libcanberra-0.25/work/libcanberra-0.25/libtool  --silent --tag CC --mode=relink i686-pc-linux-gnu-gcc -std=gnu99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O2 -march=athlon-xp -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -fno-strict-aliasing -avoid-version -module -export-dynamic -Wl,-O1 -Wl,--as-needed -o libcanberra-gtk-module.la -rpath /usr/lib/gtk-2.0/modules libcanberra_gtk_module_la-canberra-gtk-module.lo -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 libcanberra.la libcanberra-gtk.la -lm -inst-prefix-dir /var/tmp/portage/media-libs/libcanberra-0.25/image/)
/var/tmp/portage/media-libs/libcanberra-0.25/work/libcanberra-0.25/src/.libs/libcanberra-gtk.so: file not recognized: File truncated
collect2: ld returned 1 exit status
libtool: install: error: relink `libcanberra-gtk-module.la' with the above command before installing it
make[2]: *** [install-gtkmoduleLTLIBRARIES] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: install: /usr/bin/install -c .libs/libcanberra-gtk.so.0.1.6T /var/tmp/portage/media-libs/libcanberra-0.25/image//usr/lib/libcanberra-gtk.so.0.1.6
libtool: install: (cd /var/tmp/portage/media-libs/libcanberra-0.25/image//usr/lib && { ln -s -f libcanberra-gtk.so.0.1.6 libcanberra-gtk.so.0 || { rm -f libcanberra-gtk.so.0 && ln -s libcanberra-gtk.so.0.1.6 libcanberra-gtk.so.0; }; })
libtool: install: (cd /var/tmp/portage/media-libs/libcanberra-0.25/image//usr/lib && { ln -s -f libcanberra-gtk.so.0.1.6 libcanberra-gtk.so || { rm -f libcanberra-gtk.so && ln -s libcanberra-gtk.so.0.1.6 libcanberra-gtk.so; }; })
libtool: install: /usr/bin/install -c .libs/libcanberra-gtk.lai /var/tmp/portage/media-libs/libcanberra-0.25/image//usr/lib/libcanberra-gtk.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[2]: Leaving directory `/var/tmp/portage/media-libs/libcanberra-0.25/work/libcanberra-0.25/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-libs/libcanberra-0.25/work/libcanberra-0.25/src'
make: *** [install-recursive] Error 1
 * ERROR: media-libs/libcanberra-0.25 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 1384:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die;


Expected Results:  
successfull build

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r0, 2.6.33-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-i686-AMD_Athlon-tm-_XP_2400+-with-gentoo-2.0.1
Timestamp of tree: Sat, 07 Aug 2010 10:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.6, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  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:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-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/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="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage/layman/ladi /usr/local/portage/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa aspell berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk gtkspell hal iconv ipv6 jack jackmidi jpeg kde lash lcms ldap libnotify mad midi mikmod mmx mng modules mouse mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sql ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis webkit x264 x86 xcb xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" 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="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Richard 2010-08-08 14:43:32 UTC
seems that it's an encore to an older bug : 253862

but what[s the solution here ? 
libtool Installed versions:  2.2.6b(1.5)(01:35:08 12/10/09)(-test -vanilla)
Comment 2 Richard 2010-08-08 23:03:52 UTC
(In reply to comment #1)
> seems that it's an encore to an older bug : 253862
> 
> but what[s the solution here ? 
> libtool Installed versions:  2.2.6b(1.5)(01:35:08 12/10/09)(-test -vanilla)
> 
MAKEOPTS="-j1" in make.conf got me through the build ,still i think it should be fixed.
Works for me for now.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-08-08 23:16:07 UTC

*** This bug has been marked as a duplicate of bug 253862 ***