Bug#1011776: opentest4j: FTBFS with OpenJDK 17 due to JDK detection error
Emmanuel Bourg
ebourg at apache.org
Thu May 26 18:00:12 BST 2022
Source: opentest4j
Version: 1.2.0-3
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
opentest4j fails to build with OpenJDK 17, it requires OpenJDK 11 but the check can probably be bypassed:
Initialized native services in: /<<PKGBUILDDIR>>/.gradle/native
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.4.1/userguide/gradle_daemon.html.
Starting process 'Gradle build daemon'. Working directory: /<<PKGBUILDDIR>>/.gradle/daemon/4.4.1 Command: /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xbootclasspath/a:/usr/share/java/gradle-helper-hook.jar>
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.544 secs.
The client will now receive all logging from the daemon (pid: 16331). The daemon log file: /<<PKGBUILDDIR>>/.gradle/daemon/4.4.1/daemon-16331.out.log
Daemon will be stopped at the end of the build stopping after processing
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Using 8 worker leases.
Creating new cache for fileHashes, path /<<PKGBUILDDIR>>/.gradle/caches/4.4.1/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess at 534016bb
Creating new cache for resourceHashesCache, path /<<PKGBUILDDIR>>/.gradle/caches/4.4.1/fileHashes/resourceHashesCache.bin, access org.gradle.cache.internal.DefaultCacheAccess at 534016bb
Creating new cache for fileHashes, path /<<PKGBUILDDIR>>/.gradle/4.4.1/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess at 6470db06
Starting Build
Compiling initialization script '/<<PKGBUILDDIR>>/.gradle/init.d/init.gradle' using SubsetScriptTransformer.
Creating new cache for metadata-1.1/results, path /<<PKGBUILDDIR>>/.gradle/caches/transforms-1/metadata-1.1/results.bin, access org.gradle.cache.internal.DefaultCacheAccess at 792683b4
Compiling initialization script '/<<PKGBUILDDIR>>/.gradle/init.d/init.gradle' using BuildScriptTransformer.
Compiling settings file '/<<PKGBUILDDIR>>/settings.gradle' using SubsetScriptTransformer.
Compiling settings file '/<<PKGBUILDDIR>>/settings.gradle' using BuildScriptTransformer.
FAILURE: Build failed with an exception.
* Where:
Settings file '/<<PKGBUILDDIR>>/settings.gradle' line: 6
* What went wrong:
A problem occurred evaluating settings 'opentest4j'.
> The OpenTest4J build requires Java 11. Currently executing with Java 12.
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
More information about the pkg-java-maintainers
mailing list