Bug#981964: jssc: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Fri Feb 5 12:02:08 GMT 2021
Source: jssc
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
jssc fails to build with OpenJDK 17 because it invokes javac with
the source/target options set to 6. Since OpenJDK 12 the minimum version
supported is 7.
make[1]: Entering directory '/<<PKGBUILDDIR>>'
jh_build -o "-source 1.6 -target 1.6 -encoding UTF-8" --javadoc-opts="-source 1.6 -encoding UTF-8"
jh_build: warning: -s/--same-arch is deprecated; please use -a/--arch instead
jh_build: warning: This feature will be removed in compat 12.
warning: [options] bootstrap class path not set in conjunction with -source 7
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
2 errors
jh_build: error: find ./src/java/jssc -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath :debian/_jh_build.jssc -d debian/_jh_build.javadoc/api -quiet -source 1.6 -encoding UTF-8 -notimestamp -Xdoclint:none returned exit code 123
make[1]: *** [debian/rules:21: override_jh_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
More information about the pkg-java-maintainers
mailing list