Skip Menu |

This queue is for tickets about the I18N-Charset CPAN distribution.

Report information
The Basics
Id: 78917
Status: resolved
Priority: 0/
Queue: I18N-Charset

People
Owner: MTHURN [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails with Encode 2.45
As per subject: DANKOGAI/Encode-2.45.tar.gz was released on Aug 06, 2012 and folded into bleadperl in commit v5.17.2-265-g84678a6 on Aug 9. Since then I see MTHURN/I18N-Charset-1.401.tar.gz failing. Sample fail report isn't yet available on cpantesters, so I paste the diagnostics: PERL_DL_NONLAZY=1 /mnt/k75/homesand/src/perl/repoperls/installed-perls/perl/v5.1 7.1/a2da/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/l ib', 'blib/arch')" t/*.t attempt to alias "gb2312" to unknown Encode charset "euc-cn" at t/bug1.t line 14 . # Failed test at t/bug1.t line 14. # Failed test 'test literal -- big5' # at t/bug1.t line 15. # got: undef # expected: 'euc-cn' # Looks like you failed 2 tests of 3. t/bug1.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests # Failed test 'identity -- cp1251' # at t/enco.t line 41. # got: undef # expected: 'cp1251' # Failed test 'builtin alias -- cp1047' # at t/enco.t line 42. # got: undef # expected: 'cp1047' # Failed test 'builtin alias -- cp37' # at t/enco.t line 43. # got: undef # expected: 'cp37' # Failed test 'builtin alias -- cp37' # at t/enco.t line 44. # got: undef # expected: 'cp37' # Failed test 'builtin alias -- gb2312-raw' # at t/enco.t line 46. # got: undef # expected: 'gb2312-raw' # Looks like you failed 5 tests of 30. t/enco.t .......... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/30 subtests HTH&&Regards,
RT-Send-CC: DANKOGAI [...] cpan.org
Sorry, I forgot to CC Dan
On Sun Aug 12 00:12:52 2012, ANDK wrote: Show quoted text
> Sorry, I forgot to CC Dan
Thanks and Apologies. Right move since it turned out to be Encode's fault. 2.45 broke Encode- Show quoted text
>encodings(':all').
The patch below fixes that. 2.46 to be released soon. Dan the Encode Maintainer --- Encode.pm 2012/08/05 23:08:49 2.45 +++ Encode.pm 2012/08/12 05:36:12 @@ -61,9 +61,8 @@ }; sub encodings { - #my $class = shift; my %enc; - if ( @_ and $_[0] eq ":all" ) { + if ( @_ and $_[1] eq ":all" ) { %enc = ( %Encoding, %ExtModule ); } else {
I installed Encode 2.47 and all my tests pass.