Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 48268
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

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



Subject: Test failures in Fedora and RHEL Perl versions < 5.8.8
I'm getting test suite failures like this on all Fedora and Red Hat Perls prior to Fedora 5 [perl 5.8.8] and RHEL 5 [perl 5.8.8] (i.e. Fedora 4 [perl 5.8.6] and RHEL 4 [perl 5.8.5] and their predecessors all fail): ... ok 86 - Called as class method ok 87 - Replacement handles modules without VERSION ok 88 - Replacement handles modules without VERSION ok 89 - Replacement handles modules without VERSION ok 90 - Replacement handles modules without VERSION ok 91 - "$version" == 1.2.3 ok 92 - $version == $new_version Undefined subroutine &main::qv called at t/coretests.pm line 343. 1..92 # Looks like your test died just after 92. dubious Attached patch to skip one test in coretests.pm resolves the problem for me, but my perl-fu isn't strong enough to understand the underlying reason.
Subject: perl-version-0.77-test.patch
This patch skips a test that causes fails like the one below on all distros prior to FC5, RHEL5: ok 86 - Called as class method ok 87 - Replacement handles modules without VERSION ok 88 - Replacement handles modules without VERSION ok 89 - Replacement handles modules without VERSION ok 90 - Replacement handles modules without VERSION ok 91 - "$version" == 1.2.3 ok 92 - $version == $new_version Undefined subroutine &main::qv called at t/coretests.pm line 343. 1..92 # Looks like your test died just after 92. dubious --- version-0.77/t/coretests.pm 2009-07-26 12:49:11.000000000 +0100 +++ version-0.77/t/coretests.pm 2009-07-28 09:22:47.000000000 +0100 @@ -336,6 +336,8 @@ $version = $CLASS->$method(1.0.0); $new_version = $CLASS->$method(1); ok($version == $new_version, '$version == $new_version'); + skip 'qv_declare test failing in Perl < 5.8.8', 1 + if $] < 5.008_008; skip "version require'd instead of use'd, cannot test declare", 1 unless defined $qv_declare; $version = &$qv_declare(1.2.3);
Subject: Re: [rt.cpan.org #48268] Test failures in Fedora and RHEL Perl versions < 5.8.8
Date: Tue, 28 Jul 2009 22:36:34 -0400
To: bug-version [...] rt.cpan.org
From: John Peacock <john.peacock [...] havurah-software.org>
paul@city-fan.org via RT wrote: Show quoted text
> I'm getting test suite failures like this on all Fedora and Red Hat > Perls prior to Fedora 5 [perl 5.8.8] and RHEL 5 [perl 5.8.8] (i.e. > Fedora 4 [perl 5.8.6] and RHEL 4 [perl 5.8.5] and their predecessors all > fail):
That is because RedHat, in their infinite wisdom[1] have chosen to keep exactly the same files in their Perl bundle as when that originally shipped. The use_ok() sub from Test::More 0.47 has a bug with any release that prevents it from working correctly; it was fixed in 0.49. I'll release a new package on CPAN (and remember to update the README this time, too). John 1) I'm not at all bitter... :(
From: paul [...] city-fan.org
On Tue Jul 28 22:36:47 2009, john.peacock@havurah-software.org wrote: Show quoted text
> That is because RedHat, in their infinite wisdom[1] have chosen to keep > exactly the same files in their Perl bundle as when that originally > shipped. The use_ok() sub from Test::More 0.47 has a bug with any > release that prevents it from working correctly; it was fixed in 0.49. > > I'll release a new package on CPAN (and remember to update the README > this time, too).
Thanks, that's resolved it (and explained it too).
Resolved in 0.7701