Skip Menu |

This queue is for tickets about the Text-Restructured CPAN distribution.

Report information
The Basics
Id: 28176
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Text-Restructured

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

Bug Information
Severity: Critical
Broken in: 0.003032
Fixed in: 0.003033



Subject: tests all fail when path to perl contains metacharacter
This happens with 0.003032 for me. Note, my path to perl is /home/src/perl/repoperls/installed-perls/perl/puxF7en/perl-5.8.0@31600/bin/perl # Failed test 'substitutions01.ok' # at /home/sand/.cpan/build/Text-Restructured-0.003032-Rp5G0t/t/10_parse/../gress.pm line 166. # got: '0a1 # > Possible unintended interpolation of @31600 in string at /home/sand/.cpan/build/Text-Restructured-0.003032-Rp5G0t/blib/lib/Text/Restructured/PrestConfig.pm line 4. # ' # expected: '' # Failed test 'substitutions02.ok' # at /home/sand/.cpan/build/Text-Restructured-0.003032-Rp5G0t/t/10_parse/../gress.pm line 166. # got: '0a1 There are zillions of this kind of failure Thanks,
Thanks for filing a ticket. Since the CPAN testers report for Text::Restructured has not been updated since 2007/06/06, I've had absolutely *no* insight into why the tests are failing. Is there any chance you could send me a copy of your (generated) blib/lib/Text/Restructured/PrestConfig.pm file?
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #28176] tests all fail when path to perl contains metacharacter
Date: Mon, 16 Jul 2007 19:23:07 +0200
To: bug-Text-Restructured [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 16 Jul 2007 10:25:52 -0400, "Mark Nodine via RT" <bug-Text-Restructured@rt.cpan.org> said:
Show quoted text
Show quoted text
> Thanks for filing a ticket. Since the CPAN testers report for > Text::Restructured has not been updated since 2007/06/06, I've had > absolutely *no* insight into why the tests are failing.
Show quoted text
> Is there any chance you could send me a copy of your (generated) > blib/lib/Text/Restructured/PrestConfig.pm file?
cpantesters fixed their bug half a day ago. You can download a tarball of the build directory of T-R from ftp://pause.perl.org/scratch/T-R-0.003032-built.tar.gz I hope this gives you as much insight as you need. -- andreas
Show quoted text
> You can download a tarball of the build directory of T-R from > > ftp://pause.perl.org/scratch/T-R-0.003032-built.tar.gz > > I hope this gives you as much insight as you need.
Are you sure you didn't run out of disk space when you created this file? I get an unexpected end of file in trying to untar the unzipped file. --Mark
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #28176] tests all fail when path to perl contains metacharacter
Date: Mon, 16 Jul 2007 22:56:41 +0200
To: bug-Text-Restructured [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 16 Jul 2007 13:44:23 -0400, "Mark Nodine via RT" <bug-Text-Restructured@rt.cpan.org> said:
Show quoted text
Show quoted text
>> You can download a tarball of the build directory of T-R from >> >> ftp://pause.perl.org/scratch/T-R-0.003032-built.tar.gz >> >> I hope this gives you as much insight as you need.
Show quoted text
> Are you sure you didn't run out of disk space when you created this > file? I get an unexpected end of file in trying to untar the unzipped file.
Wazzat? The file on my disk has Show quoted text
>% ls -l /tmp/T-R-0.003032-built.tar.gz
-rw-rw-r-- 1 sand sand 1538227 Jul 16 19:20 /tmp/T-R-0.003032-built.tar.gz Show quoted text
>% md5sum /tmp/T-R-0.003032-built.tar.gz
360f7c1da3ee5641f50b1fb6bb473447 /tmp/T-R-0.003032-built.tar.gz And the file on PAUSE has a different MD5 sum:-( I don't know what happened here, maybe the scp got interrupted. This time I make sure the scp runs to the end...... Wait a second...... Wait a second....... Wait......--stalled-- Ahhh, there it is. % md5sum scratch/T-R-0.003032-built.tar.gz 360f7c1da3ee5641f50b1fb6bb473447 scratch/T-R-0.003032-built.tar.gz So this time I put the right file into the scratch directory. Sorry for the glitch. Apparently we still have to learn how to get all the necessary information from endpoint to endpoint. -- andreas
Try the attached patch: patch -p0 < patch1.pat
Download patch1.pat
application/octet-stream 636b

Message body not shown because it is not plain text.

CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #28176] tests all fail when path to perl contains metacharacter
Date: Tue, 17 Jul 2007 22:46:49 +0200
To: bug-Text-Restructured [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Tue, 17 Jul 2007 14:29:40 -0400, "Mark Nodine via RT" <bug-Text-Restructured@rt.cpan.org> said:
Show quoted text
Show quoted text
> Try the attached patch:
Show quoted text
> patch -p0 < patch1.pat
Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/40_writers/xml.t 1 256 3 1 1 t/70_plugins/if.t 1 256 12 1 5 t/70_plugins/perl.t 1 256 19 1 10 t/80_misc/coverage.t 1 256 16 1 5 t/80_misc/html.t 2 512 32 2 3 22 -- andreas