Skip Menu |

This queue is for tickets about the dan CPAN distribution.

Report information
The Basics
Id: 117676
Status: open
Priority: 0/
Queue: dan

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: ${^ENCODING} is no longer supported
Tests fail with bleadperl (e.g. perl 5.25.4): PERL_DL_NONLAZY=1 "/bbbike/perl-5.25.4/bin/perl5.25.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. t/00_compile.t .. ok ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. # Failed test at t/01_literal.t line 10. # got: 'foo' # expected: 'bar' # Failed test at t/01_literal.t line 13. # got: 'foo' # expected: '' # Failed test at t/01_literal.t line 15. # got: 'foo' # expected: '' # Failed test at t/01_literal.t line 24. # got: 'foo' # expected: '' # Failed test at t/01_literal.t line 30. # got: 'ls' # expected: 'else' # Failed test at t/01_literal.t line 31. # got: 'ls' # expected: '' # Looks like you failed 6 tests of 9. t/01_literal.t .. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/9 subtests ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. # Failed test at t/02_utf8.t line 15. # got: 'foo' # expected: '' # Failed test at t/02_utf8.t line 20. # got: 'foo' # expected: '' # Looks like you failed 2 tests of 6. t/02_utf8.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/6 subtests ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. # Failed test at t/03_cat.t line 12. # got: 'Jcode' # expected: 'Encode' # Looks like you failed 1 test of 3. t/03_cat.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. # Failed test at t/04_regexp.t line 12. # Failed test at t/04_regexp.t line 24. # Failed test at t/04_regexp.t line 27. # got: undef # expected: 'foo' # Failed test at t/04_regexp.t line 28. # got: undef # expected: 'foo' # Failed test at t/04_regexp.t line 34. # got: 'soozy' # expected: anything else # Failed test at t/04_regexp.t line 35. # got: 'soozy' # expected: 'boofy' # Looks like you failed 6 tests of 6. t/04_regexp.t ... Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/6 subtests ${^ENCODING} is no longer supported at /tmpfs/.cpan-build-cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. # Failed test at t/05_list.t line 8. # got: '3' # expected: '0' # Looks like you failed 1 test of 2. t/05_list.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/06_dan_the.t .. ok
On 2016-09-08 19:31:56, SREZIC wrote: Show quoted text
> Tests fail with bleadperl (e.g. perl 5.25.4): > > PERL_DL_NONLAZY=1 "/bbbike/perl-5.25.4/bin/perl5.25.4" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', > 'blib/arch')" t/*.t > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > t/00_compile.t .. ok > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > > # Failed test at t/01_literal.t line 10. > # got: 'foo' > # expected: 'bar' > > # Failed test at t/01_literal.t line 13. > # got: 'foo' > # expected: '' > > # Failed test at t/01_literal.t line 15. > # got: 'foo' > # expected: '' > > # Failed test at t/01_literal.t line 24. > # got: 'foo' > # expected: '' > > # Failed test at t/01_literal.t line 30. > # got: 'ls' > # expected: 'else' > > # Failed test at t/01_literal.t line 31. > # got: 'ls' > # expected: '' > # Looks like you failed 6 tests of 9. > t/01_literal.t .. > Dubious, test returned 6 (wstat 1536, 0x600) > Failed 6/9 subtests > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > > # Failed test at t/02_utf8.t line 15. > # got: 'foo' > # expected: '' > > # Failed test at t/02_utf8.t line 20. > # got: 'foo' > # expected: '' > # Looks like you failed 2 tests of 6. > t/02_utf8.t ..... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/6 subtests > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > > # Failed test at t/03_cat.t line 12. > # got: 'Jcode' > # expected: 'Encode' > # Looks like you failed 1 test of 3. > t/03_cat.t ...... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/3 subtests > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > > # Failed test at t/04_regexp.t line 12. > > # Failed test at t/04_regexp.t line 24. > > # Failed test at t/04_regexp.t line 27. > # got: undef > # expected: 'foo' > > # Failed test at t/04_regexp.t line 28. > # got: undef > # expected: 'foo' > > # Failed test at t/04_regexp.t line 34. > # got: 'soozy' > # expected: anything else > > # Failed test at t/04_regexp.t line 35. > # got: 'soozy' > # expected: 'boofy' > # Looks like you failed 6 tests of 6. > t/04_regexp.t ... > Dubious, test returned 6 (wstat 1536, 0x600) > Failed 6/6 subtests > ${^ENCODING} is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090821/dan-0.551.2-0/blib/lib/dan.pm line 55. > > # Failed test at t/05_list.t line 8. > # got: '3' > # expected: '0' > # Looks like you failed 1 test of 2. > t/05_list.t ..... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/2 subtests > t/06_dan_the.t .. ok
With 5.25.2 it still passes, 5.25.3 is the first perl version which is causing failures.
On Thu Sep 08 19:31:56 2016, SREZIC wrote: Show quoted text
> Tests fail with bleadperl (e.g. perl 5.25.4):
I don’t really understand what the module is trying to do. It looks to me like a joke module that is hooking the upgrading of strings to rewrite their contents completely. That’s precisely the mechanism that got deprecated and removed from perl, because it was not applied consistently throughout the perl core (making the behaviour of ‘use encoding’ and the ${^ENCODING} variable drift randomly over time) and because it resulted in a broken string model, in which chr(0xb9) ne chr(0xb9) could be true, depending on the *internal* encoding of the operands. I think this module was deliberately depending on such a broken model for fun, so it’s unfixable. Then again, I may have misread the code.