Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471998 - =dev-java/bcprov-1.49: fails tests
Summary: =dev-java/bcprov-1.49: fails tests
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-01 12:43 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2021-06-05 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-01 12:43:49 UTC
java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256
	at javax.crypto.Cipher.getInstance(Cipher.java:524)
	at org.bouncycastle.pqc.jcajce.provider.test.McElieceFujisakiCipherTest.setUp(McElieceFujisakiCipherTest.java:20)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.doRun(TestRunner.java:109)
	at junit.textui.TestRunner.run(TestRunner.java:77)
	at org.bouncycastle.pqc.jcajce.provider.test.AllTests.main(AllTests.java:15)
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-01 15:44:49 UTC
Description above is for bcprov, there are failures for bcpkix as well:

ParseTest(org.bouncycastle.tsp.test.ParseTest)java.lang.ExceptionInInitializerError
	at org.bouncycastle.tsp.test.ParseTest.requestParse(ParseTest.java:265)
	at org.bouncycastle.tsp.test.ParseTest.testParsing(ParseTest.java:369)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.bouncycastle.tsp.test.AllTests.main(AllTests.java:15)
Caused by: java.lang.RuntimeException: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC
	at org.bouncycastle.tsp.test.TSPTestUtil.<clinit>(TSPTestUtil.java:86)

No idea if there are failures for bcmail, it has a rather minimal amount of tests.
Comment 2 Patrice Clement gentoo-dev 2015-05-13 09:44:42 UTC
Let's remove the blocker: we can stabilise the package regardless.
Comment 3 Volkmar W. Pogatzki 2021-06-05 08:16:53 UTC
Affected version =dev-java/bcprov-1.49 has gone