Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 83042
Status: open
Priority: 0/
Queue: CPANPLUS

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

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



Subject: Circular dependency
When I look into the Makefile generated by 'perl Makefile.PL' of CPANPLUS-0.9134, then I find there: PREREQ_PM [...] CPANPLUS::Dist::Build=>q[0.60] And when I look into the Makefile of CPANPLUS-Dist-Build-0.70, then I find PREREQ_PM [...] CPANPLUS=>q[0.84] But do you not think that there are situations where this really is a circular dependency and should be avoided? I need to investigate why the cpan shell has difficulties to resolve the circular dependency when one of the dependencies is already fulfilled, will do so ASAP, but for now I'm curious what you think about it. Thanks,
Subject: Re: [rt.cpan.org #83042] Circular dependency
Date: Wed, 6 Feb 2013 09:47:01 +0000
To: Andreas Koenig via RT <bug-CPANPLUS [...] rt.cpan.org>
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
On Wed, Jan 30, 2013 at 03:15:11AM -0500, Andreas Koenig via RT wrote: Show quoted text
> Wed Jan 30 03:15:08 2013: Request 83042 was acted upon. > Transaction: Ticket created by ANDK > Queue: CPANPLUS > Subject: Circular dependency > Broken in: 0.9134 > Severity: Normal > Owner: Nobody > Requestors: ANDK@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83042 > > > > When I look into the Makefile generated by 'perl Makefile.PL' of > CPANPLUS-0.9134, then I find there: > > PREREQ_PM [...] CPANPLUS::Dist::Build=>q[0.60] > > And when I look into the Makefile of CPANPLUS-Dist-Build-0.70, then I find > > PREREQ_PM [...] CPANPLUS=>q[0.84] > > But do you not think that there are situations where this really is a > circular dependency and should be avoided? > > I need to investigate why the cpan shell has difficulties to resolve the > circular dependency when one of the dependencies is already fulfilled, > will do so ASAP, but for now I'm curious what you think about it. >
Hi, Yeah, CPANPLUS::Dist::Build only gets added as a prereq if it is already installed. But it was getting blindly added. https://github.com/jib/cpanplus-devel/commit/0ba41761a Should at least limit that. I don't think I will be able to get around to looking at this properly until v5.18.0 is out. Cheers, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #83042] Circular dependency
Date: Wed, 06 Feb 2013 21:09:27 +0100
To: bug-CPANPLUS [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
Show quoted text
> I don't think I will be able to get around to looking at this properly > until v5.18.0 is out.
No problem because meanwhile I've added an explicit protection to CPAN.pm for this case: https://metacpan.org/source/ANDK/CPAN-2.00-TRIAL/lib/CPAN/Distribution.pm#L2668 -- andreas