Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70050 - emerge alsa-driver-1.0.6a fails on kbuild enabled system
Summary: emerge alsa-driver-1.0.6a fails on kbuild enabled system
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 07:42 UTC by Eggert
Modified: 2004-11-09 02:49 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 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
/var/tmp/kernel-output/2.6.9-gentoo-r1/include/linux/version.h
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:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=638
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