Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266346 - media-libs/libsndfile-1.0.19 has an automagic dependency on media-sound/jack-audio-connection-kit
Summary: media-libs/libsndfile-1.0.19 has an automagic dependency on media-sound/jack-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 08:33 UTC by Paolo Pedroni
Modified: 2009-05-08 11:54 UTC (History)
0 users

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 Paolo Pedroni 2009-04-16 08:33:34 UTC
I have built a libsndfile package on a machine with jack-audio-connection-kit installed then moved it over to several other machine, one of which does not have jack and at revdep-rebuild time I got:

* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 33% ] *   broken /usr/bin/sndfile-jackplay (requires libjack.so.0)
[ 100% ]
* Generated new 3_broken.rr
* Assigning files to packages
*   /usr/bin/sndfile-jackplay -> media-libs/libsndfile
* Generated new 4_raw.rr and 4_owners.rr
* Cleaning list of packages to rebuild
* Generated new 4_pkgs.rr
* Assigning packages to ebuilds
* Generated new 4_ebuilds.rr
* Evaluating package order
* Generated new 5_order.rr
* All prepared. Starting rebuild
emerge --oneshot --pretend media-libs/libsndfile:0

but media-sound/jack-audio-connection-kit is not listed as a dependency of media-libs/libsndfile.

When I recompile media-libs/libsndfile on the target machine the /usr/bin/sndfile-jackplay file is still present but is not linked to libjack.so.0

# ldd /usr/bin/sndfile-jackplay (build machine)
        linux-vdso.so.1 =>  (0x00007fff89bfe000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f40815e6000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f40813ad000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f4080fd4000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f4080da7000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f4080ba1000)
        libjack.so.0 => /usr/lib/libjack.so.0 (0x00007f4080985000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f4080781000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4080565000)
        librt.so.1 => /lib/librt.so.1 (0x00007f408035c000)
        libm.so.6 => /lib/libm.so.6 (0x00007f40800d7000)
        libc.so.6 => /lib/libc.so.6 (0x00007f407fd64000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4081847000)

# ldd /usr/bin/sndfile-jackplay (target machine)
        linux-vdso.so.1 =>  (0x00007fff0f9ff000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f81073b2000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f8107179000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f8106da0000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f8106b73000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f810696d000)
        libm.so.6 => /lib/libm.so.6 (0x00007f81066e8000)
        libc.so.6 => /lib/libc.so.6 (0x00007f8106375000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8107613000)

Reproducible: Always

Steps to Reproduce:
1. emerge -1b libsndfile on a machine with media-sound/jack-audio-connection-kit
2. move binary package over to a machine without jack
3. emerge -1k libsndfile
4. revdep-rebuild

# emerge --info (build machine)
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.2.5
Timestamp of tree: Thu, 16 Apr 2009 06:00:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distcc distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j14"
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"
SYNC="rsync://pedroni03/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi alsa amd64 ao arts audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt css cups curl dbus dga dio djvu dri dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip ggi gif gimp glut gmp gnutls gphoto2 gpm graphviz gtk guile hal htmlhandbook iconv idn ieee1394 imagemagick imlib isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal kdeprefix lame lcms libcaca libnotify libsamplerate lm_sensors lua lzo mad maildir matroska memlimit midi mikmod mime mmap mmx mng mozilla mp3 mpeg mpi mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pch pcre pdf perl png posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline recode reflection ruby samba sdl session sharedmem shorten sndfile sockets sox speex spell spl sse sse2 ssl startup-notification subversion svg symlink sysfs syslog sysvipc taglib tcl tcpd theora threads tidy tiff timidity tk truetype unicode usb vcd vim-syntax vnc vorbis wmf wxwindows x264 xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="intel8x0 virmidi" 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" CAMERAS="kodak ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge --info (target machine)
Portage 2.1.6.7 (default/linux/amd64/2008.0/server, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.2.5
Timestamp of tree: Thu, 16 Apr 2009 06:00:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache confcache digest distcc distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j14"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac aalib acl acpi alsa amd64 bash-completion bcmath berkdb bzip2 caps cli cracklib crypt curl curlwrappers dbus dio dri dvd dvdread emul-linux-x86 encode exif expat fam fbcon ffmpeg fftw flac fortran ftp gd gdbm ggi gif glut gmp gnutls gphoto2 gpm guile hal hardenedphp iconv idn ieee1394 imagemagick imlib isdnlog java javascript jbig jikes jpeg jpeg2k libcaca lm_sensors lzo mad maildir matroska memlimit midi mime mmap mmx mp3 mpeg mpi mudflap multilib ncurses nls nptl nptlonly offensive ogg openal opengl openmp oss pam pcre perl png posix ppds pppd python quicktime readline recode reflection samba session sharedmem shorten sndfile sockets sox spell spl sse sse2 ssl svg symlink sysfs syslog sysvipc tcl tcpd theora threads tidy tiff tokenizer truetype unicode usb vim-syntax vorbis x264 xattr xcb xine xinetd xml xml2 xorg xpm xvid zlib" ALSA_CARDS="intel8x0 virmidi" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-05-08 11:54:42 UTC
fixed, thanks