Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544288

Summary: x11-libs/libeICE automagic dev-libs/libbsd dependency
Product: Gentoo Linux Reporter: foufou33
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description foufou33 2015-03-24 07:40:24 UTC
libeICE links opportunistically against libbsd, even though ti is not listed as an explicit dependency.

other packages I came across sys-libs/tevent and sys-libs/talloc-2.1.2 


Reproducible: Always

Steps to Reproduce:
1.install libbsd
2.rebuild libeICE

Actual Results:  
ldd /usr/lib/libICE.so
        linux-vdso.so.1 (0x00007ffdd202c000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f01c4b00000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f01c4763000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f01c4f73000)

Expected Results:  
ldd /usr/lib/libICE.so
        linux-vdso.so.1 (0x00007ffdd202c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f01c4763000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f01c4f73000)

emerge -C libbsd
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 dev-libs/libbsd
    selected: 0.7.0 
   protected: none 
     omitted: none 

All selected packages: =dev-libs/libbsd-0.7.0

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) dev-libs/libbsd-0.7.0...
>>> needed   sym /usr/lib64/libbsd.so.0
>>> needed   obj /usr/lib64/libbsd.so.0.7.0

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/libbsd-0.7.0
 *  - /usr/lib64/libbsd.so.0
 *  - /usr/lib64/libbsd.so.0.7.0
 *      used by /usr/bin/ettercap (net-analyzer/ettercap-0.8.2)
 *      used by /usr/bin/etterlog (net-analyzer/ettercap-0.8.2)
 *      used by /usr/lib64/libICE.so.6.3.0 (x11-libs/libICE-1.0.9)
 *      used by 4 other files
 emerge -a @preserved-rebuild

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

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libbsd-0.7.0  USE="-static-libs" 
[ebuild   R    ] sys-libs/talloc-2.1.2 
[ebuild   R    ] sys-libs/tevent-0.9.24 
[ebuild   R    ] net-analyzer/ettercap-0.8.2 
[ebuild   R    ] x11-libs/libICE-1.0.9
Comment 1 foufou33 2015-03-24 07:41:48 UTC
emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/no-emul-linux-x86/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.19.2-gentoo x86_64)
=================================================================
System uname: Linux-3.19.2-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_760_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8180400 total,     91240 free
KiB Swap:    4000180 total,   3322388 free
Timestamp of repository gentoo: Fri, 20 Mar 2015 22:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
ccache version 3.2.1 [enabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /var/lib/layman/local
    masters: gentoo science
    priority: 0

anyc
    location: /var/lib/layman/anyc
    masters: gentoo
    priority: 50

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=""
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative device-mapper djvu dri dts dv dvb dvd dvdr dvi emacs emboss encode exif fam firefox flac fortran gdbm gif gimp glamor gles gpg gphoto2 gpm gstreamer gtk gtk3 iconv ipv6 jpeg kde kipi lcms ldap libav libnotify llvm-shared-libs mad mmx mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl nsplugin ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio pvr python qt3support qt4 readline samba scrypt sdl semantic-desktop session spell sse sse2 ssh ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="emu10k1" 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 author" CAMERAS="canon ptp2 spca50x" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en_CA" LIRC_DEVICES="hauppauge hauppauge_dvb" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-03-27 18:01:41 UTC
Turning this into a bug for x11-libs/libeICE, please file a bug for the other packages.
Comment 3 Matt Turner gentoo-dev 2015-03-27 18:08:15 UTC
(In reply to Michael Palimaka (kensington) from comment #2)
> Turning this into a bug for x11-libs/libeICE, please file a bug for the
> other packages.

What? Am I blind or is there no libeICE?

I think the reporter simply typo'd libICE (twice). Elsewhere in his report he says libICE.

Assuming that's the case, I'm going to mark this as a duplicate.

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