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

Bug 403557

Summary: media-sound/alsa-utils-1.0.25 - add media-libs/libsamplerate to RDEPEND
Product: Gentoo Linux Reporter: Albert W. Hopkins <marduk>
Component: New packagesAssignee: Gentoo ALSA team [DISABLED] <alsa-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Albert W. Hopkins 2012-02-14 12:12:07 UTC
libsamplerate is a runtime dependencey of alsa-utils.  Without it there are broken 


    # equery u alsa-utils|cat
    -doc
    -minimal
    -nls

    # revdep-rebuild -i
     * Configuring search environment for revdep-rebuild

     * Checking reverse dependencies
     * Packages containing binaries and libraries broken by a package update
     * will be emerged.

     * Collecting system binaries and libraries
     * Generated new 1_files.rr
     * Collecting complete LD_LIBRARY_PATH
     * Generated new 2_ldpath.rr
     * Checking dynamic linking consistency
    [ 8% ]  *   broken /usr/bin/alsaloop (requires libsamplerate.so.0)
    [ 100% ]                 
     * Generated new 3_broken.rr
     * Assigning files to packages
     *   /usr/bin/alsaloop -> media-sound/alsa-utils
[...]

This bug appears to be introduced by but #383263 where it is stated it should be in DEPEND, but actually it should (also) be in RDEPEND.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2012-02-20 09:02:45 UTC
+*alsa-utils-1.0.25-r1 (20 Feb 2012)
+
+  20 Feb 2012; Tony Vroon <chainsaw@gentoo.org> +alsa-utils-1.0.25-r1.ebuild,
+  +files/alsasound.confd-r4, +files/alsasound.initd-r5:
+  Use -I option on alsactl restore to avoid aborting unnecessarily, as per Adam
+  Nielsen in bug #281631. libsamplerate is both a build & run time dependency,
+  as per Albert W. Hopkins in bug #403557. Remove unsupported autoload/unload
+  as it breaks with kmod, as per Ulenrich in bug #404535.

Thank you Albert. I have made the common dependencies a variable now, to hopefully prevent such incidents in the future.