Bug 2295742

Summary: ldns-1.8.3-15.fc41 FTBFS: ./keys.c:27:10: fatal error: openssl/engine.h: No such file or directory
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: ldnsAssignee: Petr Menšík <pemensik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dns-sig, italo.garcia+fedora, paul.wouters, pemensik, rj.layco, rlescak, rominf
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/ldns
Whiteboard:
Fixed In Version: ldns-1.8.3-17.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-03 10:24:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875    

Description Petr Pisar 2024-07-04 06:24:15 UTC
ldns-1.8.3-15.fc41 fails to build with openssl-devel ≥ 1:3.2.2-3.fc41:

./libtool --tag=CC --quiet --mode=compile gcc -I. -I.  -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -DOPENSSL_API_COMPAT=10100 -fno-strict-aliasing -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fno-strict-aliasing  -c ./keys.c -o keys.lo
./keys.c:27:10: fatal error: openssl/engine.h: No such file or directory
   27 | #include <openssl/engine.h>
      |          ^~~~~~~~~~~~~~~~~~

This is triggered by upgrading openssl-devel from 1:3.2.2-2.fc41 to 1:3.2.2-3.fc41 where openssl-devel package moved a support for engines to a deprecated openssl-engine-devel package <https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine>.

Comment 2 Fedora Update System 2024-08-03 08:53:35 UTC
FEDORA-2024-81d38d2c30 (ldns-1.8.3-17.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-81d38d2c30

Comment 3 Fedora Update System 2024-08-03 10:24:03 UTC
FEDORA-2024-81d38d2c30 (ldns-1.8.3-17.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.