Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Dumper-Perltidy CPAN distribution.

Report information
The Basics
Id: 78806
Status: resolved
Priority: 0/
Queue: Data-Dumper-Perltidy

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

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



Subject: won't install, well at least I am not the only one,
Dear John I thought I would try again, but still to no avail. cpan error with more slightly more info, than tester report. MC1, ##### cpan[3]> install Data::Dumper::Perltidy Running install for module 'Data::Dumper::Perltidy' Running make for J/JM/JMCNAMARA/Data-Dumper-Perltidy-0.01.tar.gz Has already been unwrapped into directory /home/kevin/.cpan/build/Data-Dumper-Perltidy-0.01-ZbuQYW Has already been made Running make test PERL_DL_NONLAZY=1 /home/kevin/perl5/perlbrew/perls/perl-5.14.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .......... ok t/01-pod-coverage.t .. ok t/02-pod.t ........... ok Ignoring -b; you may not use -b and -st together Ignoring -b; you may not specify a destination stream and -b together Ignoring -b; you may not specify a source array and -b together You may not specify a destination array and -st together # Failed test 'Example from the docs' # at t/03-dumper.t line 33. # got: undef # expected: '$VAR1 = [ # { 'title' => 'This is a test header' }, # { 'data_range' => [ 0, 0, 3, 9 ] }, # { 'format' => 'bold' } # ]; # ' # Looks like you failed 1 test of 1. t/03-dumper.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/03-dumper.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=4, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.81 cusr 0.08 csys = 0.93 CPU) Result: FAIL Failed 1/4 test programs. 1/4 subtests failed. make: *** [test_dynamic] Error 1 (/usr/bin/make test exited with 512) CPAN::Reporter: Test result is 'fail', One or more tests failed. CPAN::Reporter: preparing a CPAN Testers report for Data-Dumper-Perltidy-0.01 Also same thing on another machine, diffrent perl version MC2, ##### Writing Makefile for Data::Dumper::Perltidy Writing MYMETA.yml and MYMETA.json (/home/kevin/perl5/perlbrew/perls/perl-5.17.2/bin/perl5.17.2 Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. cp lib/Data/Dumper/Perltidy.pm blib/lib/Data/Dumper/Perltidy.pm Manifying blib/man3/Data::Dumper::Perltidy.3 (/usr/bin/make exited with 0) CPAN::Reporter: make result is 'pass', No errors. JMCNAMARA/Data-Dumper-Perltidy-0.01.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /home/kevin/perl5/perlbrew/perls/perl-5.17.2/bin/perl5.17.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .......... ok t/01-pod-coverage.t .. ok t/02-pod.t ........... ok You may not specify a destination array and -st together # Failed test 'Example from the docs' # at t/03-dumper.t line 33. # got: undef # expected: '$VAR1 = [ # { 'title' => 'This is a test header' }, # { 'data_range' => [ 0, 0, 3, 9 ] }, # { 'format' => 'bold' } # ]; # ' # Looks like you failed 1 test of 1. t/03-dumper.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/03-dumper.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=4, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.91 cusr 0.06 csys = 1.04 CPU) Result: FAIL
On Mon Aug 06 06:32:32 2012, bowtie wrote: Show quoted text
> I thought I would try again, but still to no avail. > > cpan error with more slightly more info, than tester report.
Hi, Thanks for the bug report. I can't reproduce that error with similar perl versions. Perhaps the issue is that there is a local .perltidy file that is causing the test to fail. Could that be the case? John. --
Subject: Re: [rt.cpan.org #78806] won t install, well at least I am not the only one,
Date: Tue, 07 Aug 2012 15:21:44 +0100
To: bug-Data-Dumper-Perltidy [...] rt.cpan.org
From: kevin dawson <kevin [...] dawson10.plus.com>
On 07/08/12 14:46, John McNamara via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78806 > > > On Mon Aug 06 06:32:32 2012, bowtie wrote:
>> I thought I would try again, but still to no avail. >> >> cpan error with more slightly more info, than tester report.
> > Hi, > > Thanks for the bug report. I can't reproduce that error with similar > perl versions. > > Perhaps the issue is that there is a local .perltidy file that is > causing the test to fail. Could that be the case? > > John.
Hi John. yes I have a local .perltidyrc file, attached for your convenience when renamed Data-Dumper-Perltidy installs ok I would guess the other cpan-report failures also have a .perltidyrc I hope this helps in making your module better keep up the good work thanks for your response regards bowtie you may close rt, with a local .perltidyrc warning if you like, suggest you add this to POD

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

On secon thoughts this is still an issue. after resetting .perltidyrc I reied to install Devel::Trepan which depends on this module it fails to install this means that this module is not compatable with a local .perltidyrc this is not good
On Tue Aug 07 10:30:23 2012, bowtie wrote: Show quoted text
> On secon thoughts this is still an issue. > > after resetting .perltidyrc > > I reied to install Devel::Trepan which depends on this module > > it fails to install > > this means that this module is not compatable with a local .perltidyrc > > this is not good
Hi, I'll push a fix that by default ignores the .perltidyrc but allows the user to pass configuration and optionally use .perltidyrc if desired. However, I'm on holiday at the moment so that may take a week or more. In the meantime you could work around the issue by adding -nst to your .perltidyrc. John. --
On Mon Aug 06 06:32:32 2012, bowtie wrote: Show quoted text
> cpan[3]> install Data::Dumper::Perltidy > Running install for module 'Data::Dumper::Perltidy' > Running make for J/JM/JMCNAMARA/Data-Dumper-Perltidy-0.01.tar.gz > Has already been unwrapped into directory > /home/kevin/.cpan/build/Data-Dumper-Perltidy-0.01-ZbuQYW > Has already been made
Hi Kevin, I've uploaded a fix for this issue in Version 0.02 on CPAN: http://search.cpan.org/~jmcnamara/Data-Dumper-Perltidy/ Thanks for the report. John. --