Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98698 - Package usb-pwc-re builds against running kernel version, not version in /usr/src/linux
Summary: Package usb-pwc-re builds against running kernel version, not version in /usr...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 11:39 UTC by Andy Dalton
Modified: 2005-07-13 02:21 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 Andy Dalton 2005-07-11 11:39:15 UTC
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.
Comment 1 Rouslan Solomakhin 2005-07-11 11:42:31 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-11 12:16:34 UTC
(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.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2005-07-12 06:08:41 UTC
Thanks for the hint. I currently don't have access to my development box, so
this could take a little time.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2005-07-13 01:07:52 UTC
Some good fairy pushed the right button - just declared 10.0.7 stable for x86.
Please try this version.
Comment 5 Andy Dalton 2005-07-13 02:21:42 UTC
Yep, the 10.0.7 ebuild takes care of it.  Thanks!