<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>27746</bug_id>
          
          <creation_ts>2003-09-01 18:47 0000</creation_ts>
          <short_desc>numerous ebuilds have an unnecessary dependancy on alsa-drivers</short_desc>
          <delta_ts>2004-03-16 10:22:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lv@gentoo.org</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>agenkin@gentoo.org</cc>
    
    <cc>aliz@gentoo.org</cc>
    
    <cc>games@gentoo.org</cc>
    
    <cc>kde@gentoo.org</cc>
    
    <cc>sound@gentoo.org</cc>
    
    <cc>x86-kernel@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2003-09-01 18:47:01 0000</bug_when>
            <thetext>Please dont mark this as a duplicate of but 14907, as it is a seperate issue and
not directly related to virtuals.

The problem is, most ebuilds that depend on alsa-driver dont make use of the
headers or anything else that comes from that package.

lordviram portage # fgrep -r media-sound/alsa-driver `ls | grep -v -e &apos;packages&apos;
-e &apos;profiles&apos; -e &apos;scripts&apos; -e &apos;sec-policy&apos; -e &apos;metadata&apos; -e &apos;sys-&apos;` | wc -l
     57

that might be a slightly misleading number... but I&apos;m thinking maybe a couple of
those need actually need alsa-driver and that&apos;s being generous.

What many of these ebuilds mean to do is make sure you have a runtime capability
for using alsa. For this they should use an RDEPEND on virtual/alsa or if they
already have a DEPEND on alsa-lib no mention of anything else (the dependency is
already filled by alsa-lib). These packages dont /need/ alsa-driver to compile
and during runtime there are a number of packages which can satisfy this
dependancy other than media-sound/alsa-driver.

The virtual/alsa already exists to satisfy runtime dependencies and points
towards media-sound/alsa-driver. When the switch to linux 2.6 happens, updating
/all/ of those ebuilds will be as simple as changing that virtual if they are
made to use the alsa virtual. As an added benefit, those who use alternative
kernels can easily add theirs to this virtual if it provides kermel alsa
support. Right now the best you can hope for is staying somewhat up to date in
your own local portage tree.


Reproducible: Always
Steps to Reproduce:
1. emerge mm-sources
2. emerge anything that uses alsa
3. watch emerge bitch bitch bitch bitch bitch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-03-13 03:16:03 0000</bug_when>
            <thetext>These are the only ebuilds that DEPEND on alsa-driver, so I&apos;m including their maintainers to get a fix (I&apos;ll take care of the media-* ones this weekend).

games-emulation/stella/stella-1.3.ebuild

kde-base/kdelibs/kdelibs-3.0.5b-r1.ebuild

media-libs/alsa-lib/alsa-lib-0.9.0_rc2.ebuild
media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r2.ebuild
media-sound/alsamixergui/alsamixergui-0.9.0.1.2.ebuild
media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r1.ebuild</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-03-13 08:28:14 0000</bug_when>
            <thetext>games-emulation/stella is fixed in CVS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-03-16 05:20:05 0000</bug_when>
            <thetext>kde depends on alsa-lib and virtual/alsa.  Is this wrong?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-03-16 08:35:53 0000</bug_when>
            <thetext>virtual/alsa is for the driver... so if you need the headers provided by the alsa-driver or kernel, then that&apos;s what you need to DEPEND on.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2004-03-16 10:02:58 0000</bug_when>
            <thetext>almost nothing should depend on alsa-driver... almost nothing needs those headers.
though, since i moved over to an amd64 box, this hasnt been as much of an issue. there must be some virtual that prevents alsa-drivers from installing, since the 2.4 kernel isnt supported on amd64 and so alsa-drivers should never ever be installed. *shrug*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-03-16 10:16:34 0000</bug_when>
            <thetext>Travis: virtual/alsa is provided by the 2.6.x kernel and media-sound/alsa-driver.

Additionally, you should be able to use &gt;=media-sound/alsa-driver-1.0.2c instead of the one that is included in the kernel if that is your desire.

just waiting on the kde-base/kdelibs/kdelibs-3.0.5b-r1.ebuild switch from alsa-driver to virtual/alsa...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-03-16 10:19:53 0000</bug_when>
            <thetext>kdelibs is now fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-03-16 10:22:18 0000</bug_when>
            <thetext>great, thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>