[Debian-med-packaging] Bug#1011156: picard-tools: FTBFS with OpenJDK 17 due to com.sun.javadoc removal

Emmanuel Bourg ebourg at apache.org
Tue May 17 18:20:22 BST 2022


Source: picard-tools
Version: 2.27.1+dfsg-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

picard-tools fails to build with Java 17 because it uses classes from
the com.sun.javadoc package which was removed:


  :compileJava
  Putting task artifact state for task ':compileJava' into context took 0.003 secs.
  Up-to-date check for task ':compileJava' took 1.643 secs. It is not up-to-date because:
    No history is available.
  All input files are considered out-of-date for incremental task ':compileJava'.
  Compiling with JDK Java compiler API.
  /<<PKGBUILDDIR>>/src/main/java/picard/util/help/PicardHelpDoclet.java:3: error: package com.sun.javadoc does not exist
  import com.sun.javadoc.ClassDoc;
                        ^
  /<<PKGBUILDDIR>>/src/main/java/picard/util/help/PicardHelpDoclet.java:4: error: package com.sun.javadoc does not exist
  import com.sun.javadoc.RootDoc;
                        ^
  /<<PKGBUILDDIR>>/src/main/java/picard/util/help/PicardHelpDoclet.java:32: error: cannot find symbol
      public static boolean start(final RootDoc rootDoc) throws IOException {
                                        ^
    symbol:   class RootDoc
    location: class PicardHelpDoclet
  /<<PKGBUILDDIR>>/src/main/java/picard/util/help/PicardHelpDoclet.java:58: error: cannot find symbol
              final ClassDoc classDoc,
                    ^
    symbol:   class ClassDoc
    location: class PicardHelpDoclet
  /<<PKGBUILDDIR>>/src/main/java/picard/util/help/PicardHelpDocWorkUnitHandler.java:3: error: package com.sun.javadoc does not exist
  import com.sun.javadoc.FieldDoc;
                        ^
  Note: /<<PKGBUILDDIR>>/src/main/java/picard/analysis/CollectOxoGMetrics.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  5 errors
  :compileJava FAILED



More information about the Debian-med-packaging mailing list