<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>207874</bug_id>
          
          <creation_ts>2008-01-28 12:16 0000</creation_ts>
          <short_desc>media-tv/ivtv-1.0.3-r2 does not compile with 2.6.24 kernel</short_desc>
          <delta_ts>2008-07-01 14:51:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mythdev@tiscali.nl</reporter>
          <assigned_to>media-tv@gentoo.org</assigned_to>
          <cc>alanh@fairlite.co.uk</cc>
    
    <cc>dliana@frontiernet.net</cc>
    
    <cc>garth@nuitari.net</cc>
    
    <cc>hairmare@purplehaze.ch</cc>
    
    <cc>jesse@boldandbusted.com</cc>
    
    <cc>mcbrides9@comcast.net</cc>
    
    <cc>Sander.Sweers@gmail.com</cc>
    
    <cc>subs@j79zlr.com</cc>

      

      
          <long_desc isprivate="0">
            <who>mythdev@tiscali.nl</who>
            <bug_when>2008-01-28 12:16:21 0000</bug_when>
            <thetext>The current ivtv ebuild does not compile on 2.6.24 kernels, due to the fact the kernel check does not validate that kernel.

if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 ); then

should be changed to

if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 || kernel_is 2 6 24 ); then



Reproducible: Always

Steps to Reproduce:
1. Emerge 2.6.24
2. Try to emerge ivtv
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-01-28 12:24:19 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; should be changed to
&gt; if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 || kernel_is 2 6 24 ); then

No, this version isn&apos;t intended for 2.6.24 and there&apos;s no newer one available ATM.

http://www.ivtvdriver.org/index.php/Download</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-01-28 14:56:02 0000</bug_when>
            <thetext>Have you actually successfully made that change and had it compile? As far as I remember, some kernel headers are being changed and a few v4l ioctls are being changed which requires a newer version of the ivtv userspace bits. I believe there&apos;s going to be a 1.1.x for this purpose.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jiri.tyr@e-learning.tul.cz</who>
            <bug_when>2008-01-28 21:47:00 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Have you actually successfully made that change and had it compile? As far as I
&gt; remember, some kernel headers are being changed and a few v4l ioctls are being
&gt; changed which requires a newer version of the ivtv userspace bits. I believe
&gt; there&apos;s going to be a 1.1.x for this purpose.

Doesn&apos;t matter, but the above hack works well for me. Maybe something have been changed but TV, radio, IR works well. It&apos;s better to have some limitation (not working some ioctls) than don&apos;t have working whole ivtv. I propose to publish ebuild with the hack for kernel 2.6.24.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-01-28 22:39:47 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; Have you actually successfully made that change and had it compile? As far as I
&gt; &gt; remember, some kernel headers are being changed and a few v4l ioctls are being
&gt; &gt; changed which requires a newer version of the ivtv userspace bits. I believe
&gt; &gt; there&apos;s going to be a 1.1.x for this purpose.
&gt; 
&gt; Doesn&apos;t matter, 

It matters 100% since that&apos;s the scope of the question. Does the change above ACTUALLY work for you on a 2.6.24 kernel. That&apos;s the question.

The ivtv package is not required to use ivtv. It&apos;s merely for the userspace utils. cat /dev/video0 &gt; file.mpg is all that&apos;s necessary to use this driver. The driver exists purely in the kernel.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Henry78@gmx.at</who>
            <bug_when>2008-01-29 08:43:14 0000</bug_when>
            <thetext>1.0.3-r2 compiles fine on 2.6.24, and during a quick check i could watch TV without problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-01-29 14:55:23 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; 1.0.3-r2 compiles fine on 2.6.24, and during a quick check i could watch TV
&gt; without problems.
&gt; 

Thank you. That&apos;s the info I was looking for.

Fixed in 1.0.3-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-02-18 22:47:04 0000</bug_when>
            <thetext>*** Bug 210626 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-02-18 22:47:43 0000</bug_when>
            <thetext>per bug #210626, I&apos;m re-opening and reverting the change requested by the original poster.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-15 07:06:44 0000</bug_when>
            <thetext>*** Bug 213459 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>subs@j79zlr.com</who>
            <bug_when>2008-03-15 16:10:09 0000</bug_when>
            <thetext>Since you marked my bug as a dup, can you add these to the stablereq 

