Bug#982001: lucene-solr: FTBFS with OpenJDK 17 due to rmic removal

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 16:37:13 GMT 2021


Source: lucene-solr
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
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



More information about the pkg-java-maintainers mailing list