Your message dated Mon, 18 Sep 2017 19:04:49 +0000
with message-id <[email protected]>
and subject line Bug#875589: fixed in jss 4.4.2-1
has caused the Debian Bug report #875589,
regarding FTBFS with Java 9: pkcs11 api has all changed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
875589: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875589
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jss
Version: 4.3.1-7
Severity: normal
User: [email protected]
Usertags: default-java9
This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls
The PKCS11 API has totally changed in Java 9. There doesn't appear to be
a compatible way to support both Java 8 and Java 9. This fails at
runtime, as well as at compile time. This is very annoying.
Here's the new API details:
https://docs.oracle.com/javase/9/security/pkcs11-reference-guide1.htm
DAVMAIL upstream have come up with a solution involving reflection for
their small usecase:
* https://bugs.debian.org/873218
* https://sourceforge.net/p/davmail/feature-requests/112/#6947
It's possible that some API usage can be restored by including the module,
as explained by the error message. I didn't try it.
Build log:
./org/mozilla/jss/pkcs11/PK11SymmetricKeyDeriver.java:41: error: package
sun.security.pkcs11.wrapper is not visible
import sun.security.pkcs11.wrapper.*;
^
(package sun.security.pkcs11.wrapper is declared in module
jdk.crypto.cryptoki, which is not in the module graph)
./org/mozilla/jss/tests/SymKeyDeriving.java:43: error: package
sun.security.pkcs11.wrapper is not visible
import sun.security.pkcs11.wrapper.PKCS11Constants;
^
(package sun.security.pkcs11.wrapper is declared in module
jdk.crypto.cryptoki, which is not in the module graph)
Cheers,
Chris.
--- End Message ---
--- Begin Message ---
Source: jss
Source-Version: 4.4.2-1
We believe that the bug you reported is fixed in the latest version of
jss, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Timo Aaltonen <[email protected]> (supplier of updated jss 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 18 Sep 2017 21:44:04 +0300
Source: jss
Binary: libjss-java
Architecture: source
Version: 4.4.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian FreeIPA Team <[email protected]>
Changed-By: Timo Aaltonen <[email protected]>
Description:
libjss-java - Network Security Services for Java
Closes: 875589
Changes:
jss (4.4.2-1) unstable; urgency=medium
.
* New upstream release. (Closes: #875589)
* patches: Drop all patches, everything upstream.
* files, links, rules: Packaging changes for the new version.
* control: Update the maintainer address to.
Checksums-Sha1:
d919df8ace435a8935ef4e004cd2651a27b893fe 1933 jss_4.4.2-1.dsc
de1f63d6959abe7ea50bb6305c0a34aa83c7454f 590098 jss_4.4.2.orig.tar.gz
04d3b894cb79c81d48e857d2b66f1e690bdeda5e 82052 jss_4.4.2-1.debian.tar.xz
Checksums-Sha256:
9888d6ecf271348fa098d51209f9bdfe3af98191ddad58adb861b5d18b3bc179 1933
jss_4.4.2-1.dsc
3b9742abd5fdb50e5001f915d09e90964236fe49e3f715bbb2d4c6c0c6b5d0c7 590098
jss_4.4.2.orig.tar.gz
2176e1b29cc2fe5dce11278c6ea0c7dd7b4456f45bcf7cdc6113a4986673430e 82052
jss_4.4.2-1.debian.tar.xz
Files:
e7f971c3b0ef79f521272c52dc9f41e5 1933 java optional jss_4.4.2-1.dsc
c7ddef20348e8636483a49ee5a563ab8 590098 java optional jss_4.4.2.orig.tar.gz
e6f6dde2d814bee9eb100312bfc37e57 82052 java optional jss_4.4.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJZwBR6AAoJEMtwMWWoiYTcRB8P/RkIYWEGn7NX7kEf9HSrG6eE
/tgphk1r1nwtNHveSjb+4o+uLVrs1azQUW4HCIH/6O60PmtP79eldTWOYGGm3gsE
2X8HVZNnxeubiVJX7JoHgi2KMZoa83vNVm1fLlAPCj7LKlxYFajMtYkim7fKHbxE
1ba3A1ykKaoYV0/B1swbS4LG6KZ2bstSiGRNPGiD34QL5J3py7ghBQ23IwQYLxPS
lkH5a0cMcQBsiAYi7M2kSKHrnIV21U2CuK5fchWHTYUp8WIcH7Ca2YqeXT+elO1c
MA1vI0lYiSLUU2NY+N4CkI18DW32v0dZHwk3Mj+G2zcHQENRABqCN5xthgBK7oR7
yWO5xRGnR/Cka/7EEWbiWzwHH3i0BMW5j26+09n8lR0mr+QqcWUV2/I2K+EkvmO8
kLVkmJmMU54DBuskR41fOLQmVm6pJyPgrsP04KqIJaVGK6wutkDkCPx+/A+JLVrv
QjjN3ywnFhPo+Nj78m9FsIrgKTrisG3fGJcxia36lyvD/w3J6Mz9v2lVFYsmbEp9
1d6hpPjyXzDbJ5OhcloKHhSEhEskJbPGTcsHRReszU4VdpzymuKrmf9m8Cjbh3RJ
5StECg59E8iVQttgrQu83rEhPElvtmS+gU7cq7C7Q1XHMJdqTCc6wqII3oAZmIQ6
2aJxMWvAbI3CaLopPeaD
=QCwM
-----END PGP SIGNATURE-----
--- End Message ---