dev-perl/Video-Frequencies-0.03
dev-perl/Video-ivtv-0.13

because they are required for ivtv-1.0.3-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2008-03-24 20:45:45 0000</bug_when>
            <thetext>ivtvfb doesn&apos;t compile on 2.6.24.....

created ivtv-svnversion.h
make -C /usr/src/linux M=/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r3&apos;
  CC [M]  /var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtvfb.o
In file included from /var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtvfb.c:50:
/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtv-driver.h:68:24: error: media/ivtv.h: No such file or directory
make[2]: *** [/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtvfb.o] Error 1
make[1]: *** [_module_/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r3&apos;
make: *** [all] Error 2
 * 
 * ERROR: media-tv/ivtv-1.0.3-r2 failed.
 * Call stack:
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>garth@nuitari.net</who>
            <bug_when>2008-03-30 08:10:43 0000</bug_when>
            <thetext>I got the same prob as #11.

Having USE=&quot;-fbcon&quot; solved this.
From what I understand, fbcon only made the ivtv ebuild build the ivtvfb driver, which is now located inside the kernel.

Dunno if ivtvfb output work with -fbcon and the kernel&apos;s ivtvfb (just recently switched to an other output mode). But if it does work, I&apos;d suggest that the ebuild do as if -fbcon was used for kernel &gt;=2.6.24.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jesse@boldandbusted.com</who>
            <bug_when>2008-04-14 00:26:26 0000</bug_when>
            <thetext>Same as #11 here, too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hairmare@purplehaze.ch</who>
            <bug_when>2008-04-26 18:43:36 0000</bug_when>
            <thetext>Created an attachment (id=151058)
check for kernel ivtvfb and don&apos;t build the packaged fb on 2.6.24

everything here seems to work like it should with this patch. the ivtvfb from the kernel loads and works. 

i haven&apos;t looked into checking if ivtvfbctl works as of yet

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sander.Sweers@gmail.com</who>
            <bug_when>2008-04-27 13:35:04 0000</bug_when>
            <thetext>(In reply to comment #14)
&gt; i haven&apos;t looked into checking if ivtvfbctl works as of yet

It should work but I am not the expert ;-)

I will ping Hans if he can release ivtv 1.1 for kernel 2.6.24 and up.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sander.Sweers@gmail.com</who>
            <bug_when>2008-05-07 12:13:55 0000</bug_when>
            <thetext>(In reply to comment #15)
&gt; I will ping Hans if he can release ivtv 1.1 for kernel 2.6.24 and up.

There should be a release as soon as Hans has some time.

All tools from 1.0.3 will keep working for kernel 2.6.24 and 2.6.25. So the proposed change in the ebuild will &quot;fix&quot; the compilation problems. But then make it include any future kernel versions or at least 2.6.25.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sander.Sweers@gmail.com</who>
            <bug_when>2008-05-24 13:15:43 0000</bug_when>
            <thetext>(In reply to comment #16)
&gt; There should be a release as soon as Hans has some time.

2 new versions have just been released. ivtv-1.1 for kernel 2.6.24 and ivtv-1.2 for kernel 2.6.25.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>subs@j79zlr.com</who>
            <bug_when>2008-06-21 05:28:44 0000</bug_when>
            <thetext>Is there any update to this, we are going on a month since its release and no updated ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Sander.Sweers@gmail.com</who>
            <bug_when>2008-06-22 21:56:49 0000</bug_when>
            <thetext>ok what is happening with this. Kernel 2.6.24 is stable and without a properly working ivtv ebuild.....?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-06-23 14:31:32 0000</bug_when>
            <thetext>chill out.  if things arent getting fixed fast enough for your taste, sign up
and help out.  or just wait patiently and quietly.

None of the media-tv devs use kernels this new. If we can&apos;t test it, we can&apos;t commit it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-07-01 14:51:26 0000</bug_when>
            <thetext>newer packages are in the tree</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>151058</attachid>
            <date>2008-04-26 18:43 0000</date>
            <desc>check for kernel ivtvfb and don&apos;t build the packaged fb on 2.6.24</desc>
            <filename>ivtv-1.0.3-r2-fbcon-2_6_24.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGl2dHYtMS4wLjMtcjIuZWJ1aWxkLm9yaWcJMjAwOC0wNC0yNiAyMDoyMzowNi4wMDAwMDAw
MDAgKzAyMDAKKysrIGl2dHYtMS4wLjMtcjIuZWJ1aWxkCTIwMDgtMDQtMjYgMjA6MzQ6NTguMDAw
MDAwMDAwICswMjAwCkBAIC0zMiw2ICszMiw5IEBACiAJaWYgdXNlIGZiY29uOyB0aGVuCiAJCU1P
RFVMRV9OQU1FUz0iJHtNT0RVTEVfTkFNRVN9IGl2dHZmYihleHRyYToke1N9L2RyaXZlcikiCiAJ
CUNPTkZJR19DSEVDSz0iJHtDT05GSUdfQ0hFQ0t9IEZCIEZCX1RSSURFTlQgRlJBTUVCVUZGRVJf
Q09OU09MRSBGT05UUyIKKwkJaWYgKCBrZXJuZWxfaXMgMiA2IDI0ICk7IHRoZW4KKwkJCUNPTkZJ
R19DSEVDSz0iJHtDT05GSUdfQ0hFQ0t9IFZJREVPX0ZCX0lWVFYiCisJCWZpCiAJZmkKIAogCWlm
ICEgKCBrZXJuZWxfaXMgMiA2IDIyIHx8IGtlcm5lbF9pcyAyIDYgMjMgfHwga2VybmVsX2lzIDIg
NiAyNCApOyB0aGVuCkBAIC04MCw4ICs4MywxMCBAQAogCiBzcmNfY29tcGlsZSgpIHsKIAotCWNk
ICIke1N9L2RyaXZlciIKLQlsaW51eC1tb2Rfc3JjX2NvbXBpbGUgfHwgZGllICJmYWlsZWQgdG8g
YnVpbGQgZHJpdmVyIgorCWlmICEgKCBrZXJuZWxfaXMgMiA2IDI0ICk7IHRoZW4KKwkJY2QgIiR7
U30vZHJpdmVyIgorCQlsaW51eC1tb2Rfc3JjX2NvbXBpbGUgfHwgZGllICJmYWlsZWQgdG8gYnVp
bGQgZHJpdmVyIgorCWZpCiAKIAljZCAiJHtTfS91dGlscyIKIAllbWFrZSBJTkNESVI9IiR7S1Zf
RElSfS9pbmNsdWRlIiB8fCBkaWUgImZhaWxlZCB0byBidWlsZCB1dGlscyAiCkBAIC05Niw4ICsx
MDEsMTAgQEAKIAlkb2RvYyBSRUFETUUqIGRvYy8qIENoYW5nZUxvZyoKIAl1c2UgcGVybCAmJiBk
b2RvYyB1dGlscy9wZXJsL1JFQURNRS5wdHVuZQogCi0JY2QgIiR7U30vZHJpdmVyIgotCWxpbnV4
LW1vZF9zcmNfaW5zdGFsbCB8fCBkaWUgImZhaWxlZCB0byBpbnN0YWxsIG1vZHVsZXMiCisJaWYg
ISAoIGtlcm5lbF9pcyAyIDYgMjQgKTsgdGhlbgorCQljZCAiJHtTfS9kcml2ZXIiCisJCWxpbnV4
LW1vZF9zcmNfaW5zdGFsbCB8fCBkaWUgImZhaWxlZCB0byBpbnN0YWxsIG1vZHVsZXMiCisJZmkK
IH0KIAogcGtnX3Bvc3RpbnN0KCkgewo=
</data>        

          </attachment>
    </bug>

</bugzilla>