Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82016 - ivtv-0.2.0-rc3 doesn't compile modules for kernel versions other than the one that's running
Summary: ivtv-0.2.0-rc3 doesn't compile modules for kernel versions other than the one...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 10:47 UTC by Dan Check
Modified: 2005-03-05 23:58 UTC (History)
0 users

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


Attachments
Patch to use KV_FULL instead of uname -r (ivtv-0.2.0_rc3.diff,1.26 KB, patch)
2005-02-14 10:49 UTC, Dan Check
Details | Diff
New patch (ivtv-0.2.0_rc3.diff,1.27 KB, patch)
2005-02-14 10:55 UTC, Dan Check
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Check 2005-02-14 10:47:41 UTC
The makefiles and ebuild use uname -r to find kernel sources and module directories, rather than using KV_FULL, meaning that you can't compile for anything other than the running kernel.

Reproducible: Always
Steps to Reproduce:
1. Symlink /usr/src/linux to a kernel version other than the one reported by `uname -r`

2. emerge ivtv

3. check to see that it installed modules in /lib/modules/`uname -r` rather than /lib/modules/${KV_FULL}
Comment 1 Dan Check 2005-02-14 10:49:36 UTC
Created attachment 51222 [details, diff]
Patch to use KV_FULL instead of uname -r

Attachment should fix the problem in all files... I haven't fully tested it b/c
ivtv won't compile against the mm-sources, as they change some stuff in the
i2c.h file that prevents the package from compiling properly.
Comment 2 Dan Check 2005-02-14 10:55:01 UTC
Created attachment 51224 [details, diff]
New patch

This one deals with the Makefile as well as the Makefile2.4 and Makefile2.6, in
case you're running a 2.4 kerenel but want to compile for a 2.6 or vice versa.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-03-05 23:58:13 UTC
new ebuilds use proper eclasses rather then doing the lifting themselves.