The EPEL 7 SRPM for bouncycastle-pkix https://dl.fedoraproject.org/pub/epel/7/SRPMS/b/bouncycastle-pkix-1.50-1.el7.src.rpm does not build correctly in Mock on s390x. The compilation succeeded with no error. But the unit tests encountered issue with signing, therefore preventing RPM from being built. Here is the stack trace of erroneous unit test: [junit] Testcase: testEncryptedValue took 2.332 sec [junit] Caused an ERROR [junit] cannot create key generator: JCE cannot authenticate the provider BC [junit] org.bouncycastle.cert.crmf.CRMFException: cannot create key generator: JCE cannot authenticate the provider BC [junit] at org.bouncycastle.cert.crmf.jcajce.CRMFHelper.createKeyGenerator(CRMFHelper.java:158) [junit] at org.bouncycastle.cert.crmf.jcajce.JceCRMFEncryptorBuilder$CRMFOutputEncryptor.<init>(JceCRMFEncryptorBuilder.java:80) [junit] at org.bouncycastle.cert.crmf.jcajce.JceCRMFEncryptorBuilder.build(JceCRMFEncryptorBuilder.java:67) [junit] at org.bouncycastle.cert.crmf.test.AllTests.testEncryptedValue(AllTests.java:262) [junit] Caused by: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC [junit] at javax.crypto.b.a(Unknown Source) [junit] at javax.crypto.KeyGenerator.getInstance(Unknown Source) [junit] at org.bouncycastle.jcajce.NamedJcaJceHelper.createKeyGenerator(NamedJcaJceHelper.java:65) [junit] at org.bouncycastle.cert.crmf.jcajce.CRMFHelper.createKeyGenerator(CRMFHelper.java:147) [junit] Caused by: java.util.jar.JarException: file:/usr/share/java/bcprov.jar has unsigned entries - org/bouncycastle/LICENSE.class [junit] at javax.crypto.a.a(Unknown Source) [junit] at javax.crypto.a.a(Unknown Source) [junit] at javax.crypto.a.a(Unknown Source) [junit] at javax.crypto.b.b(Unknown Source) [junit] at javax.crypto.b.a(Unknown Source)
Changing product to "EPEL"...
------- Comment From vsandhya.com 2016-02-23 12:11 EDT------- Any updates?
------- Comment From tstaudt.com 2020-04-14 03:54 EDT------- With no activity in this bug for years, I'm now closing this on the IBM side. If the problem still needs to be addressed, please re-open or preferably open a new bug. Thanks.