Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11996 - kdelibs should depend on alsa-driver if USE includes alsa
Summary: kdelibs should depend on alsa-driver if USE includes alsa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 12437 12917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-11 20:07 UTC by Felipe Ghellar
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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 Felipe Ghellar 2002-12-11 20:07:14 UTC
While building kdelibs-3.1_rc5, it failed on the file deviceman.cc because this
file tried to #include <sound/asound.h> and <sound/asequencer.h>, which did not
exist. After some investigation, I found out that these two files are provided
by the alsa-driver package, which was not installed. Installing it solved this
issue.

The ebuild checks for the alsa USE variable, but only includes alsa-lib as a
dependency. It should also include alsa-driver.

I didn't check, but this might also be true for other versions of kdelibs.
Comment 1 A.J. Aranyosi 2002-12-13 15:00:21 UTC
I found the same problem and same solution with kdelibs-3.0.4.
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-24 19:54:26 UTC
*** Bug 12437 has been marked as a duplicate of this bug. ***
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-24 19:55:33 UTC
this should be assigned to kde, not to danarmak. 
Comment 4 Guy 2002-12-25 22:18:56 UTC
Hi Hannes,  I agree that my bug should be marked as a duplicate of this bug. :)  In an effort to do better searches ...  I searched for asound.h and asequencer.h before submitting my bug and this one did NOT come up in the results. I assume that was because I was looking for the simple strings and did not use the regex function. Since I can look at both mine and this bug now, could you post here what I should have used to find this bug? Regex still confuses me. :-(  I would rather have submitted a comment to this one.  Thanx 
Comment 5 Guy 2002-12-27 07:32:20 UTC
Note:

Sorry if I'm stating the obvious, when installing kde as per the Desktop
Installation instructions, the order of install is:

xfree
kde
alsa

etc...

The make.defaults configuration file does not include 'alsa' as a USE
option.Under these
circumstances, kde is obviously emerging to completion without asound.h and
asequencer.h.

It's a bit strange that kdelibs should require alsa only after alsa is emerged
the first time. Perhaps the problem lies with solely with the unmerge of alsa.
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 02:11:52 UTC
*** Bug 12917 has been marked as a duplicate of this bug. ***
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 04:40:05 UTC
is only alsa-driver needed for kdelibs? or is alsa-driver and alsa-lib needed? 
Comment 8 Yannick Koehler (RETIRED) gentoo-dev 2003-01-03 06:04:16 UTC
Note, what would happen if alsa wasn't inside the USE flags, would it still 
compile, if not, then alsa must become a permanent dependency right?
Comment 9 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 06:35:38 UTC
Yannick: yup, but kdelibs don't require alsa, it has optional support for alsa. works 
here fine without alsa. 
Comment 10 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-06 02:39:36 UTC
fixed in cvs, thanks