Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] SOLVED Java problem
Date: Tue, 25 May 2010 11:47:41
Message-Id: 20100525074624.4414f6d4@osage.osagesoftware.com
In Reply to: Re: [gentoo-user] Re: Java problem by David Relson
1 Problem solved! caster at b.g.o. suggested running
2
3 Must be some orphan file.
4 Try grep ant-junit /usr/share/*/package.env
5
6 which found CLASSPATH and DEPEND lines in .../ant-tasks/package.env.
7 After removing the ant-junit references, emerge gave a different error
8 message. I then disabled all the /usr/share/ant* directories by
9 renaming them to /usr/share/ant*.xxx
10
11 After running the following commands (with results shown):
12
13 1) emerge ant-junit failed saying "!!! ERROR: Package ant-core was not
14 found!"
15
16 2) emerge ant-core succeeded
17
18 3) emerge eclipse-sdk successfully built multiple packages until
19 dev-java/ant-apache-bcel-1.7.1 failed saying "!!! ERROR: Package
20 ant-nodeps was not found!"
21
22 4) emerge ant-nodeps succeeded
23
24 emerge eclipse-sdk has succeeded !!!
25
26 Conclusions:
27
28 1 - jar file references in /usr/share/ant-tasks/package.env caused the
29 error messages I didn't understand
30
31 2 - ant-nodeps is needed for ant-apache-bcel, but is incorrect in the
32 ebuild
33
34 3 - install problem has been solved