Bug 239341 - stabilize MythTV
|
Bug#:
239341
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-tv@gentoo.org
|
Reported By: cardoe@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
http://svn.mythtv.org/trac/ticket/5902
|
|
Summary: stabilize MythTV
|
|
Keywords: STABLEREQ
|
|
Status Whiteboard:
|
|
Opened: 2008-10-02 15:29 0000
|
=media-tv/mythtv-0.21_p18314
=x11-themes/mythtv-themes-0.21_p16505
=x11-themes/mythtv-themes-extra-0.21_17416
=media-plugins/mytharchive-0.21_p18355
=media-plugins/mythbrowser-0.21_p17105
=media-plugins/mythcontrols-0.21_p17105
=media-plugins/mythdvd-0.21
=media-plugins/mythflix-0.21_p17105
=media-plugins/mythgallery-0.21_p17105
=media-plugins/mythgame-0.21_p17965
=media-plugins/mythmovies-0.21_p17821
=media-plugins/mythmusic-0.21_p17821
=media-plugins/mythnews-0.21_p17105
=media-plugins/mythphone-0.21_p17105
=media-plugins/mythvideo-0.21_p17595
=media-plugins/mythweather-0.21_p17719
=www-apps/mythweb-0.21_p17573
I have the following on a stable amd64 (with only ~arch openrc/baselayout):
* installed packages
[I--] [ ~] media-plugins/mytharchive-0.21_p17948 (0)
[I--] [ ~] media-plugins/mythflix-0.21_p17105 (0)
[I--] [ ~] media-plugins/mythvideo-0.21_p17595 (0)
[I--] [ ~] media-tv/mythtv-0.21_p18314 (0)
[I--] [ ~] www-apps/mythweb-0.21_p17573 (0.21_p17573)
[I--] [ ~] x11-themes/mythtv-themes-0.21_p16505 (0)
[I--] [ ~] x11-themes/mythtv-themes-extra-0.21_p17416 (0)
This needs a newer version of portage stabled first:
!!! All ebuilds that could satisfy "=media-plugins/mytharchive-0.21_p18355"
have been masked.
!!! One of the following masked packages is required to complete your request:
- media-plugins/mytharchive-0.21_p18355 (masked by: EAPI 2)
The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
I put the wrong version of mytharchive in comment #0. Comment #1 has the proper
version to stabilize.
file collision:
>>> Completed installing mythnews-0.21_p17105 into /var/tmp/portage/media-plugins/mythnews-0.21_p17105/image/
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/lib/mythtv/plugins/libmythnews.so
* checking 26 files for package collisions
...snip...
* package media-plugins/mythnews-0.21_p17105 NOT merged
*
* Detected file collision(s):
*
* /usr/share/mythtv/themes/default/news-info-bg.png
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* media-plugins/mythflix-0.21_p17105
* /usr/share/mythtv/themes/default/news-info-bg.png
=media-plugins/mythflix-0.21_p19046 & =media-plugins/mythtv-0.21_p18314 has
been added to the tree to address this
That was =media-plugins/mythtv-0.21_p18314-r1
There seems to be a problem with =media-plugins/mythtv-0.21_p18314-r1
* Messages for package media-tv/mythtv-0.21_p18314-r1:
* This ebuild now uses a heavily stripped down version of your CFLAGS
* Failed Patch: mythtv-0.21-mythflix-naming-collision.patch !
* (
/usr/portage/media-tv/mythtv/files/mythtv-0.21-mythflix-naming-collision.patch
)
*
* Include in your bugreport the contents of:
*
*
/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/mythtv-0.21-mythflix-naming-collision.patch-14586.out
*
* ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_unpack
* environment, line 3500: Called epatch 'src_unpack'
* environment, line 1807: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
* The die message:
* Failed Patch: mythtv-0.21-mythflix-naming-collision.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_p18314-r1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment'.
*
As I stated in bug #246430, this patch comes straight from upstream's SVN. The
file being patched hasn't changed since before 0.21 was branched and I was able
to successfully emerge the package with the patch prior to committing so I'm at
a loss. My only suggestion is that you delete your
/usr/portage/distfiles/svn-src/mythtv and try again.
Deleting and trying again made no change.
I dug around and discovered that epatch was not trying hard enough to find the
file. Here is the change I made to epatch that worked for me:
--- /usr/portage/eclass/eutils.eclass.orig 2008-11-13 14:10:12.000000000
-0600
+++ /usr/portage/eclass/eutils.eclass 2008-11-13 13:48:35.000000000 -0600
@@ -276,7 +276,7 @@
fi
# Allow for prefix to differ ... im lazy, so shoot me
:/
- while [ "${count}" -lt 5 ]
+ while [ "${count}" -lt 6 ]
do
# Generate some useful debug info ...
_epatch_draw_line "***** ${patchname} *****" >>
${STDERR_TARGET%/*}/${patchname}-${STDERR_TARGET##*/}
The problem may instead be "mythtv/mythtv" in this pathname to the file to
patch:
/usr/portage/distfiles/svn-src/mythtv/mythtv/themes/default-wide/netflix-ui.xml
The redundant mythtv directory makes the pathname too long for epatch to
handle.
The issue is because upstream forces their SVN to operate with DOS eols, which
don't play nice with stable patch. The fix has been committed and this needs to
be re-tested and stabilized.
Thank you,
I know my patch was wrong. I thought it would help you fix the real problem.
I verified that my change to eutils.eclass was removed by emerge --sync. I
emerged mythtv again and this time it completed. Your fix is good for my
problem.
Do all of these need to be stabilized simultaneously? I can test a fair number
of them, but probably not everything in comment 0.
Yep. Otherwise people could have a set of plugins that include non-stabled
ones. Current stable versions will NOT work with the versions requested.
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mytharchive-0.21_p17948/image/usr/bin/mytharchivehelper
/var/tmp/portage/media-plugins/mytharchive-0.21_p17948/image/usr/lib/mythtv/plugins/libmytharchive.so
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mythbrowser-0.21_p17105/image/usr/bin/mythbrowser
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mythcontrols-0.21_p17105/image/usr/lib/mythtv/plugins/libmythcontrols.so
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mythgallery-0.21_p17105/image/usr/lib/mythtv/plugins/libmythgallery.so
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mythgame-0.21_p17965/image/usr/lib/mythtv/plugins/libmythgame.so
* QA Notice: Pre-stripped files found:
* /var/tmp/portage/media-plugins/mythmovies-0.21_p17821/image/usr/bin/ignyte
/var/tmp/portage/media-plugins/mythmovies-0.21_p17821/image/usr/lib/mythtv/plugins/libmythmovies.so
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mythmusic-0.21_p17821/image/usr/lib/mythtv/plugins/libmythmusic.so
* QA Notice: Pre-stripped files found:
*
/var/tmp/portage/media-plugins/mythphone-0.21_p17105/image/usr/lib/mythtv/plugins/libmythphone.so
* QA Notice: Pre-stripped files found:
* /var/tmp/portage/media-plugins/mythvideo-0.21_p17595/image/usr/bin/mtd
/var/tmp/portage/media-plugins/mythvideo-0.21_p17595/image/usr/lib/mythtv/plugins/libmythvideo.so
it would be nice if this would be fixed first.
(In reply to comment #19)
It's going to take some eclass hackage. I'll have to look into it exactly.
However, the current stable 0.20.x series is known not work or build. So
basically the options are stabilize a version with QA warnings about the
plugins being pre-stripped when built without USE=debug, or have a version that
doesn't build and no one will provide support for..
x86 stable, all arches done.