Bug 1488851

Summary: FTBFS in F27: Could not find jsse/jaas/jndi Java extension for this JVM
Product: [Fedora] Fedora Reporter: Honza Horak <hhorak>
Component: ldapjdkAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: kwright, mharmsen, nkinder, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.19-5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-05 11:05:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Honza Horak 2017-09-06 10:38:34 UTC
Description of problem:

When building some modules (pki in this case) we found that it transitively depends on some Java packages, one is ldapjdk, which failed to build.

I tried a scratch build in F27 and the build fails with the same error, that I don't really understand:

...
+ rm -f ./java-sdk/ldapjdk/lib/jss32_stub.jar ./java-sdk/ldapjdk/lib/jsse.jar ./java-sdk/ldapjdk/lib/jnet.jar ./java-sdk/ldapjdk/lib/jaas.jar ./java-sdk/ldapjdk/lib/jndi.jar
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rRALBo
+ umask 022
+ cd /builddir/build/BUILD
+ cd ldapjdk-4.19
++ find . -name CVS -type d
+ rm -fr
/builddir/build/BUILD/ldapjdk-4.19
+ pwd
+ cd java-sdk/ldapjdk/lib
+ build-jar-repository -s -p . jss4 jsse jaas jndi
/usr/bin/build-jar-repository: Could not find jsse Java extension for this JVM
/usr/bin/build-jar-repository: Could not find jaas Java extension for this JVM
/usr/bin/build-jar-repository: Could not find jndi Java extension for this JVM
/usr/bin/build-jar-repository: error: Some specified jars were not found for this jvm

It's this scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=21671998


Version-Release number of selected component (if applicable):
ldapjdk-4.19-2.fc27

How reproducible:
every-time

Steps to Reproduce:
1. build package in F27

Actual results:
+ build-jar-repository -s -p . jss4 jsse jaas jndi
/usr/bin/build-jar-repository: Could not find jsse Java extension for this JVM
/usr/bin/build-jar-repository: Could not find jaas Java extension for this JVM
/usr/bin/build-jar-repository: Could not find jndi Java extension for this JVM
/usr/bin/build-jar-repository: error: Some specified jars were not found for this jvm


Expected results:
package builds

Additional info:

Comment 1 Honza Horak 2017-09-06 10:55:18 UTC
Btw. the same SRPM builds find in F26:
https://koji.fedoraproject.org/koji/taskinfo?taskID=21680041

Comment 2 Mikolaj Izdebski 2017-09-06 11:27:09 UTC
Fixed in ldapjdk-4.19-3

Comment 3 Mikolaj Izdebski 2018-01-05 11:05:59 UTC
I believe that this bug is fixed in ldapjdk-4.19-5,
which is available in updates for Fedora 27, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=984394