Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 62755
Status: rejected
Priority: 0/
Queue: Moose

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

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



Subject: cruft from old versions (Moose::Meta::Attribute::Native::MethodProvider::Array)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 806
Download (untitled) / with headers
text/plain 806b
I'm not sure how important this is... maybe unimportant. I'm also not sure it's a bug with Moose but not sure. I have a script that upgrades all CPAN libraries on the system. This is periodically necessary in CentOS-- when they upgrade the perl 5.8.8 binary it seems like linkings change and some XS stuff breaks, and I like to keep up to date. But when the script finds Moose::Meta::Attribute::Native::MethodProvider::Array and tries to upgrade it, it tries to install Moose 1.14, since that package is no longer a part of Moose. Should the installer look for cruft from old versions? Should CPAN? Maybe this is a deficiency of CPAN. If I were in debian I would use dh-make-perl and keep them packaged for apt-get, but I'm not sure how to do that easily with yum without a lot of headache. Mark
From autarch [...] urth.org Fri Nov 5 21: 52:23 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-7.797 tagged_above=-99.9 required=10 tests=[AWL=-0.908, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001, T_FRT_ABSOLUT=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2360-1289007813-814.62755-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-62755 [...] rt.cpan.org> <rt-3.8.HEAD-2360-1289007813-814.62755-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <alpine.DEB.2.00.1011052050380.17737 [...] urth.org>
Content-Type: TEXT/PLAIN; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -7.797
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9D509240FF9 for <cpan-bug+Moose [...] hipster.bestpractical.com>; Fri, 5 Nov 2010 21:52:23 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id df5PbTtibedj for <cpan-bug+Moose [...] hipster.bestpractical.com>; Fri, 5 Nov 2010 21:52:21 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A22DD240FB4 for <bug-Moose [...] rt.cpan.org>; Fri, 5 Nov 2010 21:52:21 -0400 (EDT)
Received: (qmail 2150 invoked by uid 103); 6 Nov 2010 01:52:30 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 6 Nov 2010 01:52:30 -0000
Received: from urth.org (HELO urth.org) (173.11.48.50) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Fri, 05 Nov 2010 18:52:28 -0700
Received: by urth.org (Postfix, from userid 1000) id 0BC051715C5; Fri, 5 Nov 2010 20:52:25 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1]) by urth.org (Postfix) with ESMTP id C44141715C4 for <bug-Moose [...] rt.cpan.org>; Fri, 5 Nov 2010 20:52:25 -0500 (CDT)
Delivered-To: cpan-bug+Moose [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #62755] cruft from old versions (Moose::Meta::Attribute::Native::MethodProvider::Array)
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
Return-Path: <autarch [...] urth.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Moose [...] hipster.bestpractical.com
X-RT-Mail-Extension: moose
Date: Fri, 5 Nov 2010 20:52:25 -0500 (CDT)
X-Spam-Level:
To: Mark Hedges via RT <bug-Moose [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
RT-Message-ID: <rt-3.8.HEAD-2356-1289008354-1491.62755-0-0 [...] rt.cpan.org>
Content-Length: 1240
Download (untitled) / with headers
text/plain 1.2k
On Fri, 5 Nov 2010, Mark Hedges via RT wrote: Show quoted text
> Moose::Meta::Attribute::Native::MethodProvider::Array and tries to > upgrade it, it tries to install Moose 1.14, since that package is no > longer a part of Moose. Should the installer look for cruft from old > versions? Should CPAN? Maybe this is a deficiency of CPAN. If I were > in debian I would use dh-make-perl and keep them packaged for apt-get, > but I'm not sure how to do that easily with yum without a lot of headache.
This definitely isn't a bug in Moose itself. The package and corresponding .pm file are no longer part of the distro. The CPAN toolchain really doesn't handle this well, because it's not a proper package manager, so upgrading to a new Moose version doesn't remove no-longer-relevant files. Patches to CPAN.pm may or may not be welcome ;) I suppose we could add a bunch of empty .pm files, but I'm not really too keen on adding tons of cruft to our distro just cause the toolchain is suboptimal. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2356-1289008354-1491.62755-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-62755 [...] rt.cpan.org> <rt-3.8.HEAD-2360-1289007813-814.62755-4-0 [...] rt.cpan.org> <alpine.DEB.2.00.1011052050380.17737 [...] urth.org> <rt-3.8.HEAD-2356-1289008354-1491.62755-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2363-1289010888-82.62755-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 282
Download (untitled) / with headers
text/plain 282b
They probably would say it is up to the package to do what it needs to do. Could the build script use Module::InstalledVersion to cycle through a list of modules that are no longer part of the distro but once were, and offer to remove them from the filesystem if present? --mark--
From autarch [...] urth.org Fri Nov 5 22: 37:54 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-7.78 tagged_above=-99.9 required=10 tests=[AWL=-0.891, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001, T_FRT_ABSOLUT=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2363-1289010888-1954.62755-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-62755 [...] rt.cpan.org> <rt-3.8.HEAD-2360-1289007813-814.62755-4-0 [...] rt.cpan.org> <alpine.DEB.2.00.1011052050380.17737 [...] urth.org> <rt-3.8.HEAD-2356-1289008354-1491.62755-5-0 [...] rt.cpan.org> <rt-3.8.HEAD-2363-1289010888-1954.62755-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <alpine.DEB.2.00.1011052136550.17737 [...] urth.org>
Content-Type: TEXT/PLAIN; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -7.78
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B32D5240FFC for <cpan-bug+Moose [...] hipster.bestpractical.com>; Fri, 5 Nov 2010 22:37:54 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h9oHsMEiMbWa for <cpan-bug+Moose [...] hipster.bestpractical.com>; Fri, 5 Nov 2010 22:37:52 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 78CCE240FB4 for <bug-Moose [...] rt.cpan.org>; Fri, 5 Nov 2010 22:37:52 -0400 (EDT)
Received: (qmail 7824 invoked by uid 103); 6 Nov 2010 02:38:01 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 6 Nov 2010 02:38:01 -0000
Received: from urth.org (HELO urth.org) (173.11.48.50) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Fri, 05 Nov 2010 19:37:59 -0700
Received: by urth.org (Postfix, from userid 1000) id 812BB1715C5; Fri, 5 Nov 2010 21:37:56 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1]) by urth.org (Postfix) with ESMTP id 705261715C4 for <bug-Moose [...] rt.cpan.org>; Fri, 5 Nov 2010 21:37:56 -0500 (CDT)
Delivered-To: cpan-bug+Moose [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #62755] cruft from old versions (Moose::Meta::Attribute::Native::MethodProvider::Array)
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
Return-Path: <autarch [...] urth.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Moose [...] hipster.bestpractical.com
X-RT-Mail-Extension: moose
Date: Fri, 5 Nov 2010 21:37:56 -0500 (CDT)
X-Spam-Level:
To: Mark Hedges via RT <bug-Moose [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
RT-Message-ID: <rt-3.8.HEAD-2357-1289011085-948.62755-0-0 [...] rt.cpan.org>
Content-Length: 792
Download (untitled) / with headers
text/plain 792b
On Fri, 5 Nov 2010, Mark Hedges via RT wrote: Show quoted text
> They probably would say it is up to the package to do what it needs to do. > > Could the build script use Module::InstalledVersion to cycle through a > list of modules that are no longer part of the distro but once were, and > offer to remove them from the filesystem if present?
This really isn't the forum for discussing this. I'm going to close this bug report. I'd suggest checking out the #toolchain channel on irc.perl.org. People there are likely to be interested in this topic. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.