[mythtv-commits] Ticket #9872: mythtv-v4l2-fix.2.patch won't apply using ebuilds in https://github.com/MythTV/packaging/tree/master/Gentoo

MythTV noreply at mythtv.org
Mon Jun 27 02:09:50 UTC 2011


#9872: mythtv-v4l2-fix.2.patch won't apply using ebuilds in
https://github.com/MythTV/packaging/tree/master/Gentoo
-------------------------------------+-------------------------------------
 Reporter:  lee@…                    |           Type:  Bug Report -
   Status:  new                      |  General
Milestone:  unknown                  |       Priority:  minor
  Version:  0.24                     |      Component:  Packaging
 Keywords:  mythtv-0.24_p20110625    |       Severity:  medium
                                     |  Ticket locked:  0
-------------------------------------+-------------------------------------
 After updating from https://github.com/MythTV/packaging/tree/master/Gentoo
 this morning, the ebuild for mythtv fails attempting to apply the mythtv-
 v4l2-fix.2.patch patch mentioned within the mythtv 0.24 ebuild:
 {{{
  * Messages for package media-tv/mythtv-0.24_p20110625:

  *
  * For NVIDIA based cards, the XvMC renderer only works on
  * the NVIDIA 4, 5, 6 & 7 series cards.
  * Failed Patch: mythtv-v4l2-fix.2.patch !
  *  ( /usr/local/portage/mythtv/Gentoo/media-tv/mythtv/files/mythtv-
 v4l2-fix.2.patch )
  *
  * Include in your bugreport the contents of:
  *
  *   /var/tmp/portage/media-tv/mythtv-0.24_p20110625/temp/mythtv-
 v4l2-fix.2.patch.out
  * ERROR: media-tv/mythtv-0.24_p20110625 failed (prepare phase):
  *   Failed Patch: mythtv-v4l2-fix.2.patch!
  *
  * Call stack:
  *     ebuild.sh, line   56:  Called src_prepare
  *   environment, line 6149:  Called epatch
 '/usr/local/portage/mythtv/Gentoo/media-tv/mythtv/files/mythtv-
 v4l2-fix.2.patch'
  *   environment, line 2220:  Called die
  * The specific snippet of code:
  *               die "Failed Patch: ${patchname}!";
  *
  * If you need support, post the output of 'emerge --info =media-
 tv/mythtv-0.24_p20110625',
  * the complete build log and the output of 'emerge -pqv =media-
 tv/mythtv-0.24_p20110625'.
  * This ebuild used the following eclasses from overlays:
  *   /usr/local/portage/mythtv/Gentoo/eclass/mythtv.eclass
  * This ebuild is from an overlay named 'Mythtv-Ebuilds':
 '/usr/local/portage/mythtv/Gentoo/'
  * The complete build log is located at '/var/tmp/portage/media-
 tv/mythtv-0.24_p20110625/temp/build.log'.
  * The ebuild environment file is located at '/var/tmp/portage/media-
 tv/mythtv-0.24_p20110625/temp/environment'.
  * S: '/var/tmp/portage/media-tv/mythtv-0.24_p20110625/work/MythTV-mythtv-
 30993d6/mythtv'
 }}}

 Looking closer at the patch out:
 {{{
 ***** mythtv-v4l2-fix.2.patch *****

 ===================================

 PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch <
 '/usr/local/portage/mythtv/Gentoo/media-tv/mythtv/files/mythtv-
 v4l2-fix.2.patch'

 ===================================
 can't find file to patch at input line 5
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |diff --git a/mythtv/configure b/mythtv/configure
 |index 1efe803..7bcdf06 100755
 |--- a/mythtv/configure
 |+++ b/mythtv/configure
 --------------------------
 No file to patch.  Skipping patch.
 8 out of 8 hunks ignored
 can't find file to patch at input line 78
 Perhaps you used the wrong -p or --strip option?
 }}}

 When I look at other patchs I notice that there is no a/<path> b/<path> in
 the header, they are all rooted in the unpacked mythtv source itself.

 I assume that the ebuild needs to know that the patch execution options
 are slightly different (-p1 instead of -p0 perhaps?)

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9872>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list