build issue: Ant related?

Vlastimil Babka caster at gentoo.org
Mon Mar 1 02:10:32 PST 2010


On 03/01/2010 10:21 AM, Vlastimil Babka wrote:
> On 03/01/2010 10:17 AM, Mark Wielaard wrote:
>> On Sun, 2010-02-28 at 22:30 +0000, Andrew John Hughes wrote:
>>> On 28 February 2010 11:42, Andreas Radke<a.radke at arcor.de> wrote:
>>>> the new release fails here. Maybe it's our apache-ant update to
>>>> 1.8.0? We haven't changed anything major since 1.7 release.
>>>>
>>> It's OpenJDK that's failing due to your update to Ant. You should use
>>> the recommended version of Ant which is 1.7.
>>
>> Do we know what the actual problem is with 1.8? It would be nice to have
>> a configure check for it to warn early in the build.

I would say run ant -diagnostics and see if it doesn't fail, but that 
needs a working java already, so dunno how feasible it would be in the 
early check? I would however argue against checking files existence in 
ANT_HOME/lib because e.g. in gentoo we don't have xalan there, but put 
in on classpath in /usr/bin/ant from elsewhere.

> It seems that ant -diagnostics fails (abruptly exits) in Ant 1.8 when
> xerces and xalan are not available (typically in ANT_HOME/lib). In 1.7
> this did not happen. I am now building with the libraries available to
> ant, to see if this is the only fix needed.

So, it worked.

Vlastimil



More information about the distro-pkg-dev mailing list