Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259547 - media-tv/mythtv-0.21_p19961 - Failed Patch: mythtv-0.21-bttv.patch
Summary: media-tv/mythtv-0.21_p19961 - Failed Patch: mythtv-0.21-bttv.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 259576 259893 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-19 02:20 UTC by Dave
Modified: 2009-02-23 01:05 UTC (History)
11 users (show)

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


Attachments
build.log (build.log,130.40 KB, text/plain)
2009-02-19 02:21 UTC, Dave
Details
emerge --info (info,18.34 KB, text/plain)
2009-02-19 02:22 UTC, Dave
Details
Patch log file (mythtv-0.21-bttv.patch-11999.out,3.04 KB, text/plain)
2009-02-19 09:36 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2009-02-19 02:20:37 UTC
* Failed Patch: mythtv-0.21-bttv.patch !
 *  ( /usr/portage/media-tv/mythtv/files/mythtv-0.21-bttv.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-tv/mythtv-0.21_p19961/temp/mythtv-0.21-bttv.patch-2801.out
 *
 * ERROR: media-tv/mythtv-0.21_p19961 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 3529:  Called epatch '/usr/portage/media-tv/mythtv/files/mythtv-0.21-bttv.patch'
 *             environment, line 1832:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: mythtv-0.21-bttv.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.21_p19961/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.21_p19961/temp/environment'.
 *
Comment 1 Dave 2009-02-19 02:21:16 UTC
Created attachment 182496 [details]
build.log
Comment 2 Dave 2009-02-19 02:22:57 UTC
Created attachment 182497 [details]
emerge --info
Comment 3 Gregg Casillo 2009-02-19 03:50:12 UTC
Same problem here. Looks like it can't patch NuppelVideoRecorder.cpp.
Comment 4 Neil Bothwick 2009-02-19 09:36:19 UTC
Created attachment 182533 [details]
Patch log file

Same error here, here is the patch log file requested by the failure message.
Comment 5 Mike Woods 2009-02-19 14:35:06 UTC
Removing the patch line from the ebuild works, seems the line of code (line 981 in libs/libmythtv/NuppelVideoRecorder.cpp) from the patch doesn't even exist anymore when changing the path of the files to fix the initial patch error.

I do not have a bttv card to verify if everything still works after removing the patch.
Comment 6 Paul Sands 2009-02-19 17:29:17 UTC
(In reply to comment #5)
> Removing the patch line from the ebuild works, seems the line of code (line 981
> in libs/libmythtv/NuppelVideoRecorder.cpp) from the patch doesn't even exist
> anymore when changing the path of the files to fix the initial patch error.
> 
> I do not have a bttv card to verify if everything still works after removing
> the patch.
> 

Looks like the code was changed upstream at changeset 19249. Not sure if the patch is still needed (not experienced enough to verify).
Comment 7 gregorcy 2009-02-19 17:40:19 UTC
same error here
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-19 18:47:51 UTC
*** Bug 259576 has been marked as a duplicate of this bug. ***
Comment 9 Steve Brudenell 2009-02-19 19:51:25 UTC
The changelist from upstream references http://svn.mythtv.org/trac/ticket/5608 , which seems like a duplicate of the issue fixed by the gentoo bttv patch with a similar fix. It looks like it should be safe to just ditch the gentoo patch.
Comment 10 Steve Brudenell 2009-02-19 19:55:18 UTC
Voting for this, as this version contains a patch that makes DVB work with kernel 2.6.28.
Comment 11 Allan K 2009-02-19 23:24:23 UTC
(In reply to comment #9)
> The changelist from upstream references http://svn.mythtv.org/trac/ticket/5608
> , which seems like a duplicate of the issue fixed by the gentoo bttv patch with
> a similar fix. It looks like it should be safe to just ditch the gentoo patch.
> 

If someone has tested this successfully, can you please post back. I will then test after at least one success on 2.6.28 (especially if you have a bttv based card)... 
Comment 12 Simon Perry 2009-02-20 00:42:23 UTC
Hi guys,

I just got this error after an update this morning. You guys are awesome, so fast on the bug report!  :)

I commented out the patch in the ebuild and it built without an issue (this latest package also fixes the 2.6.28 build problem). My backend is running fine and all seems good from some basic testing. Unfortunately I don't have a "bttv" card, so I'm not sure if my comment is helpful.

Good job on the fast work here, your efforts are appreciated.

Cheers.
Comment 13 Jesse Adelman 2009-02-20 22:40:13 UTC
Same problem here. Will wait for the comment-out-bttv-patch patch. ;) Hopefully we'll get a bump on all the plugins and mythweb soon, since many of the fixes in this SVN changeset are for them alone.
Comment 14 Evan 2009-02-21 10:36:38 UTC
I just updated (after commenting out the bttv patch) and my bttv card works just fine. 
Comment 15 Steve Dibb (RETIRED) gentoo-dev 2009-02-22 03:55:59 UTC
fixed in -r1
Comment 16 Steve Dibb (RETIRED) gentoo-dev 2009-02-23 00:58:47 UTC
*** Bug 259893 has been marked as a duplicate of this bug. ***
Comment 17 Allan K 2009-02-23 01:05:19 UTC
my bttv (bt878-dvico Fusion HDTV Lite) card does not work after commenting out the patch, and is reporting no signal.. My cx23885 card still does work