Bug 1488851 - FTBFS in F27: Could not find jsse/jaas/jndi Java extension for this JVM
Summary: FTBFS in F27: Could not find jsse/jaas/jndi Java extension for this JVM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ldapjdk
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 10:38 UTC by Honza Horak
Modified: 2018-01-05 11:05 UTC (History)
4 users (show)

Fixed In Version: 4.19-5
Clone Of:
Environment:
Last Closed: 2018-01-05 11:05:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.