Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 129390
Status: stalled
Priority: 0/
Queue: CPAN

Owner: Nobody in particular
Requestors: WAGNERC [...]

Bug Information
Severity: Normal
Broken in: 2.22
Fixed in: (no value)

Subject: Undefined value at CPAN/ line 2958.
Download (untitled) / with headers
text/plain 1.2k
Hi, there is a bug in CPAN::Distribution at line 2958 in unsat_prereq(). I'm guessing that $self->{reqtype} should be able to be undefined. Version 2.22. } elsif ( $self->{reqtype} =~ /^(r|c)$/ && ( exists $prereq_pm->{requires}{$need_module} || exists $prereq_pm->{opt_requires}{$need_module} ) && $nmo && !$inst_file ) { cpan[76]> install Package::Stash::XS Running install for module 'Package::Stash::XS' Prepending /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/arch /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/lib to PERL5LIB for 'get' WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Signature for /home/wagnerc/.cpan/sources/authors/id/E/ET/ETHER/CHECKSUMS ok Checksum for /home/wagnerc/.cpan/sources/authors/id/E/ET/ETHER/Package-Stash-XS-0.29.tar.gz ok Package came without SIGNATURE Prepending /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/arch /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/lib to PERL5LIB for 'prepare' Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/5.22/CPAN/ line 2958. Thanks.
*should not be able
Download (untitled) / with headers
text/plain 262b
The code you quote looks already different in 2.26. Commit f27f56c7 touched it. Could you upgrade and see how your specific use-case is reproducable for you? It isn't reproducable for me, but strangely not even when I downgrade to 2.22. Thanks for the report!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to