Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138342:

Package: softhsm2
Version: 2.6.1-3
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| OSSLCryptoFactory.cpp: In destructor 'virtual 
OSSLCryptoFactory::~OSSLCryptoFactory()':
| OSSLCryptoFactory.cpp:241:46: error: 'OPENSSL_INIT_ENGINE_RDRAND' was not 
declared in this scope; did you mean 'OPENSSL_INFO_ENGINES_DIR'?
|   241 |         ossl_shutdown = 
!OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_RDRAND, NULL);
|       |                                              
^~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                              OPENSSL_INFO_ENGINES_DIR
| OSSLCryptoFactory.cpp:257:30: warning: 'int ENGINE_finish(ENGINE*)' is 
deprecated: ENGINE_finish API symbol is removed. Define OPENSSL_ENGINE_STUBS to 
mask linker errors. [-Wdeprecated-declarations]
|   257 |                 ENGINE_finish(rdrand_engine);
|       |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
| /usr/include/openssl/engine.h:914:1: note: declared here
|   914 | ENGINE_FUNC(int, ENGINE_finish, (ENGINE *e), 0)
|       | ^~~~~~~~~~~
| OSSLCryptoFactory.cpp:258:28: warning: 'int ENGINE_free(ENGINE*)' is 
deprecated: ENGINE_free API symbol is removed. Define OPENSSL_ENGINE_STUBS to 
mask linker errors. [-Wdeprecated-declarations]
|   258 |                 ENGINE_free(rdrand_engine);
|       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~
| /usr/include/openssl/engine.h:617:1: note: declared here
|   617 | ENGINE_FUNC(int, ENGINE_free, (ENGINE *e), 0)
|       | ^~~~~~~~~~~
| make[6]: *** [Makefile:869: OSSLCryptoFactory.lo] Error 1
| make[6]: Leaving directory 
'/build/reproducible-path/softhsm2-2.6.1/src/lib/crypto'


Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/softhsm2_2.6.1-3_amd64-2026-04-19T09:33:39Z

Sebastian

** Affects: softhsm2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: softhsm2 (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #1138342
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138342

** Changed in: softhsm2 (Debian)
 Remote watch: None => Debian Bug tracker #1138342

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154889

Title:
  softhsm2: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/softhsm2/+bug/2154889/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to