When emerging 'usb-pwc-re', I get the following output. It correctly identifies the proper kernel sources (here 2.6.12-gentoo-r4), but tries to compile against the current running kernel version (here 2.6.11-gentoo-r11). The expected behavior is that it should be built against the kernel version found in '/usr/src/linux'. The current implementation prevents this driver from being rebuilt against a new kernel until after that kernel has been booted. Software Version: media-video/usb-pwc-re-10.0.6a If you need any further information, please let me know. Thanks! # emerge usb-pwc-re Calculating dependencies ...done! >>> emerge (1 of 1) media-video/usb-pwc-re-10.0.6a to / mv: cannot stat `/var/tmp/portage/usb-pwc-re-10.0.6a/temp/environment': No such file or directory >>> md5 files ;-) usb-pwc-re-10.0.7.ebuild >>> md5 files ;-) usb-pwc-re-10.0.6a.ebuild >>> md5 files ;-) files/digest-usb-pwc-re-10.0.7 >>> md5 files ;-) files/digest-usb-pwc-re-10.0.6a >>> md5 src_uri ;-) pwc-10.0.6a.tar.bz2 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-gentoo-r4 >>> Unpacking source... >>> Unpacking pwc-10.0.6a.tar.bz2 to /var/tmp/portage/usb-pwc-re-10.0.6a/work >>> Source unpacked. make -C /lib/modules/2.6.11-gentoo-r11/build SUBDIRS=/var/tmp/portage/usb-pwc-re-10.0.6a/work/pwc-10.0.6a modules make: *** /lib/modules/2.6.11-gentoo-r11/build: No such file or directory. Stop. make: *** [default] Error 2 !!! ERROR: media-video/usb-pwc-re-10.0.6a failed. !!! Function src_compile, Line 22, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Also, when glibc compiles, it checks for kernel version from "uname", athought it obviously compiles from /usr/src/linux. I don't know if this is relevant, but it's similar and annoying.
(In reply to comment #1) > Also, when glibc compiles, it checks for kernel version from "uname", athought > it obviously compiles from /usr/src/linux. I don't know if this is relevant, but > it's similar and annoying. No, it is totally irrelevant.
Thanks for the hint. I currently don't have access to my development box, so this could take a little time.
Some good fairy pushed the right button - just declared 10.0.7 stable for x86. Please try this version.
Yep, the 10.0.7 ebuild takes care of it. Thanks!