- Package:
- src:sbt-ivy
- Source:
- sbt-ivy
- Submitter:
- Emmanuel Bourg
- Date:
- 2022-06-02 10:54:03 UTC
- Severity:
- important
- Tags:
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
Hello, Bug #1011610 in sbt-ivy reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/java-team/sbt-ivy/-/commit/426635d129380e4834e6f7b76553ddecef2aef62 (this message was generated automatically) -- Greetings https://bugs.debian.org/1011610
We believe that the bug you reported is fixed in the latest version of sbt-ivy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1011610@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Emmanuel Bourg <ebourg@apache.org> (supplier of updated sbt-ivy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 02 Jun 2022 12:31:51 +0200 Source: sbt-ivy Architecture: source Version: 2.4.0~rc1+dfsg-3 Distribution: unstable Urgency: medium Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Changed-By: Emmanuel Bourg <ebourg@apache.org> Closes: 1011610 Changes: sbt-ivy (2.4.0~rc1+dfsg-3) unstable; urgency=medium . * Team upload. * Fixed the build failure with OpenJDK 17 (Closes: #1011610) * Removed the doc package * Standards-Version updated to 4.6.1 * Switch to debhelper level 13 Checksums-Sha1: 86eb6c2c6fd860c72437e4c10ac7d29a3b0c5b40 2252 sbt-ivy_2.4.0~rc1+dfsg-3.dsc 5dfff685c1ab74b2bdd147e134a9b606fb69d954 6320 sbt-ivy_2.4.0~rc1+dfsg-3.debian.tar.xz db3b349fbe53f96513d6f02e745d11004950d8c7 11117 sbt-ivy_2.4.0~rc1+dfsg-3_source.buildinfo Checksums-Sha256: 0473fdcfad99a780dece26c45f749a8780c87daddb5708a16c39538af1ea0090 2252 sbt-ivy_2.4.0~rc1+dfsg-3.dsc 677d3e46e7474d9d1ac968c01df2743e7a239205b642bdcfdc879db7ec749ae3 6320 sbt-ivy_2.4.0~rc1+dfsg-3.debian.tar.xz 8cf3b17b46a04e7498333ba9a8d8cc6c98caf0a4005b8007413596206a972f1e 11117 sbt-ivy_2.4.0~rc1+dfsg-3_source.buildinfo Files: 11ddee3dfb36dc4213f65fff31b70aee 2252 java optional sbt-ivy_2.4.0~rc1+dfsg-3.dsc 07ea1a93463c0a90c4f57dcddf055b1a 6320 java optional sbt-ivy_2.4.0~rc1+dfsg-3.debian.tar.xz df8b5a3bc7f095a4de70e4cec3415511 11117 java optional sbt-ivy_2.4.0~rc1+dfsg-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmKYkjQSHGVib3VyZ0Bh cGFjaGUub3JnAAoJEPUTxBnkudCs25wQAMotL1P9EscDc+wBFX9eWXN6jLacfWXv PxOA8bxe5Ipuikve5rd80R7lTMBO1stmpj9xkPEnbZzIjdwkyk1lZkxwvwOJNUF1 2peySYjh2BAo9oDw/SS8OTBvVh5fu02vCXRutb+DHcfc42gG7oIYKIltm35Zl/qG hYAN/sJff8hex+KEOaaERHHV64RGcW1GWC3ShrIKxX+z+QA6U5ZR2yjJCk6bQXzG Nnku28XrRL43bh0D+AxySI+QZhecg03CrDhPxjITrC61lhpF6htxPO6GY+PiKwuz +Qe17KKEFVoxElQ4C0iwNFzyKBy169gXkIvucHPVRxCSv86hLiXZtIA2DmM2wdbY xh1d91vJXMGWgdHIVHAK9ui3z/Fz7kjlhLmI7zfEWEoxiJ9tw9iD8iGhcYt+lCY7 UmurcEU8OuYLKUGEykqR9ub1KChBnKWn5p1zGY+QPPnqLoWfqFZBvnJzCHexZhAi MoimTGU8PSfoLYpjnZnkHtS1SC6foQVaRehfLm5luqpmh7x3vgd1JMctJVStU7OP q0sX1rmMx2nov7wwoD0Q7tHZKdNjcQ8M1uVe994C8ugXuLEz8rw6JvxXC2BUO92D lMMU7J5sonaf6Kle2nbCI/6es7ECNqLZ5yQtJx5xftcnF+6Q03BLO0S10A+vxrbf KYWBZqzaMD50 =g/wt -----END PGP SIGNATURE-----