Skip Menu |

This queue is for tickets about the JE CPAN distribution.

Report information
The Basics
Id: 58371
Status: resolved
Priority: 0/
Queue: JE

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

Bug Information
Severity: Normal
Broken in:
  • 0.044
  • 0.045
  • 0.046
  • 0.047
  • 0.048
Fixed in: 0.049



Subject: t/15.05 fails on openSUSE 11.2
I use the attached patch to avoid the following failure. This has been around for some while, reproducable with JE-0.048 -- and openSUSE-11.2 . t/15.05-string-objects..................../t/jstest.pl: t/15.05-string-objects.t: Error: panic: utf8_mg_pos_cache_update cache 76 real 3 for at /usr/src/packages/BUILD/JE-0.048/blib/lib/JE/Object/String.pm line 317, <DATA> line 1. # Looks like you planned 514 tests but ran 155. # Looks like your test exited with 255 just after 155. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 156-514
Subject: survive_test_suite.patch
--- t/15.05-string-objects.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: JE-0.046/t/15.05-string-objects.t =================================================================== --- JE-0.046.orig/t/15.05-string-objects.t +++ JE-0.046/t/15.05-string-objects.t @@ -267,7 +267,10 @@ ok(' '.indexOf(' ', null) === 0, 'inde ok(' '.indexOf(' ', 1.2) === 1, 'indexOf w/ fractional pos'); ok(' '. indexOf(' ', -3) === 0, 'indexOf w/neg pos'); -ok(' '. indexOf(' ', 76) === -1, 'indexOf w pos > length (failed)'); +ok(' '. indexOf(' ', -3) === 0, 'indexOf w/neg pos'); +diag("\n skipping 'indexOf w pos > length'\n") +// ok(' '. indexOf(' ', 76) === -1, 'indexOf w pos > length (failed)'); + ok(' '. indexOf('', 76) === 3, 'indexOf w pos > length (matched)') || diag(' '. indexOf('', 76) + ' !== 3') ;
On Mon Jun 14 06:21:49 2010, JNW wrote: Show quoted text
> I use the attached patch to avoid the following failure. This has been > around for some while, reproducable with JE-0.048 -- and openSUSE-11.2 . > > t/15.05-string-objects..................../t/jstest.pl: > t/15.05-string-objects.t: Error: panic: utf8_mg_pos_cache_update cache > 76 real 3 for at > /usr/src/packages/BUILD/JE-0.048/blib/lib/JE/Object/String.pm line 317, > <DATA> line 1. > # Looks like you planned 514 tests but ran 155. > # Looks like your test exited with 255 just after 155. > dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 156-514 >
Thank you for your report. This is a bug in perl, which I’ve filed at <http://rt.perl.org/rt3/Ticket/Display.html?id=75898>. I’ve also added a work-around to JE 0.049, which has just been released.
CC: JNW [...] cpan.org
Subject: Re: [rt.cpan.org #58371] t/15.05 fails on openSUSE 11.2
Date: Mon, 21 Jun 2010 13:04:56 +0200
To: Father Chrysostomos via RT <bug-JE [...] rt.cpan.org>
From: Juergen Weigert <jw [...] suse.de>
On Jun 20, 10 16:03:53 -0400, Father Chrysostomos via RT wrote: Show quoted text
> Thank you for your report. This is a bug in perl, which I???ve filed at > <http://rt.perl.org/rt3/Ticket/Display.html?id=75898>. I???ve also added a work-around to JE > 0.049, which has just been released.
Cool 0.049 survives without my patch. Thanks! JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) "You are trying to use packages from project 'openSUSE:11.2'. Note that malicious packages can compromise your system."