Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7706 - ant 1.5 must run with green threads on PPC
Summary: ant 1.5 must run with green threads on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-09 15:11 UTC by Armando Di Cianno (RETIRED)
Modified: 2006-02-04 06:03 UTC (History)
2 users (show)

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


Attachments

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