Skip Menu |

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

Report information
The Basics
Id: 50394
Status: open
Priority: 0/
Queue: Data-Locations

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

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



Subject: Fails with 5.6.2
The matrix illustrates it well, it's most probably just a 5.6.2 thingy: http://matrix.cpantesters.org/?dist=Data-Locations-5.5 To avoid the FAIL reports being registered at cpantesters please follow the recommendations at http://wiki.cpantesters.org/wiki/CPANAuthorNotes Regards,
On So. 11. Okt. 2009, 09:53:31, ANDK wrote: Show quoted text
> The matrix illustrates it well, it's most probably just a 5.6.2 thingy: > > http://matrix.cpantesters.org/?dist=Data-Locations-5.5 > > To avoid the FAIL reports being registered at cpantesters please follow > the recommendations at http://wiki.cpantesters.org/wiki/CPANAuthorNotes > > Regards,
Yes, this is a 5.6.2 thing! It is already documented in the Makefile.PL (see attachment) that this module does not pass all tests with Perl versions >= 5.006001 and <= 5.007! This is because at the time these versions of Perl were assembled somebody of the Perl 5 Porters thought that self-ties of globs were useless. They aren't. Somebody made a change to the Perl core which broke my module. After my protests, these modifications were taken back in later versions. Therefore it is unfortunately not an option to put "use 5.008;" into the module, because the module continues to work fine with versions of Perl <= 5.6.0. I routinely test the module with Perl 5.005_03, for instance, before releasing it. Any ideas? I could of course skip the offending tests, but that would be cheating on the end user, who IMHO should have the right to know what he's buying... And that he/she should really upgrade (or downgrade) his Perl version!
#!perl -w ############################################################################### ## ## ## Copyright (c) 1997 - 2009 by Steffen Beyer. ## ## All rights reserved. ## ## ## ## This package is free software; you can redistribute it ## ## and/or modify it under the same terms as Perl itself. ## ## ## ############################################################################### use strict; use ExtUtils::MakeMaker; use Config; WriteMakefile( 'NAME' => 'Data::Locations', 'VERSION_FROM' => 'Locations.pm', 'OBJECT' => '$(O_FILES)', # ($] >= 5.005 ? # ('ABSTRACT' => 'Magic (recursive) insertion points in your data', # 'AUTHOR' => 'Steffen Beyer (STBEY@cpan.org)') : ()), # ($] >= 5.005 && $ eq 'MSWin32' && $Config{archname} =~ /-object\b/i ? # ('CAPI' => 'TRUE') : ()), 'dist' => { COMPRESS => "gzip -9", SUFFIX => "gz" } ); if ($] >= 5.006001 and $] <= 5.007) { warn <<"VERBATIM"; ========================================================================= WARNING: You are currently using Perl version $]. Perl versions including and between Perl v5.6.1 and v5.7.0 do not work well with this module. Test file "t/11_______dump.t" of the test suite ("make test") will probably fail with a core dump when using this Perl version. You may nevertheless be able to use this module if all the other tests pass (just "make install" anyway). However, I would rather recommend you to upgrade to a more stable Perl version. Sorry for the inconvenience! ========================================================================= VERBATIM } __END__
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #50394] Fails with 5.6.2
Date: Mon, 12 Oct 2009 07:56:02 +0200
To: bug-Data-Locations [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Sun, 11 Oct 2009 14:31:01 -0400, "Steffen_Beyer via RT" <bug-Data-Locations@rt.cpan.org> said:
Show quoted text
> Any ideas?
See the topic "How can I stop getting FAIL reports for missing libraries or other non-Perl dependencies?". If you exit 0 from the Makefile.PL on unsupported platforms CPAN{,PLUS} will not be able to test and will not send a fail. -- andreas