Bug#1053058: lucene4.10: FTBFS with default Java 21

Vladimir Petko vpa1977 at gmail.com
Tue Sep 26 23:11:20 BST 2023


Source: lucene4.10
Version: 4.10.4+dfsg-7.1
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.petko at canonical.com

Dear Maintainers,

The package lucene4.10 ftbfs with default Java 21.
The relevant part of the build log:
---------------
compile-core:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/build/core/classes/java
    [javac] Compiling 734 source files to /<<PKGBUILDDIR>>/build/core/classes/java
    [javac] error: Source option 7 is no longer supported. Use 8 or later.
    [javac] error: Target option 7 is no longer supported. Use 8 or later.

BUILD FAILED
/<<PKGBUILDDIR>>/common-build.xml:736: The following error occurred while executing this line:
/<<PKGBUILDDIR>>/common-build.xml:525: The following error occurred while executing this line:
/<<PKGBUILDDIR>>/common-build.xml:1833: Compile failed; see the compiler error output for details.

Total time: 1 second
dh_auto_build: error: ant -Divy.settings.file=/usr/share/ivy-debian-helper/ivysettings.xml -Divy.default.ivy.user.dir=/<<BUILDDIR>>/lucene4.10-4.10.4\+dfsg/.ivy2 -Dversion=4.10.4 jar returned exit code 1
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
---------------


-- System Information:
Debian Release: bookworm/sid
  APT prefers lunar-updates
  APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.2.0-33-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-java-maintainers mailing list