Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283847

Summary: media-video/mythtv: patch for mythtv.eclass to fix building error
Product: Gentoo Linux Reporter: Juergen Nagel <juergennagel>
Component: Current packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: cardoe
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mythtv.eclass.patch

Description Juergen Nagel 2009-09-06 13:41:49 UTC
When trying to build MythTV recently I received the following build error:

----------------------------------
ERROR: unpack

ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
Call stack:
              ebuild.sh, line   49:  Called src_unpack
            environment, line 3566:  Called die
The specific snippet of code:
      sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${MYTHTV_REV}:" -i "${S}"/version.pro || die "svnversion sed failed";
 The die message:
  svnversion sed failed

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'.
----------------------------------

After fixing the mythtv.eclass I had been able to build MythTV properly.
The patch to mythtv.eclass is attached to this bug.
Comment 1 Juergen Nagel 2009-09-06 13:43:54 UTC
Created attachment 203274 [details, diff]
mythtv.eclass.patch
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2009-11-08 01:27:50 UTC
I can't duplicate this and the patch will definitely not result in correct behavior. I recommend trying again and re-opening as necessary.