Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517734 - ant-eclipse-ecj-4.4.ebuild
Summary: ant-eclipse-ecj-4.4.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 00:10 UTC by William L. Thomson Jr.
Modified: 2014-11-02 09:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ant-eclipse-ecj-4.4.ebuild (ant-eclipse-ecj-4.4.ebuild,1.60 KB, text/plain)
2014-07-22 00:10 UTC, William L. Thomson Jr.
Details
files/ecj-4.4 (ecj-4.4,298 bytes, text/plain)
2014-07-22 00:11 UTC, William L. Thomson Jr.
Details

Note You need to log in before you can comment on or make changes to this bug.
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)