Your message dated Thu, 18 Jan 2024 10:49:29 +0000
with message-id <[email protected]>
and subject line Bug#1043247: fixed in ca-certificates-java 20240118
has caused the Debian Bug report #1043247,
regarding openjdk-21-jdk-headless fails foreign installation during
ca-certificates-java.postinst
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.)
--
1043247: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043247
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openjdk-21-jdk-headless,ca-certificates-java
Severity: normal
Control: affects -1 + src:openjdk-21
User: [email protected]
Usertags: ftcbfs
X-Debbugs-Cc: [email protected]
Hi Matthias,
this is a little difficult and I don't see how this is supposed to work,
which is why this bug unfortunately comes without a patch. Can I ask you
to shed some light on how this is supposed to work?
openjdk-21 cannot be cross built at the moment. Its Build-Depends are
theoretically satisfiable, but since it also Build-Depends on
"openjdk-21-jdk-headless <cross>", we need to install the foreign
development kit. Do you confirm that this is really needed? It also has
"openjdk-20-jdk-headless:native | openjdk-21-jdk-headless:native" and I
am wondering whether the native jdk would be sufficient.
Anyway, installing a foreign openjdk-21-jdk-headless fails. The easiest
way to see that is using mmdebstrap:
$ mmdebstrap --variant=essential --architectures=amd64,ppc64el
--include=openjdk-21-jdk-headless:ppc64el unstable /dev/null
...
Processing triggers for ca-certificates-java (20230710) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: 115: java: Exec format error
dpkg: error processing package ca-certificates-java (--configure):
installed ca-certificates-java package post-installation script subprocess
returned error exit status 126
...
$
As you can see, that foreign openjdk-21-jdk-headless ends up providing
the java executable an ca-certificates-java assumes it to be executable,
which it is not and thus ca-certificates-java.postinst fails.
If also installing openjdk-21-jdk-headless:amd64, then it ends up
providing the java name and ca-certificates-java.postinst works. I am
not sure which of the packages is at fault here.
Arguably, ca-certificates-java should be depending on a runnable
instance of the jdk, but I don't know how it would express that. Then
maybe default-jre-headless should provide a working java executable for
the native architecture? Or maybe openjdk-21 should also be depending on
the native jdk like this?
Build-Depends: openjdk-20-jdk-headless:native <!cross> |
openjdk-21-jdk-headless:native <!cross>, openjdk-21-jdk-headless:native <cross>
Note that using this approach, we really must duplicate the dependency,
because the alternative is dropped too early.
Hope this makes sense to you
Helmut
--- End Message ---
--- Begin Message ---
Source: ca-certificates-java
Source-Version: 20240118
Done: Matthias Klose <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ca-certificates-java, 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.
Matthias Klose <[email protected]> (supplier of updated ca-certificates-java
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: SHA512
Format: 1.8
Date: Thu, 18 Jan 2024 10:40:28 +0100
Source: ca-certificates-java
Architecture: source
Version: 20240118
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 1043247 1057495 1057696
Changes:
ca-certificates-java (20240118) unstable; urgency=medium
.
[ Vladimir Petko ]
* d/rules: Use java_compat_level variable provided by java-common to
adjust -source/-target level to the minimum required by the default
Java. Closes: #1057495.
* Do not try to run foreign architecture java. Closes: #1043247.
.
[ Matthias Klose ]
* Build-depend on java-common.
* debian/tests: Don't hardcode JREs and JDKs. Closes: #1057696.
Checksums-Sha1:
14b2a804f1b7813fc41b3b4d6f6b1c8327511ef6 1939 ca-certificates-java_20240118.dsc
85d3cedc5686fc07047049d65b9f6d7ca5425bd6 19104
ca-certificates-java_20240118.tar.xz
2839b3def4aae92ad77ef2fc3bab5114117ea56a 10117
ca-certificates-java_20240118_source.buildinfo
Checksums-Sha256:
1b69c89b50f705bbe70ea19add2937c331dc02539f0630a87a4db86e734368b9 1939
ca-certificates-java_20240118.dsc
41eed3fec4fac8d32b20d744059151749ed4077f55644623fdd2d15bc51d8e57 19104
ca-certificates-java_20240118.tar.xz
12276be2efdb535bb176cc682052f399c3435d1c21fc59bfa9df10a05058fdd3 10117
ca-certificates-java_20240118_source.buildinfo
Files:
089ed8bb6c9df0535260ec4ca5881e34 1939 java optional
ca-certificates-java_20240118.dsc
995c8df8ecc7f1d57cbd65e9d9b10952 19104 java optional
ca-certificates-java_20240118.tar.xz
29addb17c14cab62e6e9d44459654f8e 10117 java optional
ca-certificates-java_20240118_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmWo/OYQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9W3LD/4zfMeKAqzSrn9z/fQfBLeZFYGS4PD8kJ/d
/vWTchDSA14X2vrMZwGhhPLM2QVeTxh9mRjMnZ1VSY82M8SJrt6WevgJls/lRfdc
D4s4dl4UbRe3wWMU4J+bxIFSCKo4MuMtrP03wVyxGu/uhCdK0NnXVzVJiXXbW7lw
8zfEgrI9408A9XJAqs2xYvfMSfmCIyuHLKkVJMeX8pJ3Xnj86aRjFtLO207LemPI
wBNyyPUUjLhry9jajO/vTjbopIqH6jW9HzXrRLO7BFl7oTU/IW1YlkIEE/hdV7z/
pR6U1yv+2XPC+yFqxCKdujrMLl28RW13jBthtezviCtlBc/k0qqL60Ml+qJlSCO8
GfIc9Ype2ubv9HNrJc+rKm8IAL5BAHv5jdAteQdPprFoAH9DL5K6PhbLPObS7dpA
+SibIS7koyCOk/msDHltlfWdtzfEGNSdAJwwDPsqBvuA55Z7aOsLUgHi4eArAGeG
pB2IvQYFkaKmnIC+xAoRzJ1qUm0vKKHzLuHDEEhBXdCUBgywS8MDtBEh1uJNJ5U0
VZJZ7tUJSfVkDCfOzHVkfY7v+xC49FSeawXaNnQieq4lcyu7cA90MKQQrJa69kdP
fmfQz/m/EuadtLEFr8UgrdaUf+P1/vzdCuv3L/S42otzuqgxgaKLYL75exJInITC
thrX9tS8KQ==
=v3gF
-----END PGP SIGNATURE-----
--- End Message ---
__
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.