| Summary: | emerge dev-perl/SGMLSpm-1.03-r5 fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dewet Diener <gentoobugzilla> |
| Component: | New packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fuzzyray, sean |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch for SGMLSpm-1.03-r5.ebuild | ||
|
Description
Dewet Diener
2004-06-25 03:23:04 UTC
Created attachment 34376 [details, diff]
Patch for SGMLSpm-1.03-r5.ebuild
I've had the same issue. The problem is, that the standard src_compile, which
is invoked since there is none in the ebuild, executes make, before it is
modified by the sed scripts in the ebuild.
The attached patch fixes it for now by moving the manipulation of the make file
into src_unpack and modifying the make target "all" to do nothing, because
otherwise it would still be executed by src_compile before the appropriate
directories are created.
However, after looking into that, I think, the ebuild should be completely
reworked:
* Design the Makefile to fit specifically for Gentoo.
* Get rid of these ugly and error-prone sed scripts and give the parameters to
the Makefile by environment variables.
Thanks for the patch, I applied it. I agree that it should be fixed differently. The problem with so many seds in portage is that they aren't being error checked properly. I think the problem will need to be fixed globally in portage eventually. Can we get 1.03-r5 marked stable on x86? 1.03-r4 which is the current stable version fails to compile with the same issues as listed in this bug. |