First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 156163
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Doug Goldstein <cardoe@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jeffrey Gardner <je_fro@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ivtv-0.8.1-r1.ebuild New ebuild that also installs the ivtv-fb framebuffer module text/plain Roalt Dot Com 2006-11-29 05:57 0000 2.04 KB Details
ivtv-0.8.1.ebuild ivtv 0.8.1 ebuild that correctly checks kernel for FB support before building (or not building) ivtv-fb text/plain Jeff Simpson 2006-11-29 11:23 0000 1.79 KB Details
ivtv-0.8.1.ebuild ivtv ebuild that checks fbcon use flag and CONFIG_FB option in kernel text/plain Jeff Simpson 2006-11-29 11:51 0000 1.87 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 156163 depends on: Show dependency tree
Bug 156163 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-24 16:24 0000
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 From Jeffrey Gardner 2006-11-24 16:40:21 0000 -------
Omitting the FB test and adding ivtv-fb directly to MODULE_NAMES (at the
beginning) works fine though...

------- Comment #2 From Douglas Hitchcock 2006-11-28 08:00:03 0000 -------
also happens in ivtv-0.8.0, which is the stable version at the moment.

------- Comment #3 From Roalt Dot Com 2006-11-29 05:57:34 0000 -------
Created an attachment (id=102978) [edit]
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 From Jeff Simpson 2006-11-29 11:23:27 0000 -------
Created an attachment (id=103000) [edit]
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 From Steve Dibb 2006-11-29 11:29:31 0000 -------
Fixed in CVS, -r1 ebuild.  You'll have to use 'fbcon' to install the module.

------- Comment #6 From Jeff Simpson 2006-11-29 11:51:38 0000 -------
Created an attachment (id=103003) [edit]
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)

First Last Prev Next    No search results available      Search page      Enter new bug