Ant not working ???

Stephan Bergmann sbergman at redhat.com
Wed Jun 20 08:39:44 UTC 2018


On 19/06/18 22:11, Olivier Hallot wrote:
> ------8<------------
> configure:38880: checking if /usr/share/ant/bin/ant works
> configure:38900: /usr/share/ant/bin/ant -buildfile conftest.xml 1>&2
> Buildfile: /home/tdf/git/core/conftest.xml
> 
> conftest:
>      [javac] /home/tdf/git/core/conftest.xml:3: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to false for repeatable builds
>      [javac] Compiling 1 source file
>      [javac] /home/tdf/git/core/conftest.java:1: error: cannot access
> unnamed package
>      [javac]         public class conftest {
>      [javac]         ^
>      [javac]   error accessing directory
> /home/tdf/git/corejava.nio.file.InvalidPathException: Malformed input or
> input contains unmappable characters: Sem t??tulo 1.odt
>      [javac] 1 error
> 
> BUILD FAILED
> /home/tdf/git/core/conftest.xml:3: Compile failed; see the compiler
> error output for details.
> 
> ------8<------------
> 
> Apparently it complains on the file "Sem título 1.ods" that has accented
> characters. Nothing changed, AFAIK, WRT locales (pt-BR) in the build.

Smells like you happen to have such a (not-git-tracked) file "Sem título 
1.ods" in your SRCDIR (/home/tdf/git/core), and that the configure.ac 
check "if $ANT works" is written in a way that it is not resilient to that.


More information about the LibreOffice mailing list