Bug 2295331 - perl-Net-SSLeay: FTBFS: fatal error: openssl/engine.h: No such file or directory
Summary: perl-Net-SSLeay: FTBFS: fatal error: openssl/engine.h: No such file or directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Net-SSLeay
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F41FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-07-03 06:32 UTC by Jitka Plesnikova
Modified: 2024-07-09 17:11 UTC (History)
6 users (show)

Fixed In Version: perl-Net-SSLeay-1.94-5.fc41
Clone Of:
Environment:
Last Closed: 2024-07-09 17:11:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2024-07-03 06:32:18 UTC
Description of problem:
Package perl-Net-SSLeay fails to build from source in Fedora Rawhide.

SSLeay.xs:185:10: fatal error: openssl/engine.h: No such file or directory
  185 | #include <openssl/engine.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:354: SSLeay.o] Error 1

It is related to openssl-3.2.2-3.fc41
* Mon Jul 01 2024 Dmitry Belyavskiy <dbelyavs> - 1:3.2.2-3
- Moving engine-related files to a separate subpackage to be deprecated in future
  Resolves: rhbz#2276420

There are 2 possible solutions
1) add BR openssl-devel-engine
2) stop using OpenSSL ENGINE API by updating `perl Makefile.PL` command
   OPTIMIZE="%{optflags} -DOPENSSL_NO_ENGINE"
   For more info see:
    https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine

Version-Release number of selected component (if applicable):
1.94-4.fc41

Steps to Reproduce:
koji build --scratch f41 perl-Net-SSLeay-1.94-4.fc41.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/perl-Net-SSLeay

Reproducible: Always

Comment 1 Fedora Update System 2024-07-09 15:40:03 UTC
FEDORA-2024-c882a2d1c4 (perl-Net-SSLeay-1.94-5.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c882a2d1c4

Comment 2 Fedora Update System 2024-07-09 17:11:31 UTC
FEDORA-2024-c882a2d1c4 (perl-Net-SSLeay-1.94-5.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.