https://bugs.documentfoundation.org/show_bug.cgi?id=153452

            Bug ID: 153452
           Summary: Build configuration: "Ant does not work"
           Product: LibreOffice
           Version: 7.6.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dolez...@cvut.cz

Description:
When attempting to run ./autogen.sh on Manjaro, I'm getting this error:

********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for product name... LibreOfficeDev
checking for package version... 7.6.0.0.alpha0+
checking for product version... 7.6
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... /usr/bin/make
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
configure: VCL platform has a usable dynamic loading API: yes
configure: VCL platform uses freetype+fontconfig: yes
configure: VCL platform uses headless plugin: yes
configure: VCL platform uses X11: yes
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for library containing dlsym... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for library containing backtrace... none required
checking whether build target is Release Build... no
checking whether to build a Community flavor... yes
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for pigz... no
checking for gzip... /usr/bin/gzip
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking for ccache... /usr/bin/ccache
checking gcc home... /usr
checking for gcc... /usr/bin/gcc
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking for -isystem ... yes
checking whether the compiler is actually Clang... no
checking whether gcc is already ccached... no
checking whether ccache gcc supports -ggdb2... yes
checking the GCC version... gcc 12.2.1 (120201)
checking whether to build with additional debug utilities... no
checking whether to do a debug build... no
checking for linker that is used... GNU ld (GNU Binutils) 2.40
checking for -Bsymbolic-functions linker support... found 
checking for --gc-sections linker support... found 
checking whether ccache gcc supports -Xclang -debug-info-kind=constructor... no
checking whether to generate debug information... no
checking whether to compile with optimization flags... yes
checking which package format to use... none
checking which help to build... no
checking if we need to build the help index tooling... yes
checking whether to enable xapian-omega support for online help... no
checking whether to include the XML-help support... yes
checking for helppack integration... no integration
checking which lockfile binary to use... internal
checking for getopt.h... yes
checking for paths.h... yes
checking for sys/param.h... yes
checking for utime... yes
checking for utimes... yes
checking for syslog.h... yes
checking whether to turn warnings to errors... no
checking whether to have assert() failures abort even without --enable-debug...
no
checking whether to use ooenv for the instdir installation... no
checking whether to build the pagein binaries for oosplash... yes
checking whether to enable CUPS support... yes
checking whether cups support is present... checking for cupsPrintFiles in
-lcups... yes
checking for cups/cups.h... yes
checking which fontconfig to use... external
checking for FONTCONFIG... yes
checking whether we want to fetch tarballs... yes, if we use them
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... yes
checking for spelling dictionary directory... file:///usr/share/hunspell
checking for hyphenation patterns directory... file:///usr/share/hyphen
checking for thesaurus directory... file:///usr/share/mythes
checking whether to enable pch feature... no
checking the GNU Make version... /usr/bin/make 4.4
checking for --hash-style gcc linker support... gnu 
checking for perl... /usr/bin/perl
checking the Perl version... Perl 5
checking for required Perl modules... all modules found
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc-ar... gcc-ar
checking for gcc-nm... gcc-nm
checking for gcc-ranlib... gcc-ranlib
checking for gcc-objdump... no
checking for objdump... objdump
checking for gcc-readelf... no
checking for readelf... readelf
checking for gcc-strip... no
checking for strip... strip
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking the GNU C++ compiler version... ok (g++ 12.2.1)
checking how to run the C++ preprocessor... g++ -E
checking whether g++ is broken with boost.thread... yes
checking whether g++ is already ccached... no
checking how to run the C++ preprocessor... g++ -E
checking how to run the C preprocessor... /usr/bin/ccache gcc -E
checking size of long... 8
checking size of short... 2
checking size of int... 4
checking size of long long... 8
checking size of double... 8
checking size of void*... 8
checking size of size_t... 8
checking alignment of short... 2
checking alignment of int... 4
checking alignment of long... 8
checking alignment of double... 8
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether jumbo sheets are supported... yes
checking whether to enable runtime optimizations... yes
checking for valgrind/valgrind.h... no
checking for sys/sdt.h... yes
checking working sys/sdt.h and c++ support... yes
checking whether ccache gcc supports -fstack-clash-protection... yes
checking whether ccache gcc supports -mno-avx... yes
checking whether ccache gcc supports atomic functions... yes
checking whether ccache g++ defines __base_class_type_info in cxxabi.h... yes
checking whether ccache g++ defines __class_type_info in cxxabi.h... yes
checking whether ccache g++ declares __cxa_allocate_exception in cxxabi.h...
yes
checking whether ccache g++ defines __cxa_eh_globals in cxxabi.h... no
checking whether ccache g++ defines __cxa_exception in cxxabi.h... no
checking whether ccache g++ declares __cxa_get_globals in cxxabi.h... yes
checking whether ccache g++ declares __cxa_current_exception_type in
cxxabi.h... yes
checking whether ccache g++ declares __cxa_throw in cxxabi.h... yes
checking whether ccache g++ defines __si_class_type_info in cxxabi.h... yes
checking whether ccache g++ defines __vmi_class_type_info in cxxabi.h... yes
checking what the C++ library is... GNU libstdc++
checking for gperf... /usr/bin/gperf
checking whether gperf is new enough... yes (3.1)
checking which libcmis to use... internal
checking whether ccache g++ supports C++17... yes (-std=c++17)
checking whether std::atomic can be used without link library... yes
checking whether ccache g++ supports C++11 without Language Defect 757... yes
checking whether ccache g++ supports -fno-sized-deallocation... yes
checking whether ccache g++ supports C++2a constinit sorted vectors... no
checking whether ccache g++ supports C++2a <span> with unsigned size_type... no
checking whether ccache g++ implements C++ DR P1155R3... no
checking whether ccache g++ supports C++20 std::atomic_ref... no
checking whether ccache g++ supports -Wdeprecated-copy-dtor... yes
checking whether ccache g++ might report false -Werror=maybe-uninitialized...
no
checking whether ccache g++ might report false -Werror=stringop-overflow=... no
checking whether /usr/bin/ccache g++ can compile SSE2 intrinsics... yes
checking whether /usr/bin/ccache g++ can compile SSSE3 intrinsics... yes
checking whether /usr/bin/ccache g++ can compile SSE4.1 intrinsics... yes
checking whether /usr/bin/ccache g++ can compile SSE4.2 intrinsics... yes
checking whether /usr/bin/ccache g++ can compile AVX intrinsics... yes
checking whether /usr/bin/ccache g++ can compile AVX2 intrinsics... yes
checking whether /usr/bin/ccache g++ can compile AVX512 intrinsics... yes
checking whether /usr/bin/ccache g++ can compile F16C intrinsics... yes
checking whether /usr/bin/ccache g++ can compile FMA intrinsics... yes
checking if STL headers are visibility safe (GCC bug 22482)... yes
checking if ccache g++ is -fvisibility-inlines-hidden safe (Clang bug 11250)...
yes
checking if ccache g++ has a visibility bug with class-level attributes (GCC
bug 26905)... no
checking if CET endbranch is recognized... yes
checking whether ccache g++ supports -fno-enforce-eh-specs... yes
checking for posix_fallocate... yes
checking for java... /usr/bin/java
checking the installed JDK... found /usr (JDK 19.0.2)
checking for javac... /usr/bin/javac
checking for javadoc... /usr/bin/javadoc
checking for JAWT lib... -L/usr/lib/jvm/default/lib/ -ljawt
checking whether to enable export file validation... yes
checking for odfvalidator... no
configure: no odfvalidator found, will download it
checking for officeotron... no
configure: no officeotron found, will download it
checking for Microsoft Binary File Format Validator... no
checking whether to enable EPM for packing... no
checking whether to build the ODK... no
checking whether to enable fuzzers... no
checking which zlib to use... external
checking for zlib.h... yes
checking for deflate in -lz... yes
checking which libjpeg to use... internal, libjpeg-turbo
checking for nasm... nasm
checking for object file format of host system... ELF64
checking for object file format specifier (NAFLAGS) ... -felf64 -DELF
-D__x86_64__ -DPIC
checking whether the assembler (nasm -felf64 -DELF -D__x86_64__ -DPIC) works...
yes
checking which clucene to use... internal
checking which expat to use... internal
checking which xmlsec to use... internal
checking whether to enable Embedded OpenType support... no
checking which librevenge to use... internal
checking which libodfgen to use... internal
checking which libepubgen to use... internal
checking which libwpd to use... internal
checking which libwpg to use... internal
checking which libwps to use... internal
checking which libvisio to use... internal
checking which libcdr to use... internal
checking which libmspub to use... internal
checking which libmwaw to use... internal
checking which libetonyek to use... internal
checking which libfreehand to use... internal
checking which libebook to use... internal
checking which libabw to use... internal
checking which libpagemaker to use... internal
checking which libqxp to use... internal
checking which libzmf to use... internal
checking which libstaroffice to use... internal
checking which lcms2 to use... internal
checking which cppunit to use... internal
checking which freetype to use... external
checking for FREETYPE... yes
checking which libxslt to use... external
checking for LIBXSLT... yes
checking for LIBEXSLT... yes
checking for xsltproc... /usr/bin/xsltproc
checking which libxml to use... external
checking for LIBXML... yes
checking for xmllint... /usr/bin/xmllint
checking for a Python interpreter with version >= 3.3... python
checking for python... /usr/bin/python
checking for python version... 3.10
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)...
${PYTHON_PREFIX}/lib/python3.10/site-packages
checking for python extension module directory (pyexecdir)...
${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages
checking which Python to use for Pyuno... 
checking for a Python interpreter with version >= 3.3... python
checking for python... /usr/bin/python
checking for python version... 3.10
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)...
${PYTHON_PREFIX}/lib/python3.10/site-packages
checking for python extension module directory (pyexecdir)...
${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages
checking which Python to use for Pyuno... system
checking for a Python interpreter with version >= 3.3... python
checking for python... /usr/bin/python
checking for python version... 3.10
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)...
${PYTHON_PREFIX}/lib/python3.10/site-packages
checking for python extension module directory (pyexecdir)...
${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages
<string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
checking for Python.h... yes
checking for python lxml... no, and no system libxml/libxslt, gla11y will only
report widget classes and ids
checking for correct python library version... ok
checking whether to build LibreLogo... yes
checking whether to build the MariaDB/MySQL SDBC driver... yes
checking which MariaDB to use... internal
checking which hsqldb to use... internal
checking whether to build the PostgreSQL SDBC driver... yes
checking for library containing com_err... -lcom_err
checking for library containing krb5_sendauth... -lkrb5
checking for library containing gss_init_sec_context... -lgssapi_krb5
checking PostgreSQL C interface... internal
checking which Firebird to use... internal
checking which curl to use... internal
checking which boost to use... internal
checking which mdds to use... internal
checking which dragonbox to use... internal
checking which libfixmath to use... internal
checking which glm to use... internal
checking which odbc headers to use... internal
checking which nss to use... external
checking for NSS... yes
checking whether to enable LDAP support... yes
checking which openldap library to use... internal
checking which TLS/SSL and cryptographic implementation to use... NSS
checking which sane header to use... internal
checking which icu to use... internal
checking whether to enable breakpad... no
checking which orcus to use... internal
checking which graphite to use... internal
checking which harfbuzz to use... internal
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for X11/extensions/shape.h... yes
checking for X11/ICE/ICElib.h... yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking for X11/Intrinsic.h... yes
checking whether to use Xrender... yes
checking for XRENDER... yes
checking for XRenderQueryVersion in -lXrender... yes
checking for X11/extensions/Xrender.h... yes
checking whether to enable RandR support... yes
checking for XRANDR... yes
checking for WebDAV support... yes
checking whether to execute CVE tests... yes
checking whether to disable OpenSSL usage... no
checking which openssl to use... internal
checking whether to enable the OpenSSL backend for rtl/cipher.h... no
checking which redland to use... internal
checking which libhunspell to use... internal
checking whether to use zxing... yes
checking which libzxing to use... internal
checking which box2d to use... internal
checking which altlinuxhyph to use... internal
checking which mythes to use... internal
checking whether to build with CoinMP... yes
checking whether to build with lpsolve... yes
checking which lpsolve to use... internal
checking which libexttextcat to use... internal
checking which libnumbertext to use... internal
checking whether the libc is recent enough... checking for uuidgen...
/usr/bin/uuidgen
checking for bison... /usr/bin/bison
checking the bison version... checking for flex... /usr/bin/flex
checking the flex version... checking for diff... /usr/bin/diff
checking for uniq... /usr/bin/uniq
checking for patch... /usr/bin/patch
checking for gnucp... no
checking for cp... /usr/bin/cp
checking whether /usr/bin/cp is GNU cp from coreutils with preserve= support...
yes
checking for zip... /usr/bin/zip
checking for unzip... /usr/bin/unzip
checking for touch... /usr/bin/touch
checking which epoxy to use... internal
checking Type to use for Device Pixel coordinates... sal_Int32
configure: VCLplugs to be built: gen gtk3
checking for GTK3... yes
checking for eglMakeCurrent in -lEGL... yes
checking for EGL/eglplatform.h... yes
checking whether to enable DBUS support... yes
checking for DBUS... yes
checking for DBUS_GLIB... yes
checking whether to enable Impress remote control... yes
checking whether to enable Bluetooth support in Impress remote control... yes
checking which Bluetooth header to use... internal
checking whether to enable GIO support... checking for GIO... yes
checking whether to enable the GStreamer 1.0 avmedia backend... yes
checking for GSTREAMER_1_0... yes
checking for glBegin in -lGL... yes
checking for DCONF... yes
checking whether to enable dconf... yes
checking whether to build the PDF import feature... yes
checking whether to build PDFium... yes
checking which OpenJPEG library to use... internal
checking which Abseil library to use... internal
checking whether to build Poppler... yes
checking which PDF import poppler to use... internal
checking whether to build Skia... yes
checking for clang... clang
checking for clang++... clang++
checking whether clang++ can compile SSE2 intrinsics... yes
checking whether clang++ can compile SSSE3 intrinsics... yes
checking whether clang++ can compile SSE4.1 intrinsics... yes
checking whether clang++ can compile SSE4.2 intrinsics... yes
checking whether clang++ can compile AVX intrinsics... yes
checking whether clang++ can compile AVX2 intrinsics... yes
checking whether clang++ can compile AVX512 intrinsics... yes
checking whether clang++ can compile F16C intrinsics... yes
checking whether clang++ can compile FMA intrinsics... yes
checking whether clang is already ccached... no
checking whether clang++ is already ccached... no
checking whether to enable gpgmepp... yes
checking which gpgmepp to use... internal
checking for gpg... /usr/bin/gpg
checking for /run/user/1000... yes
checking for gpgconf... /usr/bin/gpgconf
checking whether version of gpgconf is suitable ... ... yes, 2.2.40
checking for gpgconf --create-socketdir... ... yes
checking whether to build the Wiki Publisher extension... no
checking whether to build the Report Builder... yes
checking which jfreereport libs to use... internal
checking whether to build support for scripts in BeanShell... yes
checking which beanshell to use... internal
checking whether to build support for scripts in JavaScript... yes
checking which rhino to use... internal
checking whether to enable evolution 2 support... no
checking which themes to include...  breeze breeze_dark breeze_dark_svg
breeze_svg colibre colibre_dark colibre_dark_svg colibre_svg elementary
elementary_svg karasa_jaga karasa_jaga_svg sifr sifr_dark sifr_dark_svg
sifr_svg sukapura sukapura_svg 
checking for extensions integration... yes, use integration
checking for building the Numbertext extension... no
checking for building the NLPSolver extension... no
checking whether to build opens___.ttf... no
checking whether to include third-party fonts... yes
checking whether to enable online update... no
checking whether to enable extension update... yes
checking whether to create MSI with LIMITUI=1 (silent install)... no
checking whether and how to use Xinerama... yes, with dynamic linking
checking for X11/extensions/Xinerama.h... yes
checking for XineramaIsActive in -lXinerama... yes
checking whether to use the system cairo... yes
checking for CAIRO... yes
checking whether Xrender.h defines PictStandardA8... yes
checking whether to use system liblangtag... no
checking which libpng to use... internal
checking which libtiff to use... internal
checking which libwebp to use... internal
checking whether to use specific JVM search path at runtime... no
checking for ant... /usr/bin/ant
checking if /usr/share/ant/bin/ant works... configure: error: Ant does not work
- Some Java projects will not build!
Error running configure at ./autogen.sh line 321.


Steps to Reproduce:
Attempt to run ./autogen.sh

Actual Results:
configure: error: Ant does not work - Some Java projects will not build!

Expected Results:
No error


Reproducible: Always


User Profile Reset: No

Additional Info:
This section of the configure script is really hard to read and has no comments
at all

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to