Skip Menu |

This queue is for tickets about the Eval-Context CPAN distribution.

Report information
The Basics
Id: 86017
Status: open
Priority: 0/
Queue: Eval-Context

People
Owner: Nobody in particular
Requestors: gregoa [...] debian.org
Cc:
AdminCc:

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



From: gregoa [...] cpan.org
Subject: libeval-context-perl: FTBFS with perl 5.18: test failure
This bug has been forwarded from http://bugs.debian.org/711442 -->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->--> Source: libeval-context-perl Version: 0.09.11-1 Severity: important User: debian-perl@lists.debian.org Usertags: perl-5.18-transition Tags: sid jessie This package FTBFS with perl 5.18 from experimental (in a clean sbuild session): # Failed test 'persistent variable names' # at t/009_persistent_variables.t line 129. # Structures begin differing at: # $got->[0] = '$array' # $expected->[0] = '$object' # # |- 0 = $array [S1] # |- 1 = $hash [S2] # |- 2 = $object [S3] # |- 3 = $variable [S4] # |- 4 = @array [S5] # |- 5 = $scalar [S6] # `- 6 = %hash [S7] # Looks like you failed 1 test of 49. t/009_persistent_variables.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/49 subtests -- Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email) <--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<-- Thanks in advance, gregor herrmann, Debian Perl Group
Quick patch attached.
Subject: hash-randomization.patch
Description: sort expected and retrieved variables due the hash randomization in perl 5.17.* the order varies Origin: vendor Bug: https://rt.cpan.org/Dist/Display.html?Name=Eval-Context Forwarded: https://rt.cpan.org/Dist/Display.html?Name=Eval-Context Bug-Debian: http://bugs.debian.org/711442 Author: gregor herrmann <gregoa@debian.org> Last-Update: 2013-06-09 --- a/t/009_persistent_variables.t +++ b/t/009_persistent_variables.t @@ -125,8 +125,8 @@ die $@ if $@ ; } -my @persistent_variable_names = $context->GetPersistentVariableNames() ; -is_deeply(\@persistent_variable_names , [qw($object $array $variable %hash $hash $scalar @array)], 'persistent variable names') or diag DumpTree(\@persistent_variable_names ) ; +my @persistent_variable_names = sort $context->GetPersistentVariableNames() ; +is_deeply(\@persistent_variable_names , [sort qw($object $array $variable %hash $hash $scalar @array)], 'persistent variable names') or diag DumpTree(\@persistent_variable_names ) ; throws_ok {
Ping: did you get a chance to look at the patch yet? intrigeri, Debian Perl Group
Subject: Re: [rt.cpan.org #86017] libeval-context-perl: FTBFS with perl 5.18: test failure
Date: Sat, 25 Jan 2014 14:12:14 +0100
To: bug-Eval-Context [...] rt.cpan.org
From: nadim khemir <nadim.khemir [...] gmail.com>
Hi, No I haven't. I just am very busy with other things right now. I'll try to find time ASAP. IMO we should have a better way to apply patches and changes to modules, this "It's mine, don't touch" mentality has been bugging perl modules for a long time. On Fri, Jan 24, 2014 at 8:35 PM, intrigeri via RT < bug-Eval-Context@rt.cpan.org> wrote: Show quoted text
> Queue: Eval-Context > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86017 > > > Ping: did you get a chance to look at the patch yet? > > intrigeri, Debian Perl Group > >