openssl_shim.h:17:10: fatal error: openssl/engine.h: No such file or directory
Job #4821846 failed for 78ee5607.
v9.20 & v9.18 won't build on Fedora 41:
In file included from tls.c:52:
openssl_shim.h:17:10: fatal error: openssl/engine.h: No such file or directory
17 | #include <openssl/engine.h>
| ^~~~~~~~~~~~~~~~~~
In file included from netmgr/netmgr.c:49:
./openssl_shim.h:17:10: fatal error: openssl/engine.h: No such file or directory
17 | #include <openssl/engine.h>
| ^~~~~~~~~~~~~~~~~~
In file included from netmgr/tlsstream.c:41:
netmgr/../openssl_shim.h:17:10: fatal error: openssl/engine.h: No such file or directory
17 | #include <openssl/engine.h>
| ^~~~~~~~~~~~~~~~~~
Fedora 41 moved the deprecated engine headers to the openssl-devel-engine
sub-package that is not installed with the openssl-devel
package. As a remedy for when the sub-package is not installed, they provide OPENSSL_NO_ENGINE
define. Here's the full openssl.spec
file.