Bug 2007251

Summary: perl-Crypt-SMIME-0.27-5.fc36 FTBFS with OpenSSL 3: Crypt::SMIME#setPublicKey: failed to load the public cert: error:0480006C:PEM routines::no start line
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Crypt-SMIMEAssignee: Xavier Bachelot <xavier>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, steve.traylen, xavier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-Crypt-SMIME
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-26 10:17:39 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    

Description Petr Pisar 2021-09-23 12:06:42 UTC
perl-Crypt-SMIME-0.27-5.fc36 fails to build in Fedora 36 with OpenSSL 3.0.0 because tests fails like this:

# Testing Crypt::SMIME 0.27, Perl 5.034000, /usr/bin/perl
t/00-load.t ........... ok
# Using `/usr/bin/openssl' to generate a keypair
Crypt::SMIME#setPublicKey: failed to load the public cert: error:0480006C:PEM routines::no start line at t/01-smime.t line 131.
# Looks like your test exited with 255 just after 18.
t/01-smime.t .......... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/25 subtests 
[...]
Test Summary Report
-------------------
t/01-smime.t        (Wstat: 65280 Tests: 18 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 25 tests but ran 18.
t/02-smime.more.t   (Wstat: 65280 Tests: 12 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 18 tests but ran 12.
t/03-chained-certs.t (Wstat: 768 Tests: 15 Failed: 3)
  Failed tests:  9, 13, 15
  Non-zero exit status: 3
t/04-taint.t        (Wstat: 512 Tests: 7 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 2
Files=9, Tests=61,  7 wallclock secs ( 0.05 usr  0.02 sys +  6.41 cusr  0.30 csys =  6.78 CPU)
Result: FAIL

Comment 1 Xavier Bachelot 2021-10-26 10:17:39 UTC
Fixed with perl-Crypt-SMIME-0.28-1.fc36
https://koji.fedoraproject.org/koji/buildinfo?buildID=1848814