Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517738 - dev-java/eclipse-ecj eclipse-ecj-4.4.ebuild
Summary: dev-java/eclipse-ecj 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: 501692 506644
  Show dependency tree
 
Reported: 2014-07-22 00:23 UTC by William L. Thomson Jr.
Modified: 2014-11-02 09:06 UTC (History)
0 users

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


Attachments
eclipse-ecj-4.4.ebuild (eclipse-ecj-4.4.ebuild,1.50 KB, text/plain)
2014-07-22 00:23 UTC, William L. Thomson Jr.
Details
eclipse-ecj-4.4.ebuild (eclipse-ecj-4.4.ebuild,1.56 KB, text/plain)
2014-07-22 19:11 UTC, William L. Thomson Jr.
Details
eclipse-ecj-4.4.ebuild (eclipse-ecj-4.4.ebuild,1.51 KB, text/plain)
2014-07-22 19:14 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:23:37 UTC
Created attachment 381306 [details]
eclipse-ecj-4.4.ebuild

Upated ebuild for eclipse-ecj-4.4, pending review. Ran into issues with circular dependencies with ant-eclipse-ecj-4.4. Also had issues with eselect-ecj which is presently blocked by eselect-java. I commented out both CDEPEND and PDEPEND for now to proceed with rest of ebuild. I removed/ditched the old src_compile with bootstrap. I think it was all legacy stuff from the 1.4 days no longer necessary. Should be good to go for the most part, once issues with circular dependencies and eselect are worked out.
Comment 1 William L. Thomson Jr. 2014-07-22 19:11:59 UTC
Created attachment 381372 [details]
eclipse-ecj-4.4.ebuild
Comment 2 William L. Thomson Jr. 2014-07-22 19:14:00 UTC
Created attachment 381374 [details]
eclipse-ecj-4.4.ebuild
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2014-07-23 22:41:42 UTC
Some points:

The build file doesn't specify the encoding, so this will fail already with plain ascii locale. Set the encoding (JAVA_ANT_ENCODING), my guess utf-8 or latin-1.

java_prepare:
rm -f never fails so the || die is pointles, don't use -f?

src_install:
there aren't any 1.4 classes anymore the way you build it, so why is the workaround still needed?
Comment 4 William L. Thomson Jr. 2014-07-23 23:01:44 UTC
(In reply to Ralph Sennhauser from comment #3)
> Some points:
> 
> The build file doesn't specify the encoding, so this will fail already with
> plain ascii locale. Set the encoding (JAVA_ANT_ENCODING), my guess utf-8 or
> latin-1.

There are VERY few packages that set that. Most are either ISO-8859-1 or UTF-8. The old boot strap code used ISO-8859-1. I would just assume go with that.

> java_prepare:
> rm -f never fails so the || die is pointles, don't use -f?
> 
> src_install:
> there aren't any 1.4 classes anymore the way you build it, so why is the
> workaround still needed?

Both legacy code in all past ebuild versions, in prepare and install. Just make the changes and commit. Not sure the point in commenting. This is NOT all me, and many devs have overlooked this stuff in past revisions including yourself....

I mean more review and commit. Not review for feedback....
Comment 5 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-11-02 09:06:24 UTC
Bumped to 4.4.1 (slot 4.4)