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

Reply via email to