[Debian-med-packaging] Bug#1011924: capsule-nextflow: FTBFS with OpenJDK 17 due to pack200 removal and ambiguous reference to FileSystems.newFileSystem()
Emmanuel Bourg
ebourg at apache.org
Thu May 26 21:17:45 BST 2022
Source: capsule-nextflow
Version: 1.1.0+dfsg-4
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
capsule-nextflow fails to build with OpenJDK 17, the pack200 API has been removed
and a new FileSystems.newFileSystem() makes the existing call ambiguous:
/<<PKGBUILDDIR>>/capsule-util/src/main/java/co/paralleluniverse/capsule/Jar.java:40: error: cannot find symbol
import java.util.jar.Pack200;
^
symbol: class Pack200
location: package java.util.jar
/<<PKGBUILDDIR>>/capsule-util/src/main/java/co/paralleluniverse/capsule/Jar.java:59: error: package Pack200 does not exist
private Pack200.Packer packer;
^
/<<PKGBUILDDIR>>/capsule-util/src/main/java/co/paralleluniverse/capsule/Jar.java:570: error: package Pack200 does not exist
public Jar setPacker(Pack200.Packer packer) {
^
/<<PKGBUILDDIR>>/capsule-util/src/main/java/co/paralleluniverse/common/PathClassLoader.java:57: error: reference to newFileSystem is ambiguous
o = FileSystems.newFileSystem(p, null);
^
both method newFileSystem(Path,ClassLoader) in FileSystems and method newFileSystem(Path,Map<String,?>) in FileSystems match
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
3 warnings
More information about the Debian-med-packaging
mailing list