Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 916982

Summary: dev-java/bcpkix-1.76: fails tests with jdk:21 - cannot create signer: HSS/LMS signing is not supported
Product: Gentoo Linux Reporter: Volkmar W. Pogatzki <gentoo>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: fordfrog
Priority: Normal Keywords: PullRequest, TESTFAILURE, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/bcgit/bc-java/issues/1527
https://github.com/gentoo/gentoo/pull/33679
https://github.com/gentoo/gentoo/pull/34679
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 919403    
Bug Blocks: 916475    
Attachments: build log

Description Volkmar W. Pogatzki 2023-11-07 07:37:52 UTC
There was 1 failure:
1) testSimpleTests(org.bouncycastle.cert.test.AllTests)
junit.framework.AssertionFailedError: CertTest: Exception: org.bouncycastle.operator.OperatorCreationException: cannot create signer: HSS/LMS signing is not supported
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.TestCase.fail(TestCase.java:223)
        at org.bouncycastle.cert.test.AllTests.testSimpleTests(AllTests.java:31)

FAILURES!!!
Tests run: 541,  Failures: 1


Sent upstream: https://github.com/bcgit/bc-java/issues/1527
Comment 1 Volkmar W. Pogatzki 2023-11-07 07:50:22 UTC
Created attachment 874190 [details]
build log

GENTOO_VM=openjdk-21  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-21"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
Comment 2 Volkmar W. Pogatzki 2023-11-10 13:21:46 UTC
Waiting for 1.77 to be released.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-07 10:37:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7073149130f1ab2215ebae41e069a8900a037bf

commit c7073149130f1ab2215ebae41e069a8900a037bf
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-11-10 11:51:05 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-12-07 10:37:14 +0000

    dev-java/bcpkix: add 1.77
    
    Bug: https://bugs.gentoo.org/916982
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/bcpkix/Manifest           |   2 +
 dev-java/bcpkix/bcpkix-1.77.ebuild | 102 +++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-06 21:52:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a045e0d7b61875bae5631ecb6be76ab1d4ccbf

commit d8a045e0d7b61875bae5631ecb6be76ab1d4ccbf
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-01-06 19:50:19 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-01-06 21:51:59 +0000

    dev-java/bcpkix: drop 1.76
    
    Closes: https://bugs.gentoo.org/916982
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/bcpkix/Manifest           |   2 -
 dev-java/bcpkix/bcpkix-1.76.ebuild | 102 -------------------------------------
 2 files changed, 104 deletions(-)