Bug 2329829

Summary: perl-Crypt-DSA-1.17-42.fc42 FTBFS: Can't call method "p" on an undefined value at t/04-pem.t line 56
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Crypt-DSAAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-Crypt-DSA
Whiteboard:
Fixed In Version: perl-Crypt-DSA-1.19-1.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-05 13:17:50 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: 2300528    

Description Petr Pisar 2024-12-02 09:26:50 UTC
perl-Crypt-DSA-1.17-42.fc42 fails to build in Fedora 42 because a test fail:

"my" variable $iv masks earlier declaration in same scope at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 364.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $cur_part in hash element at /builddir/build/BUILD/perl-Crypt-DSA-1.17-build/Crypt-DSA-1.17/blib/lib/Crypt/DSA/KeyChain.pm line 60.
Use of uninitialized value $param{"InForm"} in uc at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 53.
Use of uninitialized value $param{"OutForm"} in uc at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 57.
Use of uninitialized value $param{"InForm"} in uc at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 53.
Use of uninitialized value $param{"OutForm"} in uc at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 57.
Use of uninitialized value $param{"InForm"} in uc at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 53.
Use of uninitialized value $param{"OutForm"} in uc at /usr/share/perl5/vendor_perl/Convert/PEM.pm line 57.
#   Failed test 'Reading keyfile with password works'
#   at t/04-pem.t line 55.
Can't call method "p" on an undefined value at t/04-pem.t line 56.
# Looks like your test exited with 255 just after 14.

A difference between last passing and first failing build root is at <https://koschei.fedoraproject.org/build/18960794>. An upgrade of perl-Convert-PEM from 0.08-47.fc41 to 0.12-1.fc42 is suspicious.

Comment 1 Paul Howarth 2024-12-03 10:16:15 UTC
Should be fixed now with perl-Convert-PEM 0.13.

Comment 2 Paul Howarth 2024-12-05 13:17:50 UTC
perl-Crypt-DSA-1.19-1.fc42 built, based on perl-Convert-PEM 0.13.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-9d072a5204