Skip Menu |

This queue is for tickets about the MIME-EncWords CPAN distribution.

Report information
The Basics
Id: 34909
Status: resolved
Priority: 0/
Queue: MIME-EncWords

People
Owner: hatuka [...] nezumi.nu
Requestors: gregor+debian [...] comodo.priv.at
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.002
Fixed in: 1.010



Subject: Test failures
Date: Sat, 12 Apr 2008 13:54:34 +0200
To: bug-MIME-EncWords [...] rt.cpan.org
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
Hi, we've got a bug report in the Debian Bug Tracking System that shows that some tests in t/02encode.t suddenly started to fail which had worked fine before. My _guess_ is that this might be related to the newer version of MIME::Charset. The output of the build can be seen at http://bugs.debian.org/475211 Could you please take a look at this issue? Thanks in advance, gregor (Debian Perl Group) -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Pink Floyd: Waiting for the worms
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #34909] Test failures
Date: Sun, 13 Apr 2008 00:04:05 +0900
To: bug-MIME-EncWords [...] rt.cpan.org
From: Hatuka*nezumi - IKEDA Soji <hatuka [...] nezumi.nu>
Fellows, On Sat, 12 Apr 2008 07:54:57 -0400 "gregor+debian@comodo.priv.at via RT" <bug-MIME-EncWords@rt.cpan.org> wrote: Show quoted text
> > Sat Apr 12 07:54:55 2008: Request 34909 was acted upon. > Transaction: Ticket created by gregor+debian@comodo.priv.at > Queue: MIME-EncWords > Subject: Test failures > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: gregor+debian@comodo.priv.at > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34909 > > > > Hi, > > we've got a bug report in the Debian Bug Tracking System that shows > that some tests in t/02encode.t suddenly started to fail which had > worked fine before. My _guess_ is that this might be related to the > newer version of MIME::Charset. > > The output of the build can be seen at http://bugs.debian.org/475211 > > Could you please take a look at this issue? > > Thanks in advance, > gregor (Debian Perl Group)
Failure in test #11 is due to imcompatiblity as of MIME::Charset 1.005 (libmime-charset 1.005-1). It may work as expected with 1.004-1. This imcompatibilty will be solved with MIME::EncWords 1.010 which requires MIME::Charset 1.006. On tests #15-17 I have no ideas. Could you collect the values of ``$@''? Thank so much for your testing/packaging. -- --- nezumi
Subject: Re: [rt.cpan.org #34909] Test failures
Date: Sat, 12 Apr 2008 17:41:08 +0200
To: Hatuka*nezumi - IKEDA Soji via RT <bug-MIME-EncWords [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
On Sat, 12 Apr 2008 11:04:40 -0400, Hatuka*nezumi - IKEDA Soji via RT wrote: Show quoted text
> > we've got a bug report in the Debian Bug Tracking System that shows > > that some tests in t/02encode.t suddenly started to fail which had > > worked fine before. My _guess_ is that this might be related to the > > newer version of MIME::Charset.
> Failure in test #11 is due to imcompatiblity as of MIME::Charset 1.005 > (libmime-charset 1.005-1). It may work as expected with 1.004-1. This > imcompatibilty will be solved with MIME::EncWords 1.010 which requires > MIME::Charset 1.006.
Thanks for confirming my assumption. Show quoted text
> On tests #15-17 I have no ideas. Could you collect the values of ``$@''?
Sure, here we go: # Failed test 15 in t/02encode.t at line 35 fail #15 Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 45) line 1, <WORDS> chunk 3. BEGIN failed--compilation aborted at (eval 45) line 1, <WORDS> chunk 3. # Failed test 16 in t/02encode.t at line 35 fail #16 Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 58) line 1, <WORDS> chunk 4. BEGIN failed--compilation aborted at (eval 58) line 1, <WORDS> chunk 4. # Failed test 17 in t/02encode.t at line 35 fail #17 Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 71) line 1, <WORDS> chunk 5. BEGIN failed--compilation aborted at (eval 71) line 1, <WORDS> chunk 5. That seems to come from Charset.pm, too. Unfortunately I don't find an Encode::ISO2022JPMS module neither in Debian nor on CPAN but maybe the output helps you. Thanks for your quick reply! Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Dire Straits: Sultans Of Swing
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #34909] Test failures
Date: Sun, 13 Apr 2008 12:23:49 +0900
To: bug-MIME-EncWords [...] rt.cpan.org
From: Hatuka*nezumi - IKEDA Soji <hatuka [...] nezumi.nu>
On Sat, 12 Apr 2008 11:41:26 -0400 "gregor+debian@comodo.priv.at via RT" <bug-MIME-EncWords@rt.cpan.org> wrote: Show quoted text
> > Queue: MIME-EncWords > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34909 > > > On Sat, 12 Apr 2008 11:04:40 -0400, Hatuka*nezumi - IKEDA Soji via RT wrote: >
> > > we've got a bug report in the Debian Bug Tracking System that shows > > > that some tests in t/02encode.t suddenly started to fail which had > > > worked fine before. My _guess_ is that this might be related to the > > > newer version of MIME::Charset.
> > Failure in test #11 is due to imcompatiblity as of MIME::Charset 1.005 > > (libmime-charset 1.005-1). It may work as expected with 1.004-1. This > > imcompatibilty will be solved with MIME::EncWords 1.010 which requires > > MIME::Charset 1.006.
> > Thanks for confirming my assumption. >
> > On tests #15-17 I have no ideas. Could you collect the values of ``$@''?
> > Sure, here we go: > > # Failed test 15 in t/02encode.t at line 35 fail #15 > Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 45) line 1, <WORDS> chunk 3. > BEGIN failed--compilation aborted at (eval 45) line 1, <WORDS> chunk 3. > > # Failed test 16 in t/02encode.t at line 35 fail #16 > Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 58) line 1, <WORDS> chunk 4. > BEGIN failed--compilation aborted at (eval 58) line 1, <WORDS> chunk 4. > > # Failed test 17 in t/02encode.t at line 35 fail #17 > Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 71) line 1, <WORDS> chunk 5. > BEGIN failed--compilation aborted at (eval 71) line 1, <WORDS> chunk 5. > > That seems to come from Charset.pm, too. > > Unfortunately I don't find an Encode::ISO2022JPMS module neither in > Debian nor on CPAN but maybe the output helps you. > > Thanks for your quick reply!
I could reproduce. $@ is set when the machine doesn't have Encode::EUCJPMS (optional package for extended mappings). With MIME::Charset 1.004 all tests seem passed. Would you try with this release? If tests #15-17 still fail, try this patch: http://hatuka.nezumi.nu/repos/%2Acheckout%2A/MIME-Charset/patches/1.001-1.006-error_at.patch -- --- nezumi
Subject: Re: [rt.cpan.org #34909] Test failures
Date: Sun, 13 Apr 2008 13:53:49 +0200
To: Hatuka*nezumi - IKEDA Soji via RT <bug-MIME-EncWords [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
On Sat, 12 Apr 2008 23:24:12 -0400, Hatuka*nezumi - IKEDA Soji via RT wrote: Show quoted text
> > # Failed test 17 in t/02encode.t at line 35 fail #17 > > Can't locate Encode/ISO2022JPMS.pm in @INC (@INC contains: /tmp/buildd/libmime-encwords-perl-1.009/blib/lib /tmp/buildd/libmime-encwords-perl-1.009/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 71) line 1, <WORDS> chunk 5. > > BEGIN failed--compilation aborted at (eval 71) line 1, <WORDS> chunk 5. > > > > That seems to come from Charset.pm, too. > > Unfortunately I don't find an Encode::ISO2022JPMS module neither in > > Debian nor on CPAN but maybe the output helps you.
> I could reproduce. $@ is set when the machine doesn't have > Encode::EUCJPMS (optional package for extended mappings).
Ah, ok, that was the piece I missed. Unfortunately Encode::EUCJPMS is not (yet) in Debian. Is it _required_ now for Charset/EncWords? If yes could you please add it to Makefile.PL/META.yml? If not would it be possible to add some checking logic and skip the parts where it's used gracefully? (And if it's required we have to package it for Debian, which shouldn't be a great deal.) Show quoted text
> With MIME::Charset 1.004 all tests seem passed. Would you try > with this release?
Sorry for being not more clear - it _did_ work fine with MIME::Charset 1.004, otherwise MIME:EncWords 1.009 wouldn't have been uploaded to the Debian archive. It's just after the new MIME::Charset 1.005 (and 1.006) releases that the problems occur. Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Bob Dylan: Shelter From The Storm
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #34909] Test failures
Date: Sun, 13 Apr 2008 14:37:28 +0200
To: Hatuka*nezumi - IKEDA Soji via RT <bug-MIME-EncWords [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
On Sat, 12 Apr 2008 23:24:12 -0400, Hatuka*nezumi - IKEDA Soji via RT wrote: Show quoted text
> > > Failure in test #11 is due to imcompatiblity as of MIME::Charset 1.005 > > > (libmime-charset 1.005-1). It may work as expected with 1.004-1. This > > > imcompatibilty will be solved with MIME::EncWords 1.010 which requires > > > MIME::Charset 1.006.
> > Thanks for confirming my assumption.
I've now tried MIME::EncWords 1.010 with MIME:Charset 1.006. The problem with test #11 is indeed gone, the other tests still fail as expected. Just for your information the relevant output: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01decode....Prototype mismatch: sub Encode::Unicode::UTF7::decode ($$;$) vs none at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 77, <WORDS> chunk 1. Use of uninitialized value in numeric lt (<) at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 58, <WORDS> chunk 1. Use of uninitialized value in numeric lt (<) at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 58, <WORDS> chunk 1. Use of uninitialized value in numeric lt (<) at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 58, <WORDS> chunk 1. Use of uninitialized value in numeric lt (<) at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 58, <WORDS> chunk 1. Use of uninitialized value in numeric lt (<) at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 58, <WORDS> chunk 1. Use of uninitialized value in numeric lt (<) at /usr/lib/perl/5.8/Encode/Unicode/UTF7.pm line 58, <WORDS> chunk 1. ok t/02encode....# Test 15 got: "" (t/02encode.t at line 35 fail #15) # Expected: "Perl: =?ISO-2022-JP?B?GyRCSUJFKkBeQ288ZzVBRSpHUUoqPVBOTzRvGyhC?=\n (Pathologically Eclectic Rubbish Lister)" (Perl: =?ISO-2022-JP?B?GyRCSUJFKkBeQ288ZzVBRSpHUUoqPVBOTzRvGyhC?= # (Pathologically Eclectic Rubbish Lister)) # t/02encode.t line 35 is: ok((($isgood && !$@) or (!$isgood && $@)) && # Test 16 got: "" (t/02encode.t at line 35 fail #16) # Expected: "Perl: =?ISO-2022-JP?B?GyRCSUJFKkBeQ288ZzVBRSpHUUoqPVBOTzRvGyhC?=\n (Pathologically Eclectic Rubbish Lister)" (Perl: =?ISO-2022-JP?B?GyRCSUJFKkBeQ288ZzVBRSpHUUoqPVBOTzRvGyhC?= # (Pathologically Eclectic Rubbish Lister)) # Test 17 got: "" (t/02encode.t at line 35 fail #17) # Expected: "Perl: =?ISO-2022-JP?B?GyRCSUJFKkBeQ288ZzVBRSpHUUoqPVBOTzRvGyhC?=\n (Pathologically Eclectic Rubbish Lister)" (Perl: =?ISO-2022-JP?B?GyRCSUJFKkBeQ288ZzVBRSpHUUoqPVBOTzRvGyhC?= # (Pathologically Eclectic Rubbish Lister)) # Test 21 got: "" (t/02encode.t at line 35 fail #21) # Expected: "=?ISO-2022-JP?B?UGVybD0/OiAbJEJJQkUqQF5DbzxnNUFFKkdRSio9UE5PNG8bKEI=?=\n (Pathologically Eclectic Rubbish Lister)" (=?ISO-2022-JP?B?UGVybD0/OiAbJEJJQkUqQF5DbzxnNUFFKkdRSio9UE5PNG8bKEI=?= # (Pathologically Eclectic Rubbish Lister)) # Test 22 got: "" (t/02encode.t at line 35 fail #22) # Expected: "=?ISO-2022-JP?B?UGVybD0/OiAbJEJJQkUqQF5DbzxnNUFFKkdRSio9UE5PNG8bKEI=?=\n (Pathologically Eclectic Rubbish Lister)" (=?ISO-2022-JP?B?UGVybD0/OiAbJEJJQkUqQF5DbzxnNUFFKkdRSio9UE5PNG8bKEI=?= # (Pathologically Eclectic Rubbish Lister)) Use of uninitialized value in subroutine entry at /usr/lib/perl/5.8/Encode/CN/HZ.pm line 49, <WORDS> chunk 6. Use of uninitialized value in subroutine entry at /usr/lib/perl/5.8/Encode/CN/HZ.pm line 49, <WORDS> chunk 7. FAILED tests 15-17, 21-22 Failed 5/26 tests, 80.77% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/02encode.t 26 5 19.23% 15-17 21-22 Failed 1/2 test scripts, 50.00% okay. 5/74 subtests failed, 93.24% okay. If I use libencode-perl (2.24) (instead of Encode from perl core which is at 2.12) the warnings about /usr/lib/perl/5.8/Encode/* are gone but the test failures are the same. Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Reinhard Mey: Ein Antrag auf Erteilung eines Antragsformulars
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #34909] Test failures
Date: Sun, 13 Apr 2008 20:36:05 +0200
To: Hatuka*nezumi - IKEDA Soji via RT <bug-MIME-EncWords [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
On Sat, 12 Apr 2008 23:24:12 -0400, Hatuka*nezumi - IKEDA Soji via RT wrote: Show quoted text
> With MIME::Charset 1.004 all tests seem passed. Would you try > with this release? If tests #15-17 still fail, try this patch: > http://hatuka.nezumi.nu/repos/%2Acheckout%2A/MIME-Charset/patches/1.001-1.006-error_at.patch
I just saw that you've released MIME::Charset 1.006.1. And the good news: MIME::Encwords 1.010 builds fine with MIME::Charset 1.006.1. Thanks alot for your work! Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Featuring The Dubliners, The Fureys And Davey Arthur Etc.: St, Laurence O' Toole, The Fur
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.