libcanberra-0.29 fail to compile Reproducible: Always Steps to Reproduce: 1.emerge 2. 3. Actual Results: fail to compile Expected Results: compile I had it installed. after an upgrade involving udev ,delayed cose I am one of theses using separate /usr/ I finaly went on created my intram and upgrade udev. after this I am told to revdep-rebuild -ip --library '/lib64/libudev.so.0' && rm '/lib64/libudev.so.0' I do so ... guess I should't have done copy past the whole line now looks like I don't have /lib64/libudev.so.0 and libcanberra-0.29 fail to compile
Created attachment 331645 [details] build log jms
Created attachment 331647 [details] environment jms
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libudev.so.0, needed by /usr/lib64/libEGL.so.1, not found (try using -rpath or -rpath-link) /usr/lib64/libEGL.so.1: undefined reference to `udev_new' /usr/lib64/libEGL.so.1: undefined reference to `udev_device_get_property_value' /usr/lib64/libEGL.so.1: undefined reference to `udev_device_get_parent' /usr/lib64/libEGL.so.1: undefined reference to `udev_unref' /usr/lib64/libEGL.so.1: undefined reference to `udev_device_get_devnode' /usr/lib64/libEGL.so.1: undefined reference to `udev_device_new_from_devnum' /usr/lib64/libEGL.so.1: undefined reference to `udev_device_unref' collect2: ld returned 1 exit status make[2]: *** [canberra-gtk-play] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: ( cd ".libs" && rm -f "libcanberra-gtk-module.la" && ln -s "../libcanberra-gtk-module.la" "libcanberra-gtk-module.la" ) make[2]: Leaving directory `/var/tmp/portage/media-libs/libcanberra-0.29/work/libcanberra-0.29/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libcanberra-0.29/work/libcanberra-0.29' make: *** [all] Error 2
emerge --info '=media-libs/libcanberra-0.29' Portage 2.1.11.33 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.6.8-gentoo-jms-3.6.8 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.6.8-gentoo-jms-3.6.8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1 Timestamp of tree: Thu, 06 Dec 2012 09:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.8 [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.8, 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.10.2 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.6 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo gamerlay sunrise x-jms ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/portage" PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/sunrise /usr/local/portage/jms" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus dga dhcpcd directfb dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp gnutls gphoto2 gpm gstreamer gtk gzip hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 jabber jpeg jpeg2k kde kipi kontact lame laptop lastfm lcms ldap libcaca libnotify libwww lm_sensor lzma lzo mad maildir matroska mdnsresponder-compat memlimit mhash mikmod mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pango pcmcia pcre pdf phonon php plasma png policykit ppds pppd projectm pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop session smp speex spell sse sse2 ssl ssse3 startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi wxwidgets x x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xscreesaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= media-libs/libcanberra-0.29 was built with the following: USE="alsa gstreamer gtk gtk3 (multilib) oss pulseaudio sound udev -gnome -tdb"
ok problem was with mesa (/usr/lib64/libEGL.so.1) in fact when I did revdep-rebuild -ip --library '/lib64/libudev.so.0' && rm '/lib64/libudev.so.0' it pulled and also vlc and chromium I thought I will emerge -1v vlc chromium later so I ran problem is revdep-rebuild want to emerge libcanberra before mesa and in that case emrge will fail mesa need to be rebuild first. I guess this has something to do with the ibcanberra ebuild it should say that it need mesa so mesa need to be build first in a case like this. well anyway rebuilding mesa first was my workaround. I let the bug open for somone with more knowledg than me check this little story. I think this is not normal behaviour and revdep-rebuild should have pulled mesa before canberra
problem to show up as I ran revdep-rebuild -ip --library '/lib64/libudev.so.0' && rm '/lib64/libudev.so.0' beacause of this libudev.so.0 was removed but nothing emerged then when I did emerge -1 consolekit udisks system-config-printer-common bluez pulseaudio mesa xorg-server xf86-input-evdev libcanberra gvfs problem apear
FORGOT TO PAST INFO PLESE READ LIKE THIS ok problem was with mesa (/usr/lib64/libEGL.so.1) in fact when I did revdep-rebuild -ip --library '/lib64/libudev.so.0' && rm '/lib64/libudev.so.0' it pulled and also vlc and chromium I thought I will emerge -1v vlc chromium later so I ran emerge -1 consolekit udisks system-config-printer-common bluez pulseaudio mesa xorg-server xf86-input-evdev libcanberra gvfs WICH PULL OUT emerge -p1 consolekit udisks system-config-printer-common bluez pulseaudio mesa xorg-server xf86-input-evdev libcanberra gvfs These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-auth/consolekit-0.4.5_p20120320-r1 [ebuild R ~] sys-fs/udisks-2.0.0 [ebuild R ] app-admin/system-config-printer-common-1.3.11-r1 [ebuild R ~] net-wireless/bluez-4.101-r4 [ebuild R ] media-sound/pulseaudio-2.1-r1 [ebuild R ~] gnome-base/gvfs-1.12.3-r1 [ebuild R ] media-libs/libcanberra-0.29 [ebuild R ] x11-base/xorg-server-1.13.0-r1 [ebuild R ] media-libs/mesa-9.0 [ebuild R ] x11-drivers/xf86-input-evdev-2.7.3 problem is revdep-rebuild want to emerge libcanberra before mesa and in that case emerge will fail mesa need to be rebuild first.
(In reply to comment #6) > problem to show up as I ran > revdep-rebuild -ip --library '/lib64/libudev.so.0' && rm > '/lib64/libudev.so.0' If you run revdep-rebuild with "-p", it's normal that it ends with needed lib being removed. What does occur when you run: revdep-rebuild --library '/lib64/libudev.so.0' And leave it rebuild things? Are they also pulled in in wrong order
Please just run revdep-rebuild like pacho said. If it stops at some point, run emerge --resume --skipfirst and rerun revdep-rebuild until there is nothing to rebuild anymore. If you still have problems after that, feel free to reopen this bug report.