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

Owner: Nobody in particular
Requestors: x.guimard [...]

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, 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/ line 122. so use keys() instead of each(), as suggested by perldiag.pod. --- libb-perlreq-perl-0.82.orig/lib/B/ +++ libb-perlreq-perl-0.82/lib/B/ @@ -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 infrastructure.

Please report any issues with to