Summary: | media-tv/mythtv-0.21_p18314-r1 fails to compile: path to version.pro incorrect | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Myk Taylor <myk002> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hyedad, jamesbroadhead, zteccc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
patched ebuild new build log, same error |
Description
Myk Taylor
2009-07-26 03:55:02 UTC
Created attachment 199188 [details]
build log
Confirming this Created attachment 199772 [details]
patched ebuild
The attached ebuild works for me on x86. I just had to add a line to redefine ${S} to the default: "${WORKDIR}/${P}"
The problem stems from the mythtv eclass, which assumes that source will come from SVN. It sets ${S} accordingly, but this is incorrect for the current mythtv ebuilds that get source from a tarball. All of the 0.21 ebuilds use tarballs, and probably need the same 1-line patch.
Redefining ${S} to the default in each ebuild isn't the cleanest fix though. To me, it seems like the current mythtv.eclass should be renamed to something like mythtv-svn, so the non-SVN mythtv.eclass used for tarballs can have the $SRC_URI and $S declarations removed.
This is not the problem with all 0.21 versions. At least version 0.21_p20877 compiles fine, but these don't: 0.21_p18314-r1 0.21_p18314-r2 0.21_p19961-r1 0.21_p19961-r2. Please test/use media-tv/mythtv-0.21_p19961-r2 as this is the new stable candidate. Brendan's proposed ebuild works. =media-tv/mythtv-0.21_p19961-r2 still displays the same error with version.pro It doesn't appear that the proposed ebuid, media-tv/mythtv-0.21_p19961-r2 includes the bttv patch that p18314 had. Is the root cause for bttv cards resolved in this ebuild or does this patch need to be revisited? It appears from bug #259951 that there could be issues. Created attachment 200109 [details]
new build log, same error
same error with the new ebuild
=media-tv/mythtv-0.21_p19961-r2 still fails (In reply to comment #9) > =media-tv/mythtv-0.21_p19961-r2 still fails > =media-tv/mythtv-0.21_p20877 has the same problem. See bug 280516 just updated today. =media-tv/mythtv-0.21_p19961-r2 builds now |