Bug 2005973

Summary: perl-Crypt-OpenSSL-PKCS10: FTBFS with OpenSSL 3.0.0 in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: perl-Crypt-OpenSSL-PKCS10Assignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: perl-devel, ppisar, releng, sahana, wjhns174
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-Crypt-OpenSSL-PKCS10
Whiteboard:
Fixed In Version: perl-Crypt-OpenSSL-PKCS10-0.16-20.fc37 perl-Crypt-OpenSSL-PKCS10-0.16-20.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-26 15:19:40 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: 1992484, 2045102    

Description Jitka Plesnikova 2021-09-20 15:19:51 UTC
Description of problem:
Package perl-Crypt-OpenSSL-PKCS10 fails to build from source against OpenSSL 3.0  in Fedora Rawhide.

+ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PKCS10.bs blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
PEM_write_bio_X509_REQ at t/Mytest.t line 18.
# Looks like your test exited with 255 just after 1.
t/Mytest.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/6 subtests 
Test Summary Report
-------------------
t/Mytest.t (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 1.
Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.07 cusr  0.01 csys =  0.11 CPU)
Result: FAIL
Failed 1/1 test programs. 0/1 subtests failed.
make: *** [Makefile:961: test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.rj8EJ0 (%check)

Version-Release number of selected component (if applicable):
0.16-17.fc35

Steps to Reproduce:
koji build --scratch f36 perl-Crypt-OpenSSL-PKCS10-0.16-17.fc35.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/perl-Crypt-OpenSSL-PKCS10


https://koschei.fedoraproject.org/build/11176782

Comment 1 Petr Pisar 2021-11-11 11:38:45 UTC
*** Bug 2021948 has been marked as a duplicate of this bug. ***

Comment 2 Petr Pisar 2022-01-27 10:04:13 UTC
*** Bug 2046803 has been marked as a duplicate of this bug. ***

Comment 3 Ben Cotton 2022-02-08 20:29:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 4 Petr Pisar 2022-03-08 14:39:22 UTC
A reproducer:

$ perl -Iblib/{lib,arch} -e 'use Crypt::OpenSSL::PKCS10; my $r = Crypt::OpenSSL::PKCS10->new(); print $r->get_pem_req(); print qq{Not reached\n}'; echo $?
PEM_write_bio_X509_REQ at -e line 1.
2

Comment 5 Fedora Update System 2022-03-11 13:49:34 UTC
FEDORA-2022-f1728ecc63 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f1728ecc63

Comment 6 Fedora Update System 2022-03-11 19:26:32 UTC
FEDORA-2022-f1728ecc63 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-f1728ecc63`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f1728ecc63

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-03-26 15:19:40 UTC
FEDORA-2022-f1728ecc63 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.