Hi Ole, Le 04/12/2022 à 19:39, Ole Streicher a écrit :
Hi, I just got a new RC bug [1] for my starjava-ttools package [2] that the package starts to FTBFS. The build error [3] is the following: ------------------------------8<------------------------------------------ build: [mkdir] Created dir: /build/1st/starjava-ttools-3.4.7/build/classes [javac] Compiling 955 source files to /build/1st/starjava-ttools-3.4.7/build/classes [javac] /build/1st/starjava-ttools-3.4.7/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:3: error: package com.sun.javadoc does not exist [javac] import com.sun.javadoc.ClassDoc; [javac] ^ [...] ------------------------------8<------------------------------------------ The package build-depends on default-jdk and default-jdk-doc (currently openjdk-17). It seems that com.sun.javadoc moved somewhere else. Is there a new dependency I need, or something to add to the class path?
Yes, a few weeks ago Debian moved from OpenJDK11 to OpenJDK17 being the default JDK and com.sun.javadoc has been removed in between. The code using it should be reworked, for instance there is a migration table [4] about the replacement of the com.sun.javadoc classes.
Best regards Ole [1] https://bugs.debian.org/1025440 [2] https://tracker.debian.org/pkg/starjava-ttools [3] https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/starjava-ttools_3.4.7-2.rbuild.log.gz
Best regards, -- Pierre[4] https://docs.oracle.com/en/java/javase/11/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature