Skip Menu |

This queue is for tickets about the URI-Escape-XS CPAN distribution.

Report information
The Basics
Id: 41134
Status: resolved
Priority: 0/
Queue: URI-Escape-XS

People
Owner: Nobody in particular
Requestors: konstantin [...] antselovich.com
Cc:
AdminCc:

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



CC: Konstantin Antselovich <konstantin [...] antselovich.com>
Subject: test fail when build with -m64 (i.e. on x86_64 arch )
Date: Fri, 21 Nov 2008 12:10:01 -0800
To: bug-URI-Escape-XS [...] rt.cpan.org
From: Konstantin Antselovich <konstantin [...] antselovich.com>

Message body is not shown because it is too large.

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #41134] test fail when build with -m64 (i.e. on x86_64 arch )
Date: Fri, 23 Jan 2009 14:10:13 -0800
To: bug-URI-Escape-XS [...] rt.cpan.org
From: Konstantin Antselovich <konstantin [...] antselovich.com>
DANKOGAI via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=41134 > > > On Fri Nov 21 15:11:09 2008, konstantin@antselovich.com wrote: > Would you try version 0.03? That may fix the problem. > > Dan the Maintainer Thereof > > >
I tested with ver. 0.04, the same effect (see attached) -Konstantin -- Konstantin Antselovich mailto: konstantin@antselovich.com Show quoted text
> > >

Message body is not shown because it is too large.

From: konstantin [...] antselovich.com
On Fri Jan 23 17:12:00 2009, konstantin@antselovich.com wrote: Show quoted text
> >
> I tested with ver. 0.04, the same effect (see attached) > > -Konstantin >
Attachment does not look like. Posting make test output : <user@host>$lsb_release -a LSB Version: :core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch Distributor ID: CentOS Description: CentOS release 4.7 (Final) Release: 4.7 Codename: Final <user@host>$perl Makefile.PL 2>&1 Writing Makefile for URI::Escape::XS <user@host>$make 2>&1 cp lib/URI/Escape/XS.pm blib/lib/URI/Escape/XS.pm /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap XS.xs > XS.xsc && mv XS.xsc XS.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" - fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" XS.c Running Mkbootstrap for URI::Escape::XS () chmod 644 XS.bs rm -f blib/arch/auto/URI/Escape/XS/XS.so gcc -shared XS.o -o blib/arch/auto/URI/Escape/XS/XS.so \ \ chmod 755 blib/arch/auto/URI/Escape/XS/XS.so cp XS.bs blib/arch/auto/URI/Escape/XS/XS.bs chmod 644 blib/arch/auto/URI/Escape/XS/XS.bs Manifying blib/man3/URI::Escape::XS.3pm <user@host>$make test 2>&1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.........# Testing URI::Escape::XS 0.04, Perl 5.008008, /usr/bin/perl ok t/01-compat....... # Failed test 'uri_unescape("%7Cabc%e5")' # in t/01-compat.t at line 14. # got: ' abcZ' # expected: '|abcÂ' # Failed test 'uri_unescape("%40A%42", "CDE", "F%47H")' # in t/01-compat.t at line 15. # got: ' A+:CDE:F{H' # expected: '@AB:CDE:FGH' # Looks like you failed 2 tests of 7. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 4-5 Failed 2/7 tests, 71.43% okay t/02-basic........ # Failed test 'decodeURIComponent(%00)' # in t/02-basic.t at line 17. # got: ' ' # expected: '

Message body is not shown because it is too large.

there are some issues with special symbols here, posting as .zip
Download TEST_0.04.zip
application/zip 3.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #41134] test fail when build with -m64 (i.e. on x86_64 arch )
Date: Fri, 23 Jan 2009 14:15:31 -0800
To: bug-URI-Escape-XS [...] rt.cpan.org
From: Konstantin Antselovich <konstantin [...] antselovich.com>
<user@host>$lsb_release -a LSB Version: :core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch Distributor ID: CentOS Description: CentOS release 4.7 (Final) Release: 4.7 Codename: Final <user@host>$perl Makefile.PL 2>&1 Writing Makefile for URI::Escape::XS <user@host>$make 2>&1 cp lib/URI/Escape/XS.pm blib/lib/URI/Escape/XS.pm /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap XS.xs > XS.xsc && mv XS.xsc XS.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" XS.c Running Mkbootstrap for URI::Escape::XS () chmod 644 XS.bs rm -f blib/arch/auto/URI/Escape/XS/XS.so gcc -shared XS.o -o blib/arch/auto/URI/Escape/XS/XS.so \ \ chmod 755 blib/arch/auto/URI/Escape/XS/XS.so cp XS.bs blib/arch/auto/URI/Escape/XS/XS.bs chmod 644 blib/arch/auto/URI/Escape/XS/XS.bs Manifying blib/man3/URI::Escape::XS.3pm <user@host>$make test 2>&1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.........# Testing URI::Escape::XS 0.04, Perl 5.008008, /usr/bin/perl ok t/01-compat....... # Failed test 'uri_unescape("%7Cabc%e5")' # in t/01-compat.t at line 14. # got: ' abcZ' # expected: '|abcÂ' # Failed test 'uri_unescape("%40A%42", "CDE", "F%47H")' # in t/01-compat.t at line 15. # got: ' A+:CDE:F{H' # expected: '@AB:CDE:FGH' # Looks like you failed 2 tests of 7. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 4-5 Failed 2/7 tests, 71.43% okay t/02-basic........ # Failed test 'decodeURIComponent(%00)' # in t/02-basic.t at line 17. # got: ' ' # expected: '
Konstantin, Recently I built a x86_64 version of perl on OS X Show quoted text
> ~/perl589-64bit/bin/perl -V | grep config >Summary of my perl5 (revision 5 version 8 subversion 9) configuration: > config_args='-DDEBUGGING -Doptimize=-g -pipe -Os -Dusethreads -Dusemultiplicity
-Duse64bitall -Dprefix=/Users/dankogai/perl589-64bit -des' I tested it and worked fine. Then I got another report from ANDK http://rt.cpan.org/Public/Bug/Display.html?id=42702 And found it should be locale to blame. 64bit arch has nothing to do with it. I have attached rewritten version of t/01-compat.t Please tell me what happens with it. Dan the Maintainer Thereof #!perl -w # # $Id: 01-compat.t,v 0.1 2007/04/27 17:17:46 dankogai Exp dankogai $ # # Original as URI-1.35/t/escape.t # use URI::Escape::XS qw/uri_escape uri_unescape/; use Test::More tests => 7; { use bytes; is uri_escape("|abc\xE5"), "%7Cabc%E5", qq{uri_escape("|abc?")}; is uri_escape("abc", "b-d"), "a%62%63", qq{uri_escape("abc", "b-d")}; ok !defined(uri_escape(undef)), qq{uri_escape(undef)}; is uri_unescape("%7Cabc%e5"), "|abc\xE5" , qq{uri_unescape("%7Cabc%e5")}; ; is join(":", uri_unescape("%40A%42", "CDE", "F%47H")), '@AB:CDE:FGH', qq{uri_unescape("%40A%42", "CDE", "F%47H")}; } eval { my $escaped = uri_escape("abc" . chr(300)) }; ok !$@, qq{uri_escape("abc".chr(300)) does NOT croak}; is uri_escape(chr(0xFFF)), "%E0%BF%BF", qq{uri_escape(chr(0xFFF))};
Resolved in 0.06. Closing ticket. Dan the Maintainer Thereof