Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278844 - media-libs/libcanberra-0.14 fails to emerge
Summary: media-libs/libcanberra-0.14 fails to emerge
Status: RESOLVED DUPLICATE of bug 253862
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:
Depends on:
Blocks:
 
Reported: 2009-07-23 15:33 UTC by Jeff Wood
Modified: 2009-07-23 20:53 UTC (History)
0 users

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


Attachments
Build Log, as requested. (build.log,61.28 KB, text/plain)
2009-07-23 18:36 UTC, Jeff Wood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Wood 2009-07-23 15:33:28 UTC
Just a weird issue.  latest libcanberra failed to emerge saying "libtool: install: warning: remember to run `libtool --finish /usr/lib/libcanberra-0.14'"

I emerged libcanberra-0.11-r5 and it installed.  Resumed my emerge -av gnome-light and after emerging some other packages, libcanberra-0.14 emerged just fine.

Any info you need I'll be happy to provide.
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-07-23 16:06:10 UTC
1)° What is your version of libtool ? (or at least what was your version of libtool when emerge failed ?)

2)° Can you attach the output of 'emerge --info' ?

3)° "after emerging some other packages, libcanberra-0.14 emerged
just fine."  ie ? what are these other packages ? 
Comment 2 Jeff Wood 2009-07-23 17:18:29 UTC
Output from libtool --version
Jeff-Gentoo / # libtool --version
ltmain.sh (GNU libtool) 2.2.6
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


And emerge --info:

Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.29-tuxonice-r3-i686-with-gentoo-2.0.0
Timestamp of tree: Wed, 22 Jul 2009 05:30:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.0-r2
sys-apps/openrc:     0.4.2-r1
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 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.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/share/config/kdm/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch preserve-libs 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 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5 -s "
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/portage/local/layman/kde-testing /usr/portage/local/layman/rion /usr/portage/local/layman/gfxboot_overlay /usr/portage/local/layman/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi aiglx aim alsa arts artswrappersuid audiofile avahi berkdb bidi bluetooth bzip2 cairo cdda cddb cdr chm cjk cli config_wizard consolekit cpudetection cracklib crypt css cups dbox2 dbus dga dri dts dv dvb dvd dvdr dvdread dxr3 emboss encode extramodules fam fame fat fbcondecor fbsplash ffmpeg fftw firefox flac flash foomatic-db fortran freetype gcj gdbm gif gimpprint gnome gnutls gphoto2 gpm gs gsm gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda isdnlog jabber jfs jingle joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos kickoff kipi lame lcd lcms ldap libnotify live lj lm_sensors logitech-mouse lzo mad mail mdnsresponder-compat midi mjpeg mmx mng mozdevelop mp3 mp3rtp mpeg msn mudflap musepack musicbrainz ncurses network new-login nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcmcia pcre pda pdf perl png povray ppds pppd python qt3support qt4 quicktime quotas rar rdesktop readline reflection reiserfs rss scanner sdl session slp sms speex spell spl ssl startup-notification stream svg synaptics sysfs tcpd theora tiff tracker truetype udev unicode usb v4l v4l2 visualization voice vorbis weather wifi win32codecs wmf x264 x86 xcb xfs xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo zeroconf 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" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I can't say exactly what packages were emerged as it was a resume of "emerge -av gnome-light"

I expected libcanberra to be the first package but portage shuffled some others in there first then blew thru libcanberra.

I think I can recreate this if you feel it's that important; I'll have to restore my backed up base system.

I mentioned it here just as an oddity, rather than a real bug, more to help someone that might bump into this.

  
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-23 18:28:07 UTC
please attach build.log or config.log as appropriate.
Comment 4 Jeff Wood 2009-07-23 18:36:05 UTC
Created attachment 198937 [details]
Build Log, as requested.
Comment 5 Jeff Wood 2009-07-23 18:43:13 UTC
Found this in the log:

libtool: install: /usr/bin/install -c .libs/libcanberra-gtk.so.0.1.0T /var/tmp/portage/media-libs/libcanberra-0.14/image//usr/lib/libcanberra-gtk.so.0.1.0
libtool: install: (cd /var/tmp/portage/media-libs/libcanberra-0.14/image//usr/lib && { ln -s -f libcanberra-gtk.so.0.1.0 libcanberra-gtk.so.0 || { rm -f libcanberra-gtk.so.0 && ln -s libcanberra-gtk.so.0.1.0 libcanberra-gtk.so.0; }; })
libtool: install: error: relink `libcanberra-gtk-module.la' with the above command before installing it

I think when merging over an existing version this runs through fine, but fails on a new install.

Just realizing I didn't make that clear to begin with.  This is a new install.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-23 20:18:56 UTC
actually the real error is here:

libtool: relink: i686-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libcanberra_gtk_module_la-canberra-gtk-module.o   -L/var/tmp/portage/media-libs/libcanberra-0.14/work/libcanberra-0.14/src/.libs -Wl,--as-needed -L/var/tmp/portage/media-libs/libcanberra-0.14/image//usr/lib -L/usr/lib -lcanberra-gtk -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lcairo -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lXrender -lX11 -lxcb-xlib -lxcb -lXau -lXdmcp -lpango-1.0 -lfontconfig -lfreetype -lz -lexpat -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lrt -lglib-2.0 -lcanberra -lvorbisfile -lvorbis -logg -lltdl -ldl -lm  -pthread -march=athlon-xp -Wl,-O1 -Wl,--sort-common -pthread   -pthread -Wl,-soname -Wl,libcanberra-gtk-module.so -o .libs/libcanberra-gtk-module.so
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcanberra-gtk
collect2: ld returned 1 exit status


Could you paste the output of emerge -pv libcanberra ?
Comment 7 Jeff Wood 2009-07-23 20:24:26 UTC
Output of emerge --pretend --verbose libcanberra

It did install properly under .11, then updated fine to .14.


Jeff-Gentoo / # emerge -pv libcanberra

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libcanberra-0.14  USE="alsa gstreamer gtk -doc -oss -pulseaudio" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Jeff-Gentoo / #
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-23 20:53:44 UTC
Actually this looks like bug #253862, so we just need to commit the patch there.

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

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