Skip Menu |
 

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 62042
Status: resolved
Priority: 0/
Queue: Devel-Declare

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 Mon Oct 11 01: 08:54 2010
MIME-Version: 1.0 (Apple Message framework v1081)
X-Spam-Status: No, score=-7.893 tagged_above=-99.9 required=10 tests=[AWL=-0.993, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=unavailable
X-Mailer: Apple Mail (2.1081)
X-Spam-Flag: NO
Message-ID: <3F69FF84-5337-49AA-9C77-42437E178895 [...] cpan.org>
content-type: text/plain; charset="utf-8"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -7.893
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 60ABE240E18 for <cpan-bug+devel-declare [...] hipster.bestpractical.com>; Mon, 11 Oct 2010 01:08: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 OMj-ML2NnsAD for <cpan-bug+devel-declare [...] hipster.bestpractical.com>; Mon, 11 Oct 2010 01:08:51 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4056C240E14 for <bug-devel-declare [...] rt.cpan.org>; Mon, 11 Oct 2010 01:08:51 -0400 (EDT)
Received: (qmail 2498 invoked by uid 103); 11 Oct 2010 05:08:51 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Oct 2010 05:08:51 -0000
Received: from director.trueband.net (HELO trueband.net) (216.163.120.8) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Sun, 10 Oct 2010 22:08:50 -0700
Received: (qmail 9782 invoked by uid 1006); 11 Oct 2010 05:08:47 -0000
Received: from sprout [...] cpan.org by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.2.5. Clear:SA:0(2.3/100.0):. Processed in 0.316349 secs); 11 Oct 2010 05:08:47 -0000
Received: from unknown (HELO trueband.net) (172.16.0.21) by director.trueband.net with SMTP; 11 Oct 2010 05:08:46 -0000
Received: (qmail 29189 invoked from network); 11 Oct 2010 05:08:46 -0000
Received: from unknown (HELO ?10.10.10.22?) (65.170.242.70) by -v with SMTP; 11 Oct 2010 05:08:46 -0000
Delivered-To: cpan-bug+devel-declare [...] hipster.bestpractical.com
Subject: Installation problems caused by configure_requires
Return-Path: <sprout [...] cpan.org>
X-RT-Mail-Extension: devel-declare
X-Original-To: cpan-bug+devel-declare [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
X-Old-Spam-Status: No, hits=2.3 required=100.0
X-Old-Spam-Level: **
Date: Sun, 10 Oct 2010 22:08:44 -0700
X-Spam-Level:
To: Florian Ragwitz <rafl [...] debian.org>, bug-B-Hooks-Parser [...] rt.cpan.org, bug-Devel-Declare [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Father Chrysostomos <sprout [...] cpan.org>
X-RT-Original-Encoding: us-ascii
Content-Length: 365
Download (untitled) / with headers
text/plain 365b
Both B::Hooks::Parser and Devel::Declare have installation problems on a brand new perl 5.10.1 installation (or any earlier version), because the CPAN.pm included does not properly support configure_requires. It requires YAML to be installed first. I wrote Module::ConfigureRequires to work around this problem. Could you consider using it for those two modules?
From rafl [...] debian.org Mon Oct 11 01: 30:03 2010
CC: sprout [...] cpan.org
MIME-Version: 1.0
X-Spam-Status: No, score=-6.365 tagged_above=-99.9 required=10 tests=[AWL=0.535, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-29971-1286773736-548.62042-4-0 [...] rt.cpan.org> (Father Chrysostomos via's message of "Mon, 11 Oct 2010 01:08:56 -0400")
X-Spam_score: -3.9
X-Spam-Flag: NO
References: <RT-Ticket-62042 [...] rt.cpan.org> <3F69FF84-5337-49AA-9C77-42437E178895 [...] cpan.org> <rt-3.8.HEAD-29971-1286773736-548.62042-4-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Spam_bar: ---
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <87lj65i9gq.fsf [...] tardis.home.perldition.org>
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature"
X-Spam-Score: -6.365
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1554D240E14 for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Mon, 11 Oct 2010 01:30:03 -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 3fc-mJTPfkFj for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Mon, 11 Oct 2010 01:30:00 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 33496240E18 for <bug-Devel-Declare [...] rt.cpan.org>; Mon, 11 Oct 2010 01:30:00 -0400 (EDT)
Received: (qmail 3919 invoked by uid 103); 11 Oct 2010 05:30:00 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Oct 2010 05:30:00 -0000
Received: from kief.perldition.org (HELO kief.perldition.org) (78.47.20.161) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Sun, 10 Oct 2010 22:29:58 -0700
Received: from p4fd77d92.dip.t-dialin.net ([79.215.125.146] helo=tardis.home.perldition.org) by kief.perldition.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <rafl [...] debian.org>) id 1P5AxN-0006PE-8z; Mon, 11 Oct 2010 07:29:54 +0200
Received: from rafl by tardis.home.perldition.org with local (Exim 4.72) (envelope-from <rafl [...] debian.org>) id 1P5AwS-0002Hs-4p; Mon, 11 Oct 2010 07:28:56 +0200
Delivered-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-Spam_score_int: -38
Subject: Re: [rt.cpan.org #62042] Installation problems caused by configure_requires
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
Return-Path: <rafl [...] debian.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-declare
Date: Mon, 11 Oct 2010 07:28:53 +0200
X-Spam-Level:
X-Spam_report: Spam detection software, running on the system "kief.perldition.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: "Father Chrysostomos via RT" <bug-Devel-Declare [...] rt.cpan.org> writes: > Both B::Hooks::Parser and Devel::Declare have installation problems on > a brand new perl 5.10.1 installation (or any earlier version), because > the CPAN.pm included does not properly support configure_requires. It > requires YAML to be installed first. > > I wrote Module::ConfigureRequires to work around this problem. Could > you consider using it for those two modules? [...] Content analysis details: (-3.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.5 AWL AWL: From: address is in the auto white-list
To: bug-Devel-Declare [...] rt.cpan.org
From: Florian Ragwitz <rafl [...] debian.org>
RT-Message-ID: <rt-3.8.HEAD-29962-1286775005-1647.62042-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 1305
Download (untitled) / with headers
text/plain 1.2k
"Father Chrysostomos via RT" <bug-Devel-Declare@rt.cpan.org> writes: Show quoted text
> Both B::Hooks::Parser and Devel::Declare have installation problems on > a brand new perl 5.10.1 installation (or any earlier version), because > the CPAN.pm included does not properly support configure_requires. It > requires YAML to be installed first. > > I wrote Module::ConfigureRequires to work around this problem. Could > you consider using it for those two modules?
I'm not particularly keen on having to load all configure requires conditionally, and handle their absence specially, especially if a working tool-chain is just a 'cpan -i CPAN' away. However I'm willing to accept patches if you think it'll actually help anyone. Also note that configure_requires is used in at least one of Devel-Declare's dependencies, B-Hooks-OP-Check, as well, so changes to that distribution will be needed as well for this to actually work. I also have a couple of dozen other distributions using configure_requires. Some of them, I believe, are using their configure_requires to determine what their actual dependencies are. Module::ConfigureRequires can't handle that, can it? (not to mention the tedious work that'd be involved in making them all use it, and convincing the authors of the of their dependants to use it as well)
Content-Type: application/pgp-signature
Content-Length: 197
Download (untitled)
application/pgp-signature 197b

Message body not shown because it is not plain text.

From sprout [...] cpan.org Sun Oct 17 15: 59:50 2010
CC: bug-Devel-Declare [...] rt.cpan.org
MIME-Version: 1.0 (Apple Message framework v1081)
X-Spam-Status: No, score=-7.774 tagged_above=-99.9 required=10 tests=[AWL=-0.874, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <87lj65i9gq.fsf [...] tardis.home.perldition.org>
X-Mailer: Apple Mail (2.1081)
X-Spam-Flag: NO
References: <RT-Ticket-62042 [...] rt.cpan.org> <3F69FF84-5337-49AA-9C77-42437E178895 [...] cpan.org> <rt-3.8.HEAD-29971-1286773736-548.62042-4-0 [...] rt.cpan.org> <87lj65i9gq.fsf [...] tardis.home.perldition.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <FED3EDFB-9A5A-4380-9E68-AB3BE912DA0A [...] cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -7.774
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2C55A240EAA for <cpan-bug+devel-declare [...] hipster.bestpractical.com>; Sun, 17 Oct 2010 15:59:50 -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 vck31HOUsf4b for <cpan-bug+devel-declare [...] hipster.bestpractical.com>; Sun, 17 Oct 2010 15:59:47 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9F30A240E99 for <bug-devel-declare [...] rt.cpan.org>; Sun, 17 Oct 2010 15:59:47 -0400 (EDT)
Received: (qmail 28417 invoked by uid 103); 17 Oct 2010 19:59:47 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 17 Oct 2010 19:59:47 -0000
Received: from director.trueband.net (HELO trueband.net) (216.163.120.8) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Sun, 17 Oct 2010 12:59:44 -0700
Received: (qmail 9728 invoked by uid 1006); 17 Oct 2010 19:59:41 -0000
Received: from sprout [...] cpan.org by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.2.5. Clear:SA:0(2.3/100.0):. Processed in 0.227358 secs); 17 Oct 2010 19:59:41 -0000
Received: from unknown (HELO trueband.net) (172.16.0.4) by director.trueband.net with SMTP; 17 Oct 2010 19:59:41 -0000
Received: (qmail 24753 invoked from network); 17 Oct 2010 19:59:40 -0000
Received: from unknown (HELO ?10.10.10.22?) (65.170.242.70) by -v with SMTP; 17 Oct 2010 19:59:40 -0000
Delivered-To: cpan-bug+devel-declare [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #62042] Installation problems caused by configure_requires
Return-Path: <sprout [...] cpan.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+devel-declare [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-declare
X-Old-Spam-Status: No, hits=2.3 required=100.0
Date: Sun, 17 Oct 2010 12:59:39 -0700
X-Old-Spam-Level: **
X-Spam-Level:
To: Florian Ragwitz <rafl [...] debian.org>
Content-Transfer-Encoding: quoted-printable
From: Father Chrysostomos <sprout [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-2356-1287345591-571.62042-0-0 [...] rt.cpan.org>
Content-Length: 2034
Download (untitled) / with headers
text/plain 1.9k
On Oct 10, 2010, at 10:28 PM, Florian Ragwitz wrote: Show quoted text
> "Father Chrysostomos via RT" <bug-Devel-Declare@rt.cpan.org> writes: >
>> Both B::Hooks::Parser and Devel::Declare have installation problems on >> a brand new perl 5.10.1 installation (or any earlier version), because >> the CPAN.pm included does not properly support configure_requires. It >> requires YAML to be installed first. >> >> I wrote Module::ConfigureRequires to work around this problem. Could >> you consider using it for those two modules?
> > I'm not particularly keen on having to load all configure requires > conditionally, and handle their absence specially, especially if a > working tool-chain is just a 'cpan -i CPAN' away.
It’s actually more like ‘cpan -i ANDK/CPAN-1.94_56.tar.gz’. Show quoted text
> However I'm willing to > accept patches if you think it'll actually help anyone.
I do. I’ll try to prepare a few, if I have time. Show quoted text
> Also note that configure_requires is used in at least one of > Devel-Declare's dependencies, B-Hooks-OP-Check, as well, so changes to > that distribution will be needed as well for this to actually work.
I was actually thinking of using B::Hooks::OP::Check for Classic::Perl, but I decided against it, as I want it to be easy for people to put ‘use Classic::Perl;’ at the top of their scripts *before* upgrading perl, to make the transition easier (Classic::Perl’s raison d’être). Show quoted text
> I also have a couple of dozen other distributions using > configure_requires. Some of them, I believe, are using their > configure_requires to determine what their actual dependencies > are. Module::ConfigureRequires can't handle that, can it?
No. That’s a hard one to solve. In cases like that, I simply bundle up the dependencies. Show quoted text
> (not to > mention the tedious work that'd be involved in making them all use it, > and convincing the authors of the of their dependants to use it as well)
I should have noticed this sooner before the trend started. :-( I was hoping eventually to get all these modules switched over.
From sprout [...] cpan.org Sun Oct 17 20: 22:11 2010
CC: bug-Devel-Declare [...] rt.cpan.org
MIME-Version: 1.0 (Apple Message framework v1081)
X-Spam-Status: No, score=-7.723 tagged_above=-99.9 required=10 tests=[AWL=-0.823, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <87lj65i9gq.fsf [...] tardis.home.perldition.org>
X-Mailer: Apple Mail (2.1081)
X-Spam-Flag: NO
References: <RT-Ticket-62042 [...] rt.cpan.org> <3F69FF84-5337-49AA-9C77-42437E178895 [...] cpan.org> <rt-3.8.HEAD-29971-1286773736-548.62042-4-0 [...] rt.cpan.org> <87lj65i9gq.fsf [...] tardis.home.perldition.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <6F9DF0F1-8F7E-477B-9C69-9027C2A41250 [...] cpan.org>
Content-Type: multipart/mixed; boundary=Apple-Mail-2--183528321
X-Spam-Score: -7.723
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2E403240E8B for <cpan-bug+devel-declare [...] hipster.bestpractical.com>; Sun, 17 Oct 2010 20:22:11 -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 Ol4HHPng-0uU for <cpan-bug+devel-declare [...] hipster.bestpractical.com>; Sun, 17 Oct 2010 20:22:08 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 7E7E7240E40 for <bug-devel-declare [...] rt.cpan.org>; Sun, 17 Oct 2010 20:22:07 -0400 (EDT)
Received: (qmail 20895 invoked by uid 103); 18 Oct 2010 00:22:07 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Oct 2010 00:22:07 -0000
Received: from director.trueband.net (HELO trueband.net) (216.163.120.8) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Sun, 17 Oct 2010 17:22:04 -0700
Received: (qmail 32421 invoked by uid 1006); 18 Oct 2010 00:22:00 -0000
Received: from sprout [...] cpan.org by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.2.5. Clear:SA:0(2.3/100.0):. Processed in 1.72406 secs); 18 Oct 2010 00:22:00 -0000
Received: from unknown (HELO trueband.net) (172.16.0.16) by director.trueband.net with SMTP; 18 Oct 2010 00:21:58 -0000
Received: (qmail 17455 invoked from network); 18 Oct 2010 00:21:58 -0000
Received: from unknown (HELO ?10.10.10.22?) (65.170.242.70) by -v with SMTP; 18 Oct 2010 00:21:58 -0000
Delivered-To: cpan-bug+devel-declare [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #62042] Installation problems caused by configure_requires
Return-Path: <sprout [...] cpan.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+devel-declare [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-declare
X-Old-Spam-Status: No, hits=2.3 required=100.0
Date: Sun, 17 Oct 2010 17:21:56 -0700
X-Old-Spam-Level: **
X-Spam-Level:
To: Florian Ragwitz <rafl [...] debian.org>
From: Father Chrysostomos <sprout [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-2358-1287361332-1642.62042-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 813
Download (untitled) / with headers
text/plain 813b
On Oct 10, 2010, at 10:28 PM, Florian Ragwitz wrote: Show quoted text
> "Father Chrysostomos via RT" <bug-Devel-Declare@rt.cpan.org> writes: >
>> Both B::Hooks::Parser and Devel::Declare have installation problems on >> a brand new perl 5.10.1 installation (or any earlier version), because >> the CPAN.pm included does not properly support configure_requires. It >> requires YAML to be installed first. >> >> I wrote Module::ConfigureRequires to work around this problem. Could >> you consider using it for those two modules?
> > I'm not particularly keen on having to load all configure requires > conditionally, and handle their absence specially, especially if a > working tool-chain is just a 'cpan -i CPAN' away. However I'm willing to > accept patches if you think it'll actually help anyone.
Here are some patches.
content-type: text/plain; name="mcr for ddeclare.text"
content-disposition: attachment; filename="mcr for ddeclare.text"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 4820

Message body is not shown because sender requested not to inline it.

content-type: text/plain; name="mcr for opcheck.text"
content-disposition: attachment; filename="mcr for opcheck.text"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 4924

Message body is not shown because sender requested not to inline it.

content-type: text/plain; name="mcr for parser.text"
content-disposition: attachment; filename="mcr for parser.text"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 5253

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
In-Reply-To: <3F69FF84-5337-49AA-9C77-42437E178895 [...] cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <3F69FF84-5337-49AA-9C77-42437E178895 [...] cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20564-1315763403-944.62042-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 102
Download (untitled) / with headers
text/plain 102b
The toolchain has got better at configure_requires. I don't think there's any need to work around it.


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.