Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Convert-ASN1 CPAN distribution.

Report information
The Basics
Id: 3975
Status: resolved
Priority: 0/
Queue: Convert-ASN1

People
Owner: Nobody in particular
Requestors: jwing [...] us.ibm.com
Cc:
AdminCc:

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



Subject: prim test 113 failed
Building on AIX5.2 host w/ xlc compiler. Base perl is 5.8.1. The test results are: PERL_DL_NONLAZY=1 /usr/local/bin/perl-current "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00prim......Malformed UTF-8 character (1 byte, need 2, after start byte 0xc0) in bitwise and (&) at /.../esp.event.ibm.com/fs/system-RW/images/perl/AIX5.2/Convert-ASN1-0.17/blib/lib/Convert/ASN1/_encode.pm line 117. Use of uninitialized value in warn at t/00prim.t line 185. Warning: something's wrong at t/00prim.t line 185. t/00prim......FAILED test 113
From: Graham Barr <gbarr [...] pobox.com>
Subject: Re: [cpan #3975] prim test 113 failed
Date: Mon, 6 Oct 2003 19:25:53 +0100
To: bug-Convert-ASN1 [...] rt.cpan.org
RT-Send-Cc:
On 3 Oct 2003, at 18:40, Guest via RT wrote: Show quoted text
> Building on AIX5.2 host w/ xlc compiler. Base perl is 5.8.1. > The test results are: > > PERL_DL_NONLAZY=1 /usr/local/bin/perl-current > "-MExtUtils::Command::MM" > "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00prim......Malformed UTF-8 character (1 byte, need 2, after start > byte 0xc0) > in bitwise and (&) at > /.../esp.event.ibm.com/fs/system-RW/images/perl/AIX5.2/Convert-ASN1 > -0.17/blib/lib/Convert/ASN1/_encode.pm line 117. > Use of uninitialized value in warn at t/00prim.t line 185. > Warning: something's wrong at t/00prim.t line 185. > t/00prim......FAILED test 113
Ah, this looks like it is related to other UTF8 fixes I did for OCTET STRING, please try the attached patch and let me know if it fixes the problem Graham.

Message body is not shown because sender requested not to inline it.

Subject: prim test failed
From: Axel Gerstmair <anthill [...] web.de>
Hi Graham, I have the same problem under RedHat 9, Perl 5.8.1 and even after applying your patch I get a similar error (test 108 fails): PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/00prim.t t/00prim....Malformed UTF-8 character (1 byte, need 2, after start byte 0xc0) in bitwise and (&) at /home/www/src/CPAN/Convert-ASN1-0.17/blib/lib/Convert/ASN1/_encode.pm line 123. Use of uninitialized value in warn at t/00prim.t line 185. Warning: something's wrong at t/00prim.t line 185. 1..158 [...] #108: expecting hex:0304036e5dc0 #108: got hex:0304036e5d00 #line 185 t/00prim.t not ok 108 When changing the LANG environment variable from "en_US.UTF8" to "en_US" test 113 fails instead of 108. Without the patch test 123 fails with "en_US.UTF8", and test 118 with "en_US". Any ideas? Best regards, Axel
From: Graham Barr <gbarr [...] pobox.com>
Subject: Re: [cpan #3975] prim test failed
Date: Wed, 8 Oct 2003 13:53:40 +0100
To: bug-Convert-ASN1 [...] rt.cpan.org
RT-Send-Cc:
On 8 Oct 2003, at 10:26, Guest via RT wrote: Show quoted text
> > This message about Convert-ASN1 was sent to you by guest <> via > rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=3975 > > > Hi Graham, > > I have the same problem under RedHat 9, Perl 5.8.1 and even after > applying your patch I get a similar error (test 108 fails):
This is annoying because I connot reproduce this. Although I dont have RH9.1, but that should not matter. Here is a preliminary release of 0.18 that I was just in the process of finishing off and uploading to CPAN. http://monty.mutatus.co.uk/~gbarr/Convert-ASN1-0.18.tar.gz Please try this. Graham.
Subject: prim test failed
From: Axel Gerstmair <anthill [...] web.de>
Hi Graham, [gbarr@pobox.com - Wed Oct 8 08:54:17 2003]: Show quoted text
> Here is a preliminary release of 0.18 that I was just in the process of > finishing off and uploading to CPAN. > > http://monty.mutatus.co.uk/~gbarr/Convert-ASN1-0.18.tar.gz > > Please try this.
It looks good. The new release works for me (with LANG="en_US" and LANG="en_US.UTF8"). All tests passed successfully! Thank you very much! Axel
From: Graham Barr <gbarr [...] pobox.com>
Subject: Re: [cpan #3975] prim test failed
Date: Wed, 8 Oct 2003 14:43:48 +0100
To: bug-Convert-ASN1 [...] rt.cpan.org
RT-Send-Cc:
On 8 Oct 2003, at 14:17, Guest via RT wrote: Show quoted text
> Hi Graham,
>> Here is a preliminary release of 0.18 that I was just in the process >> of >> finishing off and uploading to CPAN. >> >> http://monty.mutatus.co.uk/~gbarr/Convert-ASN1-0.18.tar.gz >> >> Please try this.
> > It looks good. The new release works for me (with LANG="en_US" and > LANG="en_US.UTF8"). All tests passed successfully!
Thanks for letting me know. A new release will be on CPAN shortly. Graham.