Source: sbt-ivy
Version: 2.4.0~rc1+dfsg-2
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17


sbt-ivy fails to build with OpenJDK 17 due to the removal of the pack200 API:


    [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] Using javac -source 1.5 is no longer supported, switching to 7
    [javac] Using javac -target 1.5 is no longer supported, switching to 7
    [javac] Compiling 471 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/core/settings/IvySettings.java:29: 
warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
    [javac] import java.security.AccessControlException;
    [javac]                     ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/pack/Pack200Packing.java:26: 
error: cannot find symbol
    [javac] import java.util.jar.Pack200;
    [javac]                     ^
    [javac]   symbol:   class Pack200
    [javac]   location: package java.util.jar
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/pack/Pack200Packing.java:27: 
error: package java.util.jar.Pack200 does not exist
    [javac] import java.util.jar.Pack200.Unpacker;
    [javac]                             ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/settings/IvySettings.java:309: 
warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
    [javac]         } catch (AccessControlException ex) {
    [javac]                  ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/module/status/StatusManager.java:85:
 warning: [removal] Integer(int) in Integer has been deprecated and marked for 
removal
    [javac]             statusPriorityMap.put(status.getName(), new 
Integer(iter.previousIndex()));
    [javac]                                                     ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java:191:
 warning: [removal] Long(long) in Long has been deprecated and marked for 
removal
    [javac]             defaultTTL = new 
Long(parseDuration(settings.getVariable("ivy.cache.ttl.default")));
    [javac]                          ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java:197:
 warning: [removal] Long(long) in Long has been deprecated and marked for 
removal
    [javac]         this.defaultTTL = new Long(defaultTTL);
    [javac]                           ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java:201:
 warning: [removal] Long(long) in Long has been deprecated and marked for 
removal
    [javac]         this.defaultTTL = new Long(parseDuration(defaultTTL));
    [javac]                           ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java:243:
 warning: [removal] Long(long) in Long has been deprecated and marked for 
removal
    [javac]         ttlRules.defineRule(new MapMatcher(attributes, matcher), 
new Long(duration));
    [javac]                                                                  ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java:1076:
 warning: [removal] Long(long) in Long has been deprecated and marked for 
removal
    [javac]                 origin.setLastChecked(new Long(start));
    [javac]                                       ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java:1178:
 warning: [removal] Long(long) in Long has been deprecated and marked for 
removal
    [javac]         origin.setLastChecked(new Long(time));
    [javac]                               ^
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/pack/Pack200Packing.java:70: 
error: cannot find symbol
    [javac]         Unpacker unpacker = Pack200.newUnpacker();
    [javac]         ^
    [javac]   symbol:   class Unpacker
    [javac]   location: class Pack200Packing
    [javac] 
/<<PKGBUILDDIR>>/src/java/org/apache/ivy/core/pack/Pack200Packing.java:70: 
error: cannot find symbol
    [javac]         Unpacker unpacker = Pack200.newUnpacker();
    [javac]                             ^
    [javac]   symbol:   variable Pack200
    [javac]   location: class Pack200Packing

__
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.

Reply via email to