Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403557 - media-sound/alsa-utils-1.0.25 - add media-libs/libsamplerate to RDEPEND
Summary: media-sound/alsa-utils-1.0.25 - add media-libs/libsamplerate to RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-14 12:12 UTC by Albert W. Hopkins
Modified: 2012-02-20 09:02 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 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.