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

Bug 70050

Summary: emerge alsa-driver-1.0.6a fails on kbuild enabled system
Product: Gentoo Linux Reporter: Eggert <eggert.ehmke>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Severity: normal    
Priority: High    
Version: 2004.2   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Eggert 2004-11-04 07:42:58 UTC
My system is kbuild enabled, i.e. the kernel is not built into the standard /usr/src/linux directory. Only the sourced are here. The kernel aoutput is in /var/tmp/kernel-output/2.6.9-gentoo-r1, the environment variable KBUILD_OUTPUT is set correctly. When emerging alsa-driver, the process fails:

checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.9-gentoo-r1/build).

!!! ERROR: media-sound/alsa-driver-1.0.6a failed.

In fact the missing file is in
which is correct on my system.
Comment 1 tklauser 2004-11-04 11:37:30 UTC
There is no need to emerge alsa-driver on 2.6 Kernel systems, see bug #70068.

This bug can be marked invalid.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-08 13:40:31 UTC
There is a need to use alsa-driver on 2.6 systems when the included version of the kernel does not work...

Please file this bug on the alsa bug tracking site, and let me know the URL to the bug so I can follow up.
Comment 3 Eggert 2004-11-09 01:44:25 UTC
This bug has been filed at the alsa bug tracking system:
Comment 4 Eggert 2004-11-09 02:49:48 UTC
This comment has been added to the alsa bug:
> ----------------------------------------------------------------------
>  tiwai - 11-09-04 10:50 
> ----------------------------------------------------------------------
> Try to specify the kernel source directory with --with-kernel
> configure option.

> Also, try 1.0.7rc2.  Some improvements have been done since 1.0.6.

So it seems still to be a problem of the gentoo ebuild system, as on the emerge level I cannot provide an configure option like --with-kernel