Skip Menu |
 

This queue is for tickets about the CPANPLUS-Dist-Build CPAN distribution.

Report information
The Basics
Id: 72043
Status: open
Priority: 0/
Queue: CPANPLUS-Dist-Build

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

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



CC: PHRED [...] cpan.org
Subject: Smoke results indicate insufficient installation of dependencies
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: 1054
http://analysis.cpantesters.org/reports_by_field?SUBMIT_xxx=Submit&distv=WebService-Yahoo-BOSS-0.06&field=qr%3A%28Can%27t+locate+\S%2Bpm%29&field=mod%3ACPANPLUS%3A%3ADist%3A%3ABuild&field=meta%3Afrom&field=meta%3Awriter&field=mod%3AAny%3A%3AMoose&field=qr%3A%28Can%27t+locate+\S%2Bpm%29&order=1ta This table shows 131 pass reports and 54 fail reports. 53 of the fail reports are by CPANPLUS and all of them fail with the same diagnostic: Can't locate Moose.pm. There is only one report by Steven Schubiger using CPAN-Reporter-1.2002 with this profile. The distro is not to blame, it has declared dependency on Any::Moose. I see nothing wrong in Any::Moose either. When I try to install PHRED/WebService-Yahoo-BOSS-0.06.tar.gz on a fresh perl with CPAN.pm it passes its test and I find Mouse installed afterwards. The Schubiger result might be an indicator that there is some bug elsewhere but statistical evidence strongly suggests that CPANPLUS or CPANPLUS::Dist::Build have the key knowledge how it comes to this buggy results. What do you think?
From chris [...] bingosnet.co.uk Sun Nov 6 14: 37:10 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.592 tagged_above=-99.9 required=10 tests=[AWL=0.308, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2603-1319958702-25.72043-4-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
References: <RT-Ticket-72043 [...] rt.cpan.org> <rt-3.8.HEAD-2603-1319958702-25.72043-4-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20111106193655.GA17969 [...] klanker.bingosnet.co.uk>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO"
X-Spam-Score: -6.592
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 03351240C6C for <cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com>; Sun, 6 Nov 2011 14:37:10 -0500 (EST)
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 gG1eoAnFqMM2 for <cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com>; Sun, 6 Nov 2011 14:37:07 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8E9A5240C6B for <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>; Sun, 6 Nov 2011 14:37:07 -0500 (EST)
Received: (qmail 30550 invoked by uid 103); 6 Nov 2011 19:37:06 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 6 Nov 2011 19:37:06 -0000
Received: from lon1-post-1.mail.demon.net (HELO lon1-post-1.mail.demon.net) (195.173.77.148) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sun, 06 Nov 2011 11:37:03 -0800
Received: from kidney-bingos.demon.co.uk ([62.49.18.107] helo=klanker.bingosnet.co.uk) by lon1-post-1.mail.demon.net with esmtp (Exim 4.69) id 1RN8WZ-0000nA-ZQ for bug-CPANPLUS-Dist-Build [...] rt.cpan.org; Sun, 06 Nov 2011 19:37:00 +0000
Received: from klanker.bingosnet.co.uk (IDENT:1000 [...] localhost [127.0.0.1]) by klanker.bingosnet.co.uk (8.12.4/8.12.4) with ESMTP id pA6JaumS018226 for <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>; Sun, 6 Nov 2011 19:36:56 GMT
Received: (from chris [...] localhost) by klanker.bingosnet.co.uk (8.12.4/8.12.4/Submit) id pA6Jausp018225 for bug-CPANPLUS-Dist-Build [...] rt.cpan.org; Sun, 6 Nov 2011 19:36:56 GMT
Delivered-To: cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72043] Smoke results indicate insufficient installation of dependencies
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <chris [...] bingosnet.co.uk>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com
X-RT-Mail-Extension: cpanplus-dist-build
Date: Sun, 6 Nov 2011 19:36:55 +0000
X-Spam-Level:
To: Andreas Koenig via RT <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
RT-Message-ID: <rt-3.8.HEAD-2597-1320608230-1616.72043-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 2152
Download (untitled) / with headers
text/plain 2.1k
On Sun, Oct 30, 2011 at 03:11:43AM -0400, Andreas Koenig via RT wrote: Show quoted text
> This table shows 131 pass reports and 54 fail reports. 53 of the fail > reports are by CPANPLUS and all of them fail with the same diagnostic: > Can't locate Moose.pm. There is only one report by Steven Schubiger > using CPAN-Reporter-1.2002 with this profile. > > The distro is not to blame, it has declared dependency on Any::Moose. I > see nothing wrong in Any::Moose either. When I try to install > PHRED/WebService-Yahoo-BOSS-0.06.tar.gz on a fresh perl with CPAN.pm it > passes its test and I find Mouse installed afterwards. > > The Schubiger result might be an indicator that there is some bug > elsewhere but statistical evidence strongly suggests that CPANPLUS or > CPANPLUS::Dist::Build have the key knowledge how it comes to this buggy > results. > > What do you think? >
Hi, Andreas, I have been Internet-less this past week on holiday so sorry for the delay in response. This is my theory of what is happening. CPANPLUS/CPANPLUS::YACSmoke use a similar mechanism to CPAN.pm's build_dir except that previously built build directories are prepended onto PERL5LIB as prereqs are resolved rather than pre-prepended up front. What I think happens is that during a particular smoke run, Any::Moose gets pulled in as prereq and Moose has already been pulled in, so Any::Moose's Makefile.PL says that it doesn't require any prereqs and any generated MYMETA.[json|yml]/Makefile (used for subsequent prereq resolution) will not have any mention of Mouse as a prereq. Next time during a smoke run that Any::Moose is pulled in as a prereq and Moose is *not* already pulled in as a prereq, Mouse will not be pulled in (as Any::Moose thought Moose was "installed" ). Mouse stopped being a hard dependency with version 0.16 of Any::Moose I note from it's Changes file ( and confirmed using the dist diff tool on metacpan ). Perhaps an explicit 'dynamic_config' => 1 should elicit rerunning of configure/prepare stage of the process (ie. rerun Makefile.PL/Build.PL). -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Content-Type: application/pgp-signature
Content-Length: 189
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2602-1320647005-1045.72043-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 552
Download (untitled) / with headers
text/plain 552b
But 'dynamic_config' => 1 must be the default for all toolchain implementors, or has this changed sometime? "If this field is omitted, it defaults to 1 (true)." is in the spec: http://module-build.sourceforge.net/META-spec-v1.4.html#dynamic_config Your theory sounds very plausible. In the meantime I have discovered more distributions being affected: Plack-Server-AnyEvent-Server-Starter-0.00002 WebService-Solr-0.16 AnyEvent-MPRPC-0.11 WWW-Wunderground-API-0.02 Dancer-Plugin-Bcrypt-0.4.0 Proc-Class-0.05 Net-GitHub-0.40_04 XML-Feed-Deduper-0.05
From chris [...] bingosnet.co.uk Mon Nov 7 10: 54:48 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.597 tagged_above=-99.9 required=10 tests=[AWL=0.303, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2602-1320647005-819.72043-5-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
References: <RT-Ticket-72043 [...] rt.cpan.org> <rt-3.8.HEAD-2602-1320647005-819.72043-5-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20111107155432.GA20196 [...] klanker.bingosnet.co.uk>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+"
X-Spam-Score: -6.597
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9AD21240C8B for <cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 10:54:48 -0500 (EST)
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 4oOTFQD+WXlc for <cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com>; Mon, 7 Nov 2011 10:54:43 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D92D7240BF1 for <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>; Mon, 7 Nov 2011 10:54:42 -0500 (EST)
Received: (qmail 31680 invoked by uid 103); 7 Nov 2011 15:54:42 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 7 Nov 2011 15:54:42 -0000
Received: from anchor-post-2.mail.demon.net (HELO anchor-post-2.mail.demon.net) (195.173.77.133) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Mon, 07 Nov 2011 07:54:36 -0800
Received: from kidney-bingos.demon.co.uk ([62.49.18.107] helo=klanker.bingosnet.co.uk) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1RNRWr-00003H-ki for bug-CPANPLUS-Dist-Build [...] rt.cpan.org; Mon, 07 Nov 2011 15:54:33 +0000
Received: from klanker.bingosnet.co.uk (IDENT:1000 [...] localhost [127.0.0.1]) by klanker.bingosnet.co.uk (8.12.4/8.12.4) with ESMTP id pA7FsWmS020256 for <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>; Mon, 7 Nov 2011 15:54:33 GMT
Received: (from chris [...] localhost) by klanker.bingosnet.co.uk (8.12.4/8.12.4/Submit) id pA7FsWjB020255 for bug-CPANPLUS-Dist-Build [...] rt.cpan.org; Mon, 7 Nov 2011 15:54:32 GMT
Delivered-To: cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72043] Smoke results indicate insufficient installation of dependencies
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <chris [...] bingosnet.co.uk>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+CPANPLUS-Dist-Build [...] hipster.bestpractical.com
X-RT-Mail-Extension: cpanplus-dist-build
Date: Mon, 7 Nov 2011 15:54:32 +0000
X-Spam-Level:
To: Andreas Koenig via RT <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
RT-Message-ID: <rt-3.8.HEAD-2597-1320681289-1496.72043-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 863
Download (untitled) / with headers
text/plain 863b
On Mon, Nov 07, 2011 at 01:23:26AM -0500, Andreas Koenig via RT wrote: Show quoted text
> Queue: CPANPLUS-Dist-Build > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72043 > > > But 'dynamic_config' => 1 must be the default for all toolchain > implementors, or has this changed sometime? > > "If this field is omitted, it defaults to 1 (true)." is in the spec: > http://module-build.sourceforge.net/META-spec-v1.4.html#dynamic_config > > Your theory sounds very plausible. In the meantime I have discovered > more distributions being affected: >
Actually the more I thought about it the more I thought that Any::Moose is doing this slightly wonky. I've cloned the any-moose repository and made a fix: https://github.com/sartak/any-moose/pull/2 Cheers, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Content-Type: application/pgp-signature
Content-Length: 189
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2600-1320681706-1844.72043-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 78
I applied Chris's change and released Any::Moose 0.18, for what it's worth. :)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2600-1320733129-1297.72043-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 143
Download (untitled) / with headers
text/plain 143b
Thanks to both of you for the quick workaround, but Chris, I would hope you stop caching MYMETA.{yml,json}, they are not supposed to be cached.


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.