Skip Menu |

This queue is for tickets about the version CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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

Attachments


Subject: Shadowed By the Core Version
Dear John Peacock, Hi. This is imacat from Taiwan. I found that your version-0.7702 was shadowed from the core version 0.77 supplied by Perl 5.10.1 when installed with Module::Build. As a result, the installation of version 0.7702 is unusable. imacat@rinse perl/5.10.1 % find -name version.pm ./lib/5.10.1/version.pm ./lib/site_perl/5.10.1/x86_64-linux-thread-multi-ld/version.pm imacat@rinse perl/5.10.1 % grep '$VERSION = ' ./lib/5.10.1/version.pm ./lib/site_perl/5.10.1/x86_64-linux-thread-multi-ld/version.pm ./lib/5.10.1/version.pm:$VERSION = 0.77; ./lib/site_perl/5.10.1/x86_64-linux-thread-multi-ld/version.pm:$VERSION = '0.7702'; ./lib/site_perl/5.10.1/x86_64-linux-thread-multi-ld/version.pm:$VERSION = eval $VERSION; imacat@rinse perl/5.10.1 % ./bin/perl -mversion -e'print $version::VERSION;'; echo 0.77 imacat@rinse perl/5.10.1 % I tried to make a simple patch in the hope that it helps. Please tell me if you need any more information, or if I could be of any help.
Subject: version-0.7702-installdirs.diff.asc
Download version-0.7702-installdirs.diff.asc
application/octet-stream 644b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #49667] Shadowed By the Core Version
Date: Sun, 13 Sep 2009 06:58:58 -0400
To: bug-version [...] rt.cpan.org
From: John Peacock <john.peacock [...] havurah-software.org>
Yi Ma Mao via RT wrote: Show quoted text
> Hi. This is imacat from Taiwan. I found that your version-0.7702 > was shadowed from the core version 0.77 supplied by Perl 5.10.1 when > installed with Module::Build. As a result, the installation of version > 0.7702 is unusable.
Both 0.7701 and 0.7702 are not releases that have any bearing on 0.77, which was included in 5.10.1 (from the README): Show quoted text
> Major Changes in 0.7702 - 2009-09-07 > ===================================== > Add additional contraints to the code which tries to guess whether something > is a v-string or not for Perl 5.6.0 through 5.8.0 (inclusive). Resolves: > > https://rt.cpan.org/Ticket/Display.html?id=49348 > > Major Changes in 0.7701 - 2009-07-28 > ===================================== > Special RHEL4.x/Fedora4.x Are Too Stupid to Live Release. Those distros > have never updated beyond Perl 5.8.5/5.8.6 respectively. Consequently, > they contain a complete broken Test::More::use_ok which doesn't load the > package into the correct namespace: > > https://rt.cpan.org/Ticket/Display.html?id=48268 > > thus causing mysterious test failures. No version.pm code was changed at > all. :(
Just because an upgrade was released on CPAN doesn't mean it has to be installed everywhere; that's why I write the README file. I suppose now I should release 0.7703 and tweak the Makefile.PL and Build.PL to refuse to install it on Perl 5.10.1, just for the people who don't bother to read the module documentation before installing. But frankly, I don't have the time and I really don't care enough. John
On 2009-09-13 06:59:44 Sun, john.peacock@havurah-software.org wrote, Show quoted text
> Yi Ma Mao via RT wrote: > Just because an upgrade was released on CPAN doesn't mean it has to be > installed > everywhere; that's why I write the README file. I suppose now I > should release > 0.7703 and tweak the Makefile.PL and Build.PL to refuse to install it > on Perl > 5.10.1, just for the people who don't bother to read the module > documentation > before installing. But frankly, I don't have the time and I really > don't care > enough.
Yes, I did not read the README. I installed version 0.7702 via another meta command: the CPAN shell "upgrade" command, in order to keep the system current: http://search.cpan.org/dist/CPAN/lib/CPAN.pm#upgrade_[Module|/Regex/]... It's not possible for me to read the README of all 287 modules in my Perl installation when running schedule upgrades. I believe that's how most system administrators do: They upgrade their packages with package managers without reading the README of everything. For this reason, I suppose modules should be friendly to automatic installation and maintenance procedures like the CPAN or CPANPLUS shells. By the way, I suppose 0.77_02 should be used instead of 0.7702 if you are distributing some versions that are not for the public, in order for the CPAN and CPANPLUS shell to skip them. Though I suppose you already know that.
Resolved by 0.78