Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168427 - media-sound/rhythmbox-0.9.8 fails to build with --as-needed
Summary: media-sound/rhythmbox-0.9.8 fails to build with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-02-26 09:06 UTC by Florian Scandella
Modified: 2007-03-05 23:50 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,894.50 KB, text/plain)
2007-02-26 09:08 UTC, Florian Scandella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Scandella 2007-02-26 09:06:54 UTC
media-sound/rhythmbox-0.9.8 fails with LDFLAGS="-Wl,O1 -Wl,--as-needed", but builds fine with LDFLAGS="-Wl,-O1"

[ebuild   R   ] media-sound/rhythmbox-0.9.8  USE="avahi daap dbus flac hal ipod keyring libnotify lirc mad musicbrainz python tagwriting vorbis -debug -doc -howl"


Reproducible: Always




Portage 2.1.2-r11 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.9
Timestamp of tree: Mon, 26 Feb 2007 07:01:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -fweb -ftracer -fgcse-after-reload -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -fweb -ftracer -fgcse-after-reload -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.inode.at ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/  http://gentoo.osuosl.org http://mirror.phy.olemiss.edu/mirror/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="  "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext S3TC X a52 aac aalib accessibility acl acpi aiglx alsa amr aoss artworkextra async audiofile avahi bash-completion bcp beagle berkdb bitmap-fonts bjam bonobo boo boost browserplugin bzip2 c++ cairo caps cddb cdr clamav cli cluster cracklib crypt css cups curl curlwrappers daap dbus dga divx dmi dnd dpms dri dts dv dvb dvd dvdr dvdread dvi dynamic eds effects elf encode erandom evo evolution exif expat extraengine faad fbcon fbdev festival ffmpeg fftw firefox flac fluidsynth fontconfig foomaticdb fortran freetype ftp fuse gb gcc-libffi gcj gd gdbm gedit gif gimp gimpprint glade glibc-omitfp glitz glut gmedia gnome gnomecanvas gnomedb gnustep gnutls grammar graphviz gsnd gstreamer gtk gtk2 gtkhtml hal iconv icu idn inkjar intl ipod ipv6 irda isdnlog java javamail javascript joystick jpeg jpeg2k jsch jta kerberos keyring kqemu lcd lcms libedit libg++ libgda libnotify libsamplerate lirc log4j logrotate lzo lzw mad magic mailwrapper math matroska mbox md5sum mdb midi mikmod mixer mmap mmx mmxext mng mono mozbranding moznocompose moznoirc moznomail mozsvg mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mpm-prefork mpm-threadpool mpm-worker musepack musicbrainz mythtv native nautilus ncurses net network nls no-old-linux no-seamonkey nodod nogecko-sdk nomalloccheck nomotif notfc nptl nptlonly nsplugin nvidia oav objc objc++ odk offensive ogg ole openal opengl oss pam pam_chroot pam_console pam_timestamp pcre pdf perl pic plugin png posix postgres ppds pppd pthreads pulseaudio pyste python quicktime radeon readline real realmedia reflection regexp rtc samba sasl session slang slp sndfile snmp soap socks5 speex spell spl sql sqlite sqlite3 sse ssl startup-notification stencil-buffer svg t1lib tagwriting tcpd tetex theora thesaurus threads threadsafe tiff timidity truetype truetype-fonts type1 type1-fonts unicode usb userlocales utf8 v4l v4l2 vdr vidix virus-scan vnc vorbis win32codecs wma wmf wmp wordperfect wxwindows x264 x86 xcb xerces xforms xinerama xml xorg xosd xpm xprint xrandr xscreensaver xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="loopback mpu401 seq-dummy usb-audio via82xx virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="dmc evdev joystick keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv nvidia v4l vesa vga none"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Scandella 2007-02-26 09:08:20 UTC
Created attachment 111258 [details]
build.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 09:10:37 UTC
Pasting here for search purposes...

<snip>
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -mtune=athlon-xp -march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -fweb -ftracer -fgcse-after-reload -pipe  -Wl,-O1 -Wl,--as-needed -o rhythmbox -export-dynamic -no-undefined main.o librbshell.la ../corelib/librhythmbox-core.la ../sources/libsourcesimpl.la ../podcast/librbpodcast.la ../plugins/librbplugins.la ../rhythmdb/librhythmdb.la -lsoup-2.2 -lglib-2.0 -lxml2 -lgnutls   -lnotify -lgtk-x11-2.0 -ldbus-glib-1 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -ldbus-1 -lgobject-2.0 -lglib-2.0   -lpython2.4 ../bindings/python/rb.la -pthread -lgnome-media-profiles -lglade-2.0 -lgnome-2 -lpopt -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0     -pthread -ltotem-plparser -lgtk-x11-2.0 -lxml2 -lgnomevfs-2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -lhal -ldbus-1   -pthread -lnautilus-burn -lgthread-2.0 -lrt -lgtk-x11-2.0 -lhal -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -ldbus-1   -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lbonobo-activation -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnomevfs-2 -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2 -lglib-2.0   -lmusicbrainz   -lz 
i686-pc-linux-gnu-gcc -mtune=athlon-xp -march=athlon-xp -O2 -fomit-frame-pointer -frename-registers -fweb -ftracer -fgcse-after-reload -pipe -Wl,-O1 -Wl,--as-needed -o .libs/rhythmbox main.o -pthread -pthread -pthread -pthread -pthread -Wl,--export-dynamic  ./.libs/librbshell.a ../corelib/.libs/librhythmbox-core.so ../sources/.libs/libsourcesimpl.a ../podcast/.libs/librbpodcast.a ../plugins/.libs/librbplugins.a ../rhythmdb/.libs/librhythmdb.a /usr/lib/libsoup-2.2.so /usr/lib/libgnutls.so /usr/lib/libnotify.so ../bindings/python/.libs/rb.a -lpython2.4 -lpthread -lutil /usr/lib/libgnome-media-profiles.so /usr/lib/libdbus-glib-1.so /usr/lib/libtotem-plparser.so /usr/lib/libnautilus-burn.so /usr/lib/libhal.so /usr/lib/libdbus-1.so /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so -lm /usr/lib/libgstbase-0.10.so /usr/lib/libgstreamer-0.10.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libxml2.so /usr/lib/libglib-2.0.so /usr/lib/libmusicbrainz.so -lz
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_close'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_set_timeout'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_is_initted'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_attach_to_widget'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_new'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_set_hint_int32'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_set_icon_from_pixbuf'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_init'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_show'
../corelib/.libs/librhythmbox-core.so: undefined reference to `notify_notification_update'
collect2: ld returned 1 exit status
</snip>
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-02-26 10:04:12 UTC
reported upstream and fixed.

see : http://bugzilla.gnome.org/show_bug.cgi?id=411141

There might be other issues with this version as noted in comment #2 but I couldn't see those problems yet.
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-05 23:50:19 UTC
Committed.  Thanks.