Source: lucene-solr
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17
lucene-solr fails to build with OpenJDK 17 due to the removal of rmic:
common.compile-core:
[mkdir] Created dir:
/<<PKGBUILDDIR>>/lucene/build/contrib/remote/classes/java
[javac] Compiling 3 source files to
/<<PKGBUILDDIR>>/lucene/build/contrib/remote/classes/java
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed
in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed
in a future release
[javac] warning: [options] To suppress warnings about obsolete options,
use -Xlint:-options.
[javac] Note:
/<<PKGBUILDDIR>>/lucene/contrib/remote/src/java/org/apache/lucene/search/RemoteSearchable.java
uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 4 warnings
compile-core:
[rmic] RMI Compiling 1 class to
/<<PKGBUILDDIR>>/lucene/build/contrib/remote/classes/java
BUILD FAILED
/<<PKGBUILDDIR>>/lucene/build.xml:580: The following error occurred while
executing this line:
/<<PKGBUILDDIR>>/lucene/common-build.xml:1051: The following error occurred
while executing this line:
/<<PKGBUILDDIR>>/lucene/contrib/contrib-build.xml:58: The following error
occurred while executing this line:
/<<PKGBUILDDIR>>/lucene/contrib/remote/build.xml:30: rmic does not exist
under Java 15 and higher, use rmic of an older JDK and explicitly set the
executable attribute
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.