Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382729 - sys-kernel/linux-headers-2.6.36.1 file collision w/ alsa-headers
Summary: sys-kernel/linux-headers-2.6.36.1 file collision w/ alsa-headers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 18:38 UTC by Adam Felson
Modified: 2011-09-13 14:30 UTC (History)
1 user (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 Adam Felson 2011-09-12 18:38:19 UTC
alsa-headers-1.0.23 and now alsa-headers-1.0.24 colides with linux-headers.
 * Detected file collision(s):
 * 
 * 	/usr/include/sound/sfnt_info.h
 * 	/usr/include/sound/sb16_csp.h
 * 	/usr/include/sound/hdspm.h
 * 	/usr/include/sound/hdsp.h
 * 	/usr/include/sound/emu10k1.h
 * 	/usr/include/sound/asound_fm.h
 * 	/usr/include/sound/asound.h
 * 	/usr/include/sound/asequencer.h
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-kernel/linux-headers-2.6.36.1
 * 	/usr/include/sound/asequencer.h
 * 	/usr/include/sound/asound.h
 * 	/usr/include/sound/asound_fm.h
 * 	/usr/include/sound/emu10k1.h
 * 	/usr/include/sound/hdsp.h
 * 	/usr/include/sound/hdspm.h
 * 	/usr/include/sound/sb16_csp.h
 * 	/usr/include/sound/sfnt_info.h
 * 

alsa-lib requires alsa-headers.  Since linux-headers now provides alsa headers, I have put alsa-headers into package.provided to make alsa-lib think it is already installed.

The bug is probably in the alsa-lib/alsa-utils for requiring the obsolete alsa-headers package.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-09-12 18:41:15 UTC
unable to reproduce:

$ qlist -CIv |grep linux-headers
sys-kernel/linux-headers-2.6.39

$ qlist linux-headers |grep sound
/usr/include/linux/sound.h
/usr/include/linux/soundcard.h
/usr/include/linux/ultrasound.h
Comment 2 Adam Felson 2011-09-12 19:35:45 UTC
2.6.39 is an unstable version of linux-headers

I'm running stable versions of both linux-headers and alsa-headers.
As indicated in the original report, I'm using linux-headers 2.6.36.1
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-09-13 07:09:00 UTC
Your sys-kernel/linux-headers-2.6.36.1 is broken.
# ebuild linux-headers-2.6.36.1.ebuild install
...
# find /dev/shm/portage/sys-kernel/linux-headers-2.6.36.1/image/ |grep sound
/dev/shm/portage/sys-kernel/linux-headers-2.6.36.1/image/usr/include/linux/sound.h
/dev/shm/portage/sys-kernel/linux-headers-2.6.36.1/image/usr/include/linux/soundcard.h
/dev/shm/portage/sys-kernel/linux-headers-2.6.36.1/image/usr/include/linux/ultrasound.h

Do you have the build log from your linux-headers-2.6.36.1?
Comment 4 Jeff (JD) Horelick (RETIRED) gentoo-dev 2011-09-13 07:10:48 UTC
I can't reproduce with =sys-kernel/linux-headers-2.6.36.1 and either 1.0.23 or 1.0.24 of media-sound/alsa-headers
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-09-13 07:13:30 UTC
Some things I would check:

- Look for odd copy of kernel-2.eclass in one of installed overlays
- Reinstall linux-headers

If that doesn't clear things up, as Robin said in Comment #3, build.log of linux-headers is required for futher proceeding of this bug.
Comment 6 Adam Felson 2011-09-13 14:29:39 UTC
I reemerged linux-headers, and now I can emerge alsa-headers without errors.
Thanks for the help.