#1149736 canl-java: FTBFS: [ERROR] /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/FixedBCPKIXCertPathReviewer.java:[1092,67] incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode

#1149736#5
Date:
2026-10-02 19:09:05 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:canl-java, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.514 s
[INFO] Finished at: 2026-10-02T16:25:32Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project canl: Compilation failure: Compilation failure:
[ERROR] /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/FixedBCPKIXCertPathReviewer.java:[1092,67] incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode
[ERROR] /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/FixedBCPKIXCertPathReviewer.java:[1239,68] incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode
[ERROR] /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/FixedBCPKIXCertPathReviewer.java:[1460,75] incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode
[ERROR] /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/FixedBCPKIXCertPathReviewer.java:[1518,59] incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode
[ERROR] /<<PKGBUILDDIR>>/src/main/java/eu/emi/security/authn/x509/helpers/pkipath/bc/FixedBCPKIXCertPathReviewer.java:[1536,67] incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149736#10
Date:
2026-10-13 09:19:46 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
canl-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 1149736@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattias Ellert <mattias.ellert@physics.uu.se> (supplier of updated canl-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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 12 Oct 2026 05:50:17 +0200
Source: canl-java
Architecture: source
Version: 2.9.0-2
Distribution: unstable
Urgency: medium
Maintainer: Mattias Ellert <mattias.ellert@physics.uu.se>
Changed-By: Mattias Ellert <mattias.ellert@physics.uu.se>
Closes: 1149736
Changes:
 canl-java (2.9.0-2) unstable; urgency=medium
 .
   * Bouncycastle 1.86 compatibility (Closes: #1149736)
Checksums-Sha1:
 2199747a0ff14c9dda51d92b23347a91dbcd9ddf 2070 canl-java_2.9.0-2.dsc
 af8deba619f2b3661c76a601b1ea51cda02bf4b1 7596 canl-java_2.9.0-2.debian.tar.xz
 00f2a745e7839ec7d943ee423ba811b4bbe76039 10504 canl-java_2.9.0-2_amd64.buildinfo
Checksums-Sha256:
 b29cbf02584f7a88df10cecd98d28c3d52f4d2d93611e495a339f5709a46d399 2070 canl-java_2.9.0-2.dsc
 e98f0371b9613f94e151e68355a33af796fe5837a051f45f8cd3ad53d7f3a11d 7596 canl-java_2.9.0-2.debian.tar.xz
 e4d4e85b6b81b2010d6fa4ecf8a550a6f6870c7508d82dd607ab426f760bde6a 10504 canl-java_2.9.0-2_amd64.buildinfo
Files:
 8bd75d7bde62195bf1653bb5227a7830 2070 java optional canl-java_2.9.0-2.dsc
 51e22fc8ca618b4c0dea5febb18740d8 7596 java optional canl-java_2.9.0-2.debian.tar.xz
 9f33adde3b57401deeaba95e51b40a4e 10504 java optional canl-java_2.9.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6hgwr99NQxrZ4RRS6K7C/zvhqUsFAmrN8PYACgkQ6K7C/zvh
qUsOUw//Z3oDe1zfT/7L1xfwFez75gP0zXP0rE/wj34jGHQM48JY1JdI45Q00e3u
m3ebftGt1Xn3Q2BsK2kICnkzBQ+J81dkbJEgU0WqEJwPk/db80tck2mlhivr3blG
P9WW8lkM/hrKXvW3MKXZoDoHsunj6byDd6bbjVgIjUTPDc+qkjdyu3lDjXShUEZB
TQmpUxkCswN1oavDl60VeMeoOPFuuug5t6X9jnkJoIbsfxntvZ0ALtFTWzAf523X
mccBMHSc6umb10fpSXyXconws2i185/q2EuDgsukF8tyFItezKyRpq3zLEA4I7yO
pmCYeHE1hC750uy4CbC9vNRBoSw9RdrrN2b1sWmOAdpG9CuGIRcxSrjJji2X+krI
3R+yZgQpnJ1UceroswLZJlEUaCSEcKy4rIGJiIv4JOZfhHNAVwSFp/6YmsDrvBzc
Ge8hZjjNX68QNyyM5fOKoR40SSqlSmmKaUIw0uvN6Ih+J+lF2v4mi+PbY029/nxy
BtaDYfUS+T73EIIXGfjXLLKeCUxTolb+6SHyW09iZro7omQmh9swAioIiFrL7V0I
5n3Swd3Tm3xxel22AKGKMj7FJud75Yw4GnEWXme+vgV0C7c73HHcpAs8LjLlkEeF
JxYwMFr86Sr4EtXiG1WRL95/TUtj/NTifd1+RD/0vTYAr75+I9E=
=HANo
-----END PGP SIGNATURE-----