Skip Menu |
 

This queue is for tickets about the rpm-build-perl CPAN distribution.

Report information
The Basics
Id: 85411
Status: new
Priority: 0/
Queue: rpm-build-perl

People
Owner: Nobody in particular
Requestors: x.guimard [...] free.fr
Cc:
AdminCc:

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



Subject: Tests fail with Perl 5.18
Download (untitled) / with headers
text/plain 949b
As reported in http://bugs.debian.org/708592, the following patch may be added: The hash randomization changes in the Perl 5.17 series made perl.req to occasionally fail to report the dependencies. Improved diagnostics report: Use of each() on hash after insertion without resetting hash iterator results in undefined behavior, Perl interpreter: 0x9e7010 at /home/niko/tmp/libb-perlreq-perl-0.82/blib/lib/B/Walker.pm line 122. so use keys() instead of each(), as suggested by perldiag.pod. --- libb-perlreq-perl-0.82.orig/lib/B/Walker.pm +++ libb-perlreq-perl-0.82/lib/B/Walker.pm @@ -119,7 +119,7 @@ sub walk_gv ($) { sub walk_stash ($$); sub walk_stash ($$) { # similar to B::walksymtable my ($symref, $prefix) = @_; - while (my ($sym) = each %$symref) { + for my $sym (keys %$symref) { no strict 'refs'; my $fullname = "*main::". $prefix . $sym; if ($sym =~ /::\z/) {


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.