Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156163 - ivtv-0.8.1 fails to install ivtv-fb
Summary: ivtv-0.8.1 fails to install ivtv-fb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 16:24 UTC by Jeffrey Gardner (RETIRED)
Modified: 2006-11-29 11:51 UTC (History)
0 users

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


Attachments
New ebuild that also installs the ivtv-fb framebuffer module (ivtv-0.8.1-r1.ebuild,2.04 KB, text/plain)
2006-11-29 05:57 UTC, Roalt Dot Com
Details
ivtv 0.8.1 ebuild that correctly checks kernel for FB support before building (or not building) ivtv-fb (ivtv-0.8.1.ebuild,1.79 KB, text/plain)
2006-11-29 11:23 UTC, Jeff Simpson
Details
ivtv ebuild that checks fbcon use flag and CONFIG_FB option in kernel (ivtv-0.8.1.ebuild,1.87 KB, text/plain)
2006-11-29 11:51 UTC, Jeff Simpson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Gardner (RETIRED) gentoo-dev 2006-11-24 16:24:42 UTC
ivtv-0.8.1 fails to install ivtv-fb. FB is detected by "linux_chkconfig_present FB" but for some reason linux-mod_src_install does not install it. Output:

install -m 0755 v4l2-ctl ivtvctl ivtvfbctl ivtv-radio ivtvplay ivtv-mpegindex  ivtv-tune/ivtv-tune cx25840ctl/cx25840ctl /var/tmp/portage/ivtv-0.8.1/image///usr/bin
 * Installing ivtv module
 * Installing saa717x module
>>> Completed installing ivtv-0.8.1 into /var/tmp/portage/ivtv-0.8.1/image/

.........

>>> Merging media-tv/ivtv-0.8.1 to /
--- /etc/
--- /etc/modules.d/
>>> /etc/modules.d/ivtv
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.18-gentoo-r3/
--- /lib/modules/2.6.18-gentoo-r3/extra/
>>> /lib/modules/2.6.18-gentoo-r3/extra/ivtv.ko
>>> /lib/modules/2.6.18-gentoo-r3/extra/saa717x.ko
--- /usr/
..................
Comment 1 Jeffrey Gardner (RETIRED) gentoo-dev 2006-11-24 16:40:21 UTC
Omitting the FB test and adding ivtv-fb directly to MODULE_NAMES (at the beginning) works fine though...
Comment 2 Douglas Hitchcock 2006-11-28 08:00:03 UTC
also happens in ivtv-0.8.0, which is the stable version at the moment.
Comment 3 Roalt Dot Com 2006-11-29 05:57:34 UTC
Created attachment 102978 [details]
New ebuild that also installs the ivtv-fb framebuffer module

This new ebuild solves this bug. Someone from gentoo who knows what's wrong with the "linux_chkconfig_present FB" construction may want to change the original 0.8.0 ebuild instead, but otherwise this ebuild is the way to go...
Comment 4 Jeff Simpson 2006-11-29 11:23:27 UTC
Created attachment 103000 [details]
ivtv 0.8.1 ebuild that correctly checks kernel for FB support before building (or not building) ivtv-fb

problem was that MODULE_NAMES was being defined outside the pkg_chk function, so adding to it wasn't taking. I modified it to print out an info or warn message about building/not building the module.
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2006-11-29 11:29:31 UTC
Fixed in CVS, -r1 ebuild.  You'll have to use 'fbcon' to install the module.
Comment 6 Jeff Simpson 2006-11-29 11:51:38 UTC
Created attachment 103003 [details]
ivtv ebuild that checks fbcon use flag and CONFIG_FB option in kernel

I just added fbcon to the previous ebuild I modified. It seems to work for all three test cases:

fbcon enabled, CONFIG_FB set (ivtv-fb builds)
fbcon enabled, CONFIG_FB not set (emerge spits out an error, terminates)
fbcon disabled, CONFIG_FB not set (ivtv-fb does not build, no errors, but a warning saying that ivtv-fb will not build)