Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279887 - [x11-overlay] x11-base/nouveau-drm-99999999 builds against the running kernel not the configured one
Summary: [x11-overlay] x11-base/nouveau-drm-99999999 builds against the running kernel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 11:14 UTC by John Keeping
Modified: 2010-09-05 11:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch which updates the ebuild to pass the correct directory to make (nouveau-drm-99999999-use-configured-kernel.patch,497 bytes, patch)
2009-08-01 11:14 UTC, John Keeping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Keeping 2009-08-01 11:14:19 UTC
I noticed earlier today that although the nouveau kernel module is installed into the directory for the configured kernel, the makefile detects and builds against the running kernel. In my case this meant that a module built against gentoo-sources-2.6.30-r3 was installed into the module directory for gentoo-sources-2.6.30-r4 which isn't a huge problem, but I can see things breaking unexpectedly if the kernel versions are more different.

This occurs when updating the kernel and rebuilding the module before rebooting into the new kernel.
Comment 1 John Keeping 2009-08-01 11:14:52 UTC
Created attachment 199797 [details, diff]
Patch which updates the ebuild to pass the correct directory to make
Comment 2 Wormo (RETIRED) gentoo-dev 2009-08-01 18:01:22 UTC
That was observant of you to notice in a case where it didn't actually break anything. Thanks for submitting your patch, assigning to x11 team.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-08-02 04:37:35 UTC
This is now fixed in the x11 overlay.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-08-02 13:29:27 UTC
@Chi-Thanh, please do close bugs when you've fixed them :) (unless maybe bugzilla doesn't let you do that?)

Closing fixed then.

Thanks