Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489266 - dev-java/ant-core-1.9.2 does not compile with gcj-jdk and ecj-gcj
Summary: dev-java/ant-core-1.9.2 does not compile with gcj-jdk and ecj-gcj
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: ARM Linux
: Normal major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 14:45 UTC by gentooer
Modified: 2014-07-14 18:48 UTC (History)
0 users

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


Attachments
Build logfile (build.log,745.86 KB, application/octet-stream)
2013-10-24 14:45 UTC, gentooer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentooer 2013-10-24 14:45:18 UTC
I want to compile icedtea on my Odroid U2, as there is no binary version available for ARM. Following some blog posts, I started to compile gcj-gdk (4.7.3) with ecj-gcj, which al worked out nicely.

Emerging icedtea7 pulled in ant-core 1.9.2, which fails to compile (see build.log).

I linked /etc/java-config-2/current-system-vm/bin/javac to /usr/biin/gcj and it actually started compiling but crashed later at some kind of linking process.

Upgrading ecj-gcj from 3.6 to 4.2 (from zugaina) did not solve the problem.

Any hint on this?



Reproducible: Always

Steps to Reproduce:
1. Be on ARM
2. emerge gcj-jdk/ecj-gcj, do the eselect steps
3. Try to emerge ant-core
Actual Results:  
Errors during compilation.

Expected Results:  
Should compile.
Comment 1 gentooer 2013-10-24 14:45:47 UTC
Created attachment 361790 [details]
Build logfile
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2014-07-14 18:48:28 UTC
This should be fixed. Thanks for the report.

*gcj-jdk-4.8.3 (14 Jul 2014)
*gcj-jdk-4.8.2 (14 Jul 2014)
*gcj-jdk-4.7.4 (14 Jul 2014)
*gcj-jdk-4.7.3-r1 (14 Jul 2014)

  14 Jul 2014; Ralph Sennhauser <sera@gentoo.org> -gcj-jdk-4.5.1-r1.ebuild,
  -gcj-jdk-4.5.2-r1.ebuild, -gcj-jdk-4.5.3.ebuild, -gcj-jdk-4.5.4.ebuild,
  -gcj-jdk-4.5.4-r1.ebuild, -gcj-jdk-4.6.0.ebuild, -gcj-jdk-4.6.1.ebuild,
  -gcj-jdk-4.6.2-r1.ebuild, -gcj-jdk-4.6.3.ebuild, -gcj-jdk-4.6.3-r1.ebuild,
  -gcj-jdk-4.6.3-r2.ebuild, -gcj-jdk-4.6.3-r3.ebuild, -gcj-jdk-4.7.2.ebuild,
  +gcj-jdk-4.7.3-r1.ebuild, +gcj-jdk-4.7.4.ebuild, +gcj-jdk-4.8.2.ebuild,
  +gcj-jdk-4.8.3.ebuild, +files/javac.in:
  Add missing versions for 4.7 and 4.8
  Fix 4.7.3 to be able to build ant-core-1.9 #489266
  Thanks to Andrew John Hughes <gnu_andrew@member.fsf.org> for the javac
  wrapper und for providing new API diffs
  Drop 4.5 and 4.6 as they are to old to build current icedtea:7
  Drop ia64 ppc ppc64 on 4.8 as the correspondig gcc is missing those keywords