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

Bug 517734

Summary: ant-eclipse-ecj-4.4.ebuild
Product: Gentoo Linux Reporter: William L. Thomson Jr. <wlt-ml>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ant-eclipse-ecj-4.4.ebuild
files/ecj-4.4

Description William L. Thomson Jr. 2014-07-22 00:10:41 UTC
Created attachment 381300 [details]
ant-eclipse-ecj-4.4.ebuild

Upated ebuild for ant-eclipse-ecj-4.4, pending review. Ran into issue with fixing sed for prefix, fixing path of installed ecj java-config environment file. Needs a better solution that does not cause access denied with sed's temp file. Commented that out for now, as it only effects prefix installs.
Comment 1 William L. Thomson Jr. 2014-07-22 00:11:27 UTC
Created attachment 381302 [details]
files/ecj-4.4

java environment file
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2014-07-23 22:25:02 UTC
As requested a review

src_unpack:
mkdir || die

src_compile:
cd || die
use find -exec for both

src_install:
You can't go and sed a file on the live system that may not even exist yet. Probably ${ED} went missing there. Actually, instead of sed you can use eprefixify from prefix.eclass.
Comment 3 William L. Thomson Jr. 2014-07-23 23:04:25 UTC
(In reply to Ralph Sennhauser from comment #2)
> As requested a review
> 
> src_unpack:
> mkdir || die
> 
> src_compile:
> cd || die
> use find -exec for both
> 
> src_install:
> You can't go and sed a file on the live system that may not even exist yet.
> Probably ${ED} went missing there. Actually, instead of sed you can use
> eprefixify from prefix.eclass.

All of that is in every previous version. Granted, I should catch and improve. No others devs including ones doing stabilising are picking that up.

The sed code has been there as the other stuff. I believe the sed was broken. I fixed it and it caused another issue. No clue who added prefix support but they did not do it properly. I was not trying to fix that.

Thanks for the review, but I mean more review and commit to tree....
Comment 4 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-11-02 09:06:11 UTC
Bumped to 4.4.1 (slot 4.4)