Bug 2329829 - perl-Crypt-DSA-1.17-42.fc42 FTBFS: Can't call method "p" on an undefined value at t/04-pem.t line 56
Summary: perl-Crypt-DSA-1.17-42.fc42 FTBFS: Can't call method "p" on an undefined valu...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Crypt-DSA
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-12-02 09:26 UTC by Petr Pisar
Modified: 2024-12-05 13:17 UTC (History)
2 users (show)

Fixed In Version: perl-Crypt-DSA-1.19-1.fc42
Clone Of:
Environment:
Last Closed: 2024-12-05 13:17:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 156495 0 None None None 2024-12-02 10:46:48 UTC
Github perl-Crypt-OpenPGP Convert-PEM pull 2 0 None open Fix some warnings that manifest in the Crypt-DSA test suite 2024-12-02 10:46:48 UTC

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


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