Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8071 - OutOfMemoryError while emerging ant
Summary: OutOfMemoryError while emerging ant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Owen Stampflee (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-18 11:00 UTC by Guillaume
Modified: 2006-02-04 06:03 UTC (History)
0 users

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


Attachments
output of the emerge ant command (trace,3.71 KB, text/plain)
2002-09-19 03:33 UTC, Guillaume
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume 2002-09-18 11:00:47 UTC
Hi,

next bug in the java/ppc serie: I've installed ant(ant-1.4.1-r3) but whenever I
try to execute it, I receive an error message:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main

I've tried to search for ant libraries containing this class but I didn't find them.

Best regards,
    Guillaume
Comment 1 Guillaume 2002-09-19 03:33:57 UTC
Created attachment 4006 [details]
output of the emerge ant command
Comment 2 Guillaume 2002-09-19 03:42:53 UTC
Hi again,

apparently the building phase failed due to some file location problems, but the
documentation, scripts, ... installation phase were successful reporting an
overall success status: ouch !
(cp: cannot stat `build/lib/*.jar': No such file or directory
chmod: failed to get attributes of
`/var/tmp/portage/ant-1.4.1-r3/image//usr/share/ant/lib//*.jar': No such file or
directory)

Going tracing the problem I've cleaned /var/tmp/portage and
/usr/portage/distfiles and re-emerged ant. Now I've got a fully reproducable
OutOfMemoryError (see the attached trace).

Cheerio,
    Guillaume
Comment 3 Guillaume 2002-09-20 07:22:14 UTC
Everything works fine with ant1.5 (masked for ppc).
Comment 4 Owen Stampflee (RETIRED) gentoo-dev 2002-09-25 11:55:02 UTC
I tried ant 1.4 on two machines, one with 32MB of RAM, another with 128... it
didnt work on the 32MB machine and worked fine on the 128MB Machine so we can
say ant requires more than 32MB of RAM.

Anyways, ant-1.5 is now unmasked.
Comment 5 Guillaume 2002-09-25 13:09:12 UTC
My computer as 384160 kB (mostly unused during the build). I guess the blackdown
ppc VM is using more memory on it's own. This would explain the problem if you'd
run it on a x86 box.

BTW ant 1.5 is still masked for ppc (doesn't have the ppc keyword ?).

Cheerio,
    Guillaume
Comment 6 Owen Stampflee (RETIRED) gentoo-dev 2002-09-25 13:30:55 UTC
No, both builds were on PPCs (A 4400 and an iBook)... 
I commited the fix. It may take a couple of hours for it too reach your favorite
mirror.
Comment 7 Guillaume 2002-09-25 13:33:39 UTC
> No, both builds were on PPCs (A 4400 and an iBook)... 

Strange ... anyway it's not a problem any longer ;-)