Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239341 - stabilize MythTV
Summary: stabilize MythTV
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://svn.mythtv.org/trac/ticket/5902
Whiteboard:
Keywords: STABLEREQ
Depends on: 246430
Blocks: 245285
  Show dependency tree
 
Reported: 2008-10-02 15:29 UTC by Doug Goldstein (RETIRED)
Modified: 2008-12-23 17:28 UTC (History)
1 user (show)

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


Attachments
Complete build log for comment #10 (build.log,1.68 KB, text/plain)
2008-11-12 19:15 UTC, Wilson M. Michaels
Details
build environment for comment # 10 (environment,142.36 KB, text/plain)
2008-11-12 19:17 UTC, Wilson M. Michaels
Details
mythtv-0.21-mythflix-naming-collision.patch-14586.out for comment #10 (mythtv-0.21-mythflix-naming-collision.patch-14586.out,3.36 KB, text/plain)
2008-11-12 19:26 UTC, Wilson M. Michaels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2008-10-02 15:29:36 UTC
=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
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-10-02 18:16:29 UTC
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)
Comment 2 nixnut (RETIRED) gentoo-dev 2008-10-04 12:14:06 UTC
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.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-10-04 14:56:16 UTC
I put the wrong version of mytharchive in comment #0. Comment #1 has the proper version to stabilize.
Comment 4 Markus Meier gentoo-dev 2008-10-09 20:34:16 UTC
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
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-11-10 18:53:18 UTC
Created, http://svn.mythtv.org/trac/ticket/5902 to resolve the collision.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2008-11-11 15:20:31 UTC
=media-plugins/mythflix-0.21_p19046 & =media-plugins/mythtv-0.21_p18314 has been added to the tree to address this
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-11-11 15:20:50 UTC
That was =media-plugins/mythtv-0.21_p18314-r1
Comment 8 Wilson M. Michaels 2008-11-12 19:15:18 UTC
Created attachment 171567 [details]
Complete build log for comment #10
Comment 9 Wilson M. Michaels 2008-11-12 19:17:11 UTC
Created attachment 171569 [details]
build environment for comment # 10
Comment 10 Wilson M. Michaels 2008-11-12 19:18:29 UTC
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'.
 *

Comment 11 Wilson M. Michaels 2008-11-12 19:26:31 UTC
Created attachment 171571 [details]
mythtv-0.21-mythflix-naming-collision.patch-14586.out for comment #10
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2008-11-13 15:49:56 UTC
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.
Comment 13 Wilson M. Michaels 2008-11-13 20:19:51 UTC
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.
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2008-11-17 22:52:49 UTC
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. 
Comment 15 Wilson M. Michaels 2008-11-26 19:19:01 UTC
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. 
Comment 16 Richard Freeman gentoo-dev 2008-12-06 15:51:34 UTC
Do all of these need to be stabilized simultaneously?  I can test a fair number of them, but probably not everything in comment 0.  
Comment 17 Doug Goldstein (RETIRED) gentoo-dev 2008-12-08 14:28:03 UTC
Yep. Otherwise people could have a set of plugins that include non-stabled ones. Current stable versions will NOT work with the versions requested.
Comment 18 Steve Dibb (RETIRED) gentoo-dev 2008-12-12 20:08:03 UTC
amd64 done
Comment 19 Markus Meier gentoo-dev 2008-12-21 15:07:23 UTC
 * 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.
Comment 20 nixnut (RETIRED) gentoo-dev 2008-12-21 17:12:25 UTC
ppc stable
Comment 21 Doug Goldstein (RETIRED) gentoo-dev 2008-12-23 16:36:14 UTC
(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..
Comment 22 Markus Meier gentoo-dev 2008-12-23 17:28:41 UTC
x86 stable, all arches done.