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.
Created attachment 203274 [details, diff] mythtv.eclass.patch
I can't duplicate this and the patch will definitely not result in correct behavior. I recommend trying again and re-opening as necessary.