Source: jssc
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@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>>'

Reply via email to