Bug#850945: ant: exec task fails with error 127 on kfreebsd-i386

Emmanuel Bourg ebourg at apache.org
Wed Jan 11 14:21:28 UTC 2017


Hi Gilles,

Le 11/01/2017 à 14:54, Gilles Filippini a écrit :

> Moreover, ant reports BUILD SUCCESSFUL while it is obviously unsuccessful.

The <exec> task doesn't fail the build by default when an error occurs.
The failonerror="true" attribute has to be specified.


> BTW I don't understand why kfreebsd-i386/unstable still has ant 1.9.6-1 :/

Good question. ant/1.9.8 failed to build on kfreebsd-i386, the <chmod>
task is called during the build and fails, probably for the same reason
<exec> fails with jxgrabkey (the <chmod> task extends <exec>).

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list