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/ ..................
Omitting the FB test and adding ivtv-fb directly to MODULE_NAMES (at the beginning) works fine though...
also happens in ivtv-0.8.0, which is the stable version at the moment.
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...
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.
Fixed in CVS, -r1 ebuild. You'll have to use 'fbcon' to install the module.
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)