Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 57982
Status: open
Priority: 0/
Queue: CPAN

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

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



From sprout [...] cpan.org Sun May 30 21: 18:56 2010
MIME-Version: 1.0 (Apple Message framework v1076)
X-Spam-Status: No, score=-9.933 tagged_above=-99.9 required=10 tests=[AWL=0.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8] autolearn=ham
X-Mailer: Apple Mail (2.1076)
X-Spam-Flag: NO
Message-ID: <1829B3C3-BECA-45B7-85EB-4758DC939238 [...] cpan.org>
content-type: text/plain; charset="utf-8"; delsp="yes"; format="flowed"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -9.933
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2D7442407C6 for <cpan-bug+cpan [...] hipster.bestpractical.com>; Sun, 30 May 2010 21:18:56 -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 4+UVZVOJLI3k for <cpan-bug+cpan [...] hipster.bestpractical.com>; Sun, 30 May 2010 21:18:54 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 442A024072A for <bug-cpan [...] rt.cpan.org>; Sun, 30 May 2010 21:18:54 -0400 (EDT)
Received: (qmail 7507 invoked by uid 103); 31 May 2010 01:19:39 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 May 2010 01:19:39 -0000
Received: from director.trueband.net (HELO trueband.net) (216.163.120.8) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Sun, 30 May 2010 18:19:38 -0700
Received: (qmail 6893 invoked by uid 1006); 31 May 2010 01:19:35 -0000
Received: from sprout [...] cpan.org by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.2.5. Clear:SA:0(4.4/100.0):. Processed in 0.271638 secs); 31 May 2010 01:19:35 -0000
Received: from unknown (HELO trueband.net) (172.16.0.8) by director.trueband.net with SMTP; 31 May 2010 01:19:34 -0000
Received: (qmail 32767 invoked from network); 31 May 2010 01:19:34 -0000
Received: from unknown (HELO ?10.10.10.22?) (65.170.242.70) by -v with SMTP; 31 May 2010 01:19:34 -0000
Delivered-To: cpan-bug+cpan [...] hipster.bestpractical.com
Subject: Could prereqs be ignored if tests pass?
Return-Path: <sprout [...] cpan.org>
X-RT-Mail-Extension: cpan
X-Original-To: cpan-bug+cpan [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
X-Old-Spam-Status: No, hits=4.4 required=100.0
X-Old-Spam-Level: ****
Date: Sun, 30 May 2010 18:19:33 -0700
X-Spam-Level:
To: bug-CPAN [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Father Chrysostomos <sprout [...] cpan.org>
X-RT-Original-Encoding: windows-1252
Content-Length: 844
Download (untitled) / with headers
text/plain 844b
CPAN.pm 1.94_56 I tried installing 1.94_57. It says it requires File::HomeDir, but the latter’s tests failed. CPAN’s tests passed anyway, but it wouldn’t install (‘one dependency not OK’). This causes problems for a plan I had for the next version of one of my modules: It requires that one of two modules be installed, but it doesn’t matter which. One of them is preferable to the other, but is harder to install (more likely to fail). So I was hoping to list both under the prerequisites and have it just work. But now I know that CPAN.pm won’t install it? Is it possible to make CPAN.pm ignore the prerequisites if the tests pass? Or is there another solution to this case. (FYI, the two modules are JE and JavaScript. The module that will rely on one or the other is WWW::Scripter::Plugin::JavaScript.)
MIME-Version: 1.0
In-Reply-To: <1829B3C3-BECA-45B7-85EB-4758DC939238 [...] cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <1829B3C3-BECA-45B7-85EB-4758DC939238 [...] cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-10886-1275280393-730.57982-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 624
Download (untitled) / with headers
text/plain 624b
If the user says Show quoted text
cpan> force install ...
then all test results are ignored and installation happens (if possible). This is intended for the case when the user knows that he really wants that so may well work in your case when you 'force install CPAN'. But it is not something to recommend to the enduser because it kind of voids the warranty. For the other case with a set of substitutable dependencies I would check in the Makefile.PL which of them are installed and nominate one of the installed as dependency. If none is installed nominate the easiest one and document that the others are alternatives. Works fur you?
From sprout [...] cpan.org Mon May 31 01: 00:14 2010
MIME-Version: 1.0 (Apple Message framework v1076)
X-Spam-Status: No, score=-10.099 tagged_above=-99.9 required=10 tests=[AWL=0.500, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-10886-1275280394-763.57982-6-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1076)
X-Spam-Flag: NO
References: <RT-Ticket-57982 [...] rt.cpan.org> <1829B3C3-BECA-45B7-85EB-4758DC939238 [...] cpan.org> <rt-3.8.HEAD-10886-1275280394-763.57982-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <AA021CB0-25BE-4F41-B7E4-2F09D8FA026C [...] cpan.org>
Content-Type: text/plain; charset="utf-8"; delsp="yes"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -10.099
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 8F67E2407C8 for <cpan-bug+cpan [...] hipster.bestpractical.com>; Mon, 31 May 2010 01:00:14 -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 AjUx5HKPTy53 for <cpan-bug+cpan [...] hipster.bestpractical.com>; Mon, 31 May 2010 01:00:11 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5787F24075D for <bug-cpan [...] rt.cpan.org>; Mon, 31 May 2010 01:00:11 -0400 (EDT)
Received: (qmail 2633 invoked by uid 103); 31 May 2010 05:00:57 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 May 2010 05:00:57 -0000
Received: from director.trueband.net (HELO trueband.net) (216.163.120.8) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Sun, 30 May 2010 22:00:55 -0700
Received: (qmail 16521 invoked by uid 1006); 31 May 2010 05:00:52 -0000
Received: from sprout [...] cpan.org by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.2.5. Clear:SA:0(4.4/100.0):. Processed in 0.662981 secs); 31 May 2010 05:00:52 -0000
Received: from unknown (HELO trueband.net) (172.16.0.16) by director.trueband.net with SMTP; 31 May 2010 05:00:51 -0000
Received: (qmail 17107 invoked from network); 31 May 2010 05:00:51 -0000
Received: from unknown (HELO ?10.10.10.22?) (65.170.242.70) by -v with SMTP; 31 May 2010 05:00:51 -0000
Delivered-To: cpan-bug+cpan [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #57982] Could prereqs be ignored if tests pass?
Return-Path: <sprout [...] cpan.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+cpan [...] hipster.bestpractical.com
X-RT-Mail-Extension: cpan
X-Old-Spam-Status: No, hits=4.4 required=100.0
Date: Sun, 30 May 2010 22:00:50 -0700
X-Old-Spam-Level: ****
X-Spam-Level:
To: bug-CPAN [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Father Chrysostomos <sprout [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-10886-1275282061-434.57982-0-0 [...] rt.cpan.org>
Content-Length: 908
Download (untitled) / with headers
text/plain 908b
Thank you for your helpful answer. But I was hoping it could be made more automatic than documenting the alternatives.... On May 30, 2010, at 9:33 PM, Andreas Koenig via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=57982 > > > If the user says >
> cpan> force install ...
> > then all test results are ignored and installation happens (if > possible). This is intended for the case when the user knows that he > really wants that so may well work in your case when you 'force > install > CPAN'. But it is not something to recommend to the enduser because it > kind of voids the warranty. > > For the other case with a set of substitutable dependencies I would > check in the Makefile.PL which of them are installed and nominate > one of > the installed as dependency. If none is installed nominate the easiest > one and document that the others are alternatives. > > Works fur you?


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.