When I do a "emerge --update world" one of the firt thing it tries to update is alsa-driver, I get the following error emerge --update world Calculating world dependencies ...done! >>> emerge media-sound/alsa-driver-0.9.0_beta10 to / >>> md5 ;-) alsa-driver-0.9.0beta10.tar.bz2 >>> Unpacking source... >>> Unpacking alsa-driver-0.9.0beta10.tar.bz2 >>> Source unpacked. creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -march=i686 -O3 -pipe ) works... yes checking whether the C compiler (gcc -march=i686 -O3 -pipe ) is a cross-compile ... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /bin/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for linux/fs.h... yes checking for working const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /var/tmp/portage/alsa-driver-0.9.0_beta10/wor /alsa-driver-0.9.0beta10 checking for directory with kernel source... /usr/src/linux- 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 /usr/src/linux). !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 10, Exitcode 1 !!! ./configure failed !!! emerge aborting on /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_ Not sure where it is getting /usr/src/linux-, but anyway, hope this helps.
Why is beta10 the most recent version anyways? If I look at http://www.gentoo.org/packages/media-sound/alsa-driver.html it tells me that rc2 is the latest release which also concurs with what I see at http://www.alsa-project.org. Looks to me more like a bug in the software tree than in the actual package itself. Could it be that the original poster and I fell victim to an out of date rsync mirror?
OK, here we go: problem for me was the old portage tree. After doing an "emerge --clean sync" it picked up rc2 as the latest version and compiles fine. So this is no bug in the alsa package but a bug in the emerge concept or implementation.
nope. just a slow rsync mirror.