Bug#1011611: libgpars-groovy-java: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Wed May 25 11:11:21 BST 2022
Package: libgpars-groovy-java
Version: 1.2.1-10
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
libgpars-groovy-java 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.
:compileGroovy
Putting task artifact state for task ':compileGroovy' into context took 0.0 secs.
Up-to-date check for task ':compileGroovy' took 0.13 secs. It is not up-to-date because:
No history is available.
Starting process 'Gradle Worker Daemon 2'. Working directory: /<<PKGBUILDDIR>>/.gradle/workers Command: /usr/lib/jvm/java-17-openjdk-amd64/bin/java @/tmp/gradle-worker-classpath14359917355185461738txt -Xms128m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Worker Daemon 2'
Successfully started process 'Gradle Worker Daemon 2'
Started Gradle worker daemon (0.211 secs) with fork options DaemonForkOptions{executable=/usr/lib/jvm/java-17-openjdk-amd64/bin/java, minHeapSize=128m, maxHeapSize=512m, jvmArgs=[], classpath=[/usr/share/java/groovy-all.jar, /usr/share/java/ant-1.10.12.jar, /usr/share/java/ant-launcher-1.10.12.jar], keepAliveMode=SESSION}.
This JVM does not support getting OS memory, so no OS memory status updates will be broadcast
Initialized native services in: /<<PKGBUILDDIR>>/.gradle/native
Compiling with JDK Java compiler API.
warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
startup failed:
Compilation failed; see the compiler error output for details.
1 error
:compileGroovy FAILED
:compileGroovy (Thread[Task worker for ':',5,main]) completed. Took 1.533 secs.
More information about the pkg-java-maintainers
mailing list