Source: ivy
Version: 2.5.0-1
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17
ivy fails to build with OpenJDK 17 due to the removal of the pack200 API:
compile:
[mkdir] Created dir: /<<PKGBUILDDIR>>/classes
[javac] /<<PKGBUILDDIR>>/debian/build.xml:31: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 487 source files to /<<PKGBUILDDIR>>/classes
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed
in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed
in a future release
[javac] warning: [options] To suppress warnings about obsolete options,
use -Xlint:-options.
[javac] /<<PKGBUILDDIR>>/src/java/org/apache/ivy/util/FileUtil.java:49:
error: cannot find symbol
[javac] import static java.util.jar.Pack200.newUnpacker;
[javac] ^
[javac] symbol: class Pack200
[javac] location: package java.util.jar
[javac] /<<PKGBUILDDIR>>/src/java/org/apache/ivy/util/FileUtil.java:49:
error: static import only from classes and interfaces
[javac] import static java.util.jar.Pack200.newUnpacker;
[javac] ^
[javac]
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/plugins/latest/LatestRevisionStrategy.java:69:
warning: [removal] Integer(int) in Integer has been deprecated and marked for
removal
[javac] sm2 = new Integer(0);
[javac] ^
[javac]
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/plugins/latest/LatestRevisionStrategy.java:74:
warning: [removal] Integer(int) in Integer has been deprecated and marked for
removal
[javac] return new Integer(0).compareTo(sm2);
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/java/org/apache/ivy/util/FileUtil.java:650:
error: cannot find symbol
[javac] newUnpacker().unpack(new UncloseInputStream(in), jar);
[javac] ^
[javac] symbol: method newUnpacker()
[javac] location: class FileUtil
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
[javac] 6 warnings
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.