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

Bug 7706

Summary: ant 1.5 must run with green threads on PPC
Product: Gentoo Linux Reporter: Armando Di Cianno (RETIRED) <fafhrd>
Component: Current packagesAssignee: Karl Trygve Kalleberg (RETIRED) <karltk>
Status: RESOLVED FIXED    
Severity: normal CC: kevin, mguertin
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Armando Di Cianno (RETIRED) gentoo-dev 2002-09-09 15:11:40 UTC
Java 1.3.1 fcs "javac" in it's default gentoo form would not build ant 1.5
(which , probably because of this, is not keyworded for ppc).  It fails with
java "Out of memory" errors.

However, keywording the ebuild for ppc, and running `THREADS_FLAG="green" emerge
ant` from bash will ensure only green threads are used and not linux native
ones, which lets the build complete.  This environment variable can just as
easily be added to the ebuild.

Ant 1.5 works well now, as far as I can tell.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-09-11 10:29:27 UTC
No, there are numerous problems with ant 1.5; it will not make it in the
upcoming Gentoo 1.4 release.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-10-18 15:53:05 UTC
I've talked to our PPC experts, which report that there are no newer versions of
the JDK available for the PPC. Unless you have any better suggestions, I'll
modify the /usr/bin/ant script so that it switches ant to green threads
permanently on the PPC.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-11-01 18:33:09 UTC
Fixed in dev-java/ant-1.5.1-r1. I've tested it on a ppc. If it doesn't work,
please reopen and give me some hints.