develooper Front page | perl.perl5.porters | Postings from February 2013

[perl #116961] Data::Dumper 2.143 tests failures on 5.10.1

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
February 28, 2013 01:12
Subject:
[perl #116961] Data::Dumper 2.143 tests failures on 5.10.1
Message ID:
rt-3.6.HEAD-31961-1362013970-295.116961-15-0@perl.org
On Wed Feb 27 02:03:54 2013, dolmen wrote:
> Look like I did run the test with the system perl (5.12.4) instead of
> our custom-built 5.10.1. Anyway, the bug still applies.
> 
> Here is the result of the build with 5.10.1 (corresponding to the perl
> with which perlbug ran).
> 
> ----8<----------8<--------8<--------8<--------8<--------8<--------8<----
> $ /var/lib/jenkins/perl/perl-5.10.1/bin/perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Data::Dumper
> Writing MYMETA.yml and MYMETA.json
> jenkins@jenkins:~/.cpan/build/Data-Dumper-2.143-5tgcqI$ make test
> cp Dumper.pm blib/lib/Data/Dumper.pm
> /var/lib/jenkins/perl/perl-5.10.1/bin/perl
> /var/lib/jenkins/perl/perl-5.10.1/lib/5.10.1/ExtUtils/xsubpp  -typemap
> /var/lib/jenkins/perl/perl-5.10.1/lib/5.10.1/ExtUtils/typemap  Dumper.xs
> > Dumper.xsc && mv Dumper.xsc Dumper.c
> cc -c   -DNO_MATHOMS -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.143\" -DXS_VERSION=\"2.143\"
> -fPIC "-I/var/lib/jenkins/perl/perl-5.10.1/lib/5.10.1/x86_64-linux/CORE"
>  -DUSE_PPPORT_H Dumper.c
> Running Mkbootstrap for Data::Dumper ()
> chmod 644 Dumper.bs
> rm -f blib/arch/auto/Data/Dumper/Dumper.so
> cc  -shared -O2 -fstack-protector Dumper.o  -o
> blib/arch/auto/Data/Dumper/Dumper.so 	\
> 	     	\
> 	  
> chmod 755 blib/arch/auto/Data/Dumper/Dumper.so
> cp Dumper.bs blib/arch/auto/Data/Dumper/Dumper.bs
> chmod 644 blib/arch/auto/Data/Dumper/Dumper.bs
> PERL_DL_NONLAZY=1 /var/lib/jenkins/perl/perl-5.10.1/bin/perl
> "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
> 'blib/arch')" t/*.t
> t/bless.t ..................... 1/11 Undefined subroutine
> &Data::Dumper::Dumpxs called at
> /home/jenkins/.cpan/build/Data-Dumper-2.143-5tgcqI/blib/lib/Data/Dumper.pm
> line 222.
> # Looks like you planned 11 tests but ran 1.
> # Looks like your test exited with 255 just after 1.
> t/bless.t ..................... Dubious, test returned 255 (wstat 65280,
> 0xff00)
> Failed 10/11 subtests 
...

> t/indent.t .................... Use of implicit split to @_ is
> deprecated at t/indent.t line 100.
> Use of implicit split to @_ is deprecated at t/indent.t line 101.
> t/indent.t .................... 1/10 
> #   Failed test 'Indent(3) annotates array elements with their indices'
> #   at t/indent.t line 96.
> #                   '$VAR1 = [
> #           #0
> #           'foo',
> #           #1
> #           42
> #         ];
> # '
> #     doesn't match '(?s-xim:\#0.+'foo'.+\#1.+'42')'
> # Looks like you failed 1 test of 10.
> t/indent.t .................... Dubious, test returned 1 (wstat 256,
0x100)
> Failed 1/10 subtests 

Unless my eyes deceive me (it has happened!), the only difference I see
between the got and the expected is the absence of quoting around '42'
in the got.

This sounds like the same problem being discussed in RT #72794.

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116961

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About