[Pkg-freeipa-devel] Bug#1012067: Bug#1012067: jss: FTBFS with OpenJDK 17: no such provider SunJSSE

Timo Aaltonen tjaalton at debian.org
Thu Jul 28 08:49:04 BST 2022


Emmanuel Bourg kirjoitti 29.5.2022 klo 19.46:
> Source: jss
> Version: 5.1.0-1
> Severity: important
> Tags: ftbfs sid bookworm
> User: debian-java at lists.debian.org
> Usertags: default-java17
> 
> 
> jss fails to build with OpenJDK 17, there is an error during the tests
> (because libfakeroot-sysv.so can't be loaded?)
> 
>    
>    cd build && ctest --output-on-failure
>    Test project /<<PKGBUILDDIR>>/build
>          Start  1: Clean_Data_Dir
>     1/75 Test  #1: Clean_Data_Dir ....................................   Passed    0.01 sec
>          Start  2: Create_Data_Dir
>     2/75 Test  #2: Create_Data_Dir ...................................   Passed    0.01 sec
>          Start  3: Clean_Setup_DBs
>     3/75 Test  #3: Clean_Setup_DBs ...................................   Passed    0.01 sec
>          Start  4: Create_Setup_DBs
>     4/75 Test  #4: Create_Setup_DBs ..................................   Passed    0.01 sec
>          Start  5: Setup_DBs
>     5/75 Test  #5: Setup_DBs .........................................   Passed    0.18 sec
>          Start  6: Clean_FIPS_Setup_DBs
>     6/75 Test  #6: Clean_FIPS_Setup_DBs ..............................   Passed    0.01 sec
>          Start  7: Create_FIPS_Setup_DBs
>     7/75 Test  #7: Create_FIPS_Setup_DBs .............................   Passed    0.01 sec
>          Start  8: Setup_FIPS_DBs
>     8/75 Test  #8: Setup_FIPS_DBs ....................................   Passed    0.14 sec
>          Start  9: TestBufferPRFD
>     9/75 Test  #9: TestBufferPRFD ....................................   Passed    0.00 sec
>          Start 10: Test_UTF-8_Converter
>    10/75 Test #10: Test_UTF-8_Converter ..............................   Passed    0.04 sec
>          Start 11: Test_Base64_Parsing
>    11/75 Test #11: Test_Base64_Parsing ...............................   Passed    0.03 sec
>          Start 12: JSS_DER_Encoding_of_Enumeration_regression_test
>    12/75 Test #12: JSS_DER_Encoding_of_Enumeration_regression_test ...   Passed    1.68 sec
>          Start 13: JSS_Test_DER_Encoding_Functionality
>    13/75 Test #13: JSS_Test_DER_Encoding_Functionality ...............   Passed    0.07 sec
>          Start 14: JSS_Test_Empty_DER_Value
>    14/75 Test #14: JSS_Test_Empty_DER_Value ..........................   Passed    0.03 sec
>          Start 15: BigObjectIdentifier
>    15/75 Test #15: BigObjectIdentifier ...............................   Passed    0.05 sec
>          Start 16: JSS_Test_PR_FileDesc
>    16/75 Test #16: JSS_Test_PR_FileDesc ..............................   Passed    0.06 sec
>          Start 17: JSS_Test_Raw_SSL
>    17/75 Test #17: JSS_Test_Raw_SSL ..................................   Passed    0.08 sec
>          Start 18: JSS_Test_Buffer
>    18/75 Test #18: JSS_Test_Buffer ...................................   Passed    0.06 sec
>          Start 19: JSS_Test_GlobalRefProxy
>    19/75 Test #19: JSS_Test_GlobalRefProxy ...........................   Passed    5.07 sec
>          Start 20: JUnit_BMPStringTest
>    20/75 Test #20: JUnit_BMPStringTest ...............................   Passed    0.26 sec
>          Start 21: JUnit_IA5StringTest
>    21/75 Test #21: JUnit_IA5StringTest ...............................   Passed    0.21 sec
>          Start 22: JUnit_PrintableStringTest
>    22/75 Test #22: JUnit_PrintableStringTest .........................   Passed    0.26 sec
>          Start 23: JUnit_TeletexStringTest
>    23/75 Test #23: JUnit_TeletexStringTest ...........................   Passed    0.18 sec
>          Start 24: JUnit_UniversalStringTest
>    24/75 Test #24: JUnit_UniversalStringTest .........................   Passed    0.29 sec
>          Start 25: JUnit_UTF8StringTest
>    25/75 Test #25: JUnit_UTF8StringTest ..............................   Passed    0.27 sec
>          Start 26: buffer_size_1
>    26/75 Test #26: buffer_size_1 .....................................   Passed    0.00 sec
>          Start 27: buffer_size_4
>    27/75 Test #27: buffer_size_4 .....................................   Passed    0.00 sec
>          Start 28: JUnit_CertificateChainTest
>    28/75 Test #28: JUnit_CertificateChainTest ........................   Passed    0.25 sec
>          Start 29: JUnit_ChainSortingTest
>    29/75 Test #29: JUnit_ChainSortingTest ............................   Passed    0.24 sec
>          Start 30: Generate_known_RSA_cert_pair
>    30/75 Test #30: Generate_known_RSA_cert_pair ......................   Passed    3.87 sec
>          Start 31: Generate_known_ECDSA_cert_pair
>    31/75 Test #31: Generate_known_ECDSA_cert_pair ....................   Passed    0.48 sec
>          Start 32: Create_PKCS11_cert_to_PKCS12_rsa.pfx
>    32/75 Test #32: Create_PKCS11_cert_to_PKCS12_rsa.pfx ..............   Passed    1.80 sec
>          Start 33: Create_PKCS11_cert_to_PKCS12_ecdsa.pfx
>    33/75 Test #33: Create_PKCS11_cert_to_PKCS12_ecdsa.pfx ............   Passed    1.51 sec
>          Start 34: List_CA_certs
>    34/75 Test #34: List_CA_certs .....................................   Passed    0.15 sec
>          Start 35: SSLClientAuth
>    35/75 Test #35: SSLClientAuth .....................................   Passed    5.24 sec
>          Start 36: Key_Generation
>    36/75 Test #36: Key_Generation ....................................   Passed    1.33 sec
>          Start 37: Digest
>    37/75 Test #37: Digest ............................................   Passed    0.17 sec
>          Start 38: HMAC
>    38/75 Test #38: HMAC ..............................................   Passed    0.16 sec
>          Start 39: KeyWrapping
>    39/75 Test #39: KeyWrapping .......................................   Passed    1.63 sec
>          Start 40: Mozilla_JSS_JCA_Signature
>    40/75 Test #40: Mozilla_JSS_JCA_Signature .........................   Passed    1.94 sec
>          Start 41: Mozilla_JSS_NSS_Signature
>    41/75 Test #41: Mozilla_JSS_NSS_Signature .........................   Passed    1.06 sec
>          Start 42: JSS_Signature_test
>    42/75 Test #42: JSS_Signature_test ................................   Passed    1.01 sec
>          Start 43: Secret_Decoder_Ring
>    43/75 Test #43: Secret_Decoder_Ring ...............................   Passed    0.22 sec
>          Start 44: List_cert_by_certnick
>    44/75 Test #44: List_cert_by_certnick .............................   Passed    0.18 sec
>          Start 45: Verify_cert_by_certnick
>    45/75 Test #45: Verify_cert_by_certnick ...........................   Passed    0.13 sec
>          Start 46: Secret_Key_Generation
>    46/75 Test #46: Secret_Key_Generation .............................   Passed    0.13 sec
>          Start 47: Symmetric_Key_Deriving
>    47/75 Test #47: Symmetric_Key_Deriving ............................   Passed    0.14 sec
>          Start 48: X509CertTest
>    48/75 Test #48: X509CertTest ......................................   Passed    2.73 sec
>          Start 49: KeyStoreTest
>    49/75 Test #49: KeyStoreTest ......................................   Passed    0.36 sec
>          Start 50: JSSProvider
>    50/75 Test #50: JSSProvider .......................................   Passed    0.17 sec
>          Start 51: SSLEngine_RSA
>    51/75 Test #51: SSLEngine_RSA .....................................***Failed    0.15 sec
>    ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
>    Initializing CryptoManager...
>    May 25, 2022 7:36:43 AM org.mozilla.jss.CryptoManager initialize
>    INFO: JSS CryptoManager: successfully initialized from NSS database at /<<PKGBUILDDIR>>/build/results/nssdb
>    Exception in thread "main" java.security.NoSuchProviderException: no such provider: SunJSSE
>            at java.base/sun.security.jca.GetInstance.getService(GetInstance.java:83)
>            at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:206)
>            at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:230)
>            at org.mozilla.jss.tests.TestSSLEngine.sizeBuffers(TestSSLEngine.java:210)
>            at org.mozilla.jss.tests.TestSSLEngine.initialize(TestSSLEngine.java:47)
>            at org.mozilla.jss.tests.TestSSLEngine.main(TestSSLEngine.java:1014)
>    
>          Start 52: SSLEngine_ECDSA
>    52/75 Test #52: SSLEngine_ECDSA ...................................***Failed    0.15 sec
>    ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
>    Initializing CryptoManager...
>    May 25, 2022 7:36:43 AM org.mozilla.jss.CryptoManager initialize
>    INFO: JSS CryptoManager: successfully initialized from NSS database at /<<PKGBUILDDIR>>/build/results/nssdb
>    Exception in thread "main" java.security.NoSuchProviderException: no such provider: SunJSSE
>            at java.base/sun.security.jca.GetInstance.getService(GetInstance.java:83)
>            at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:206)
>            at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:230)
>            at org.mozilla.jss.tests.TestSSLEngine.sizeBuffers(TestSSLEngine.java:210)
>            at org.mozilla.jss.tests.TestSSLEngine.initialize(TestSSLEngine.java:47)
>            at org.mozilla.jss.tests.TestSSLEngine.main(TestSSLEngine.java:1014)


Rebuilding jss with openjdk 11 fails just the same way, so the failure 
is not caused by jdk 17 but something else..


-- 
t



More information about the Pkg-freeipa-devel mailing list