Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 55326
Status: new
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: chris [...] bingosnet.co.uk
Cc:
AdminCc:

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



Subject: [jrcd83@gmail.com: Fwd: CPANPLUS's 'dist_type' Makefile "feature" causing problems]
Date: Mon, 8 Mar 2010 07:45:55 +0000
To: bug-cpanplus [...] rt.cpan.org
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
----- Forwarded message from Justin Davis <jrcd83@gmail.com> ----- From: Justin Davis <jrcd83@gmail.com> Subject: Fwd: CPANPLUS's 'dist_type' Makefile "feature" causing problems Date: Fri, 5 Mar 2010 08:26:06 -0800 To: chris@bingosnet.co.uk X-Mailer: Apple Mail (2.1077) X-Spam-Status: No, score=-2.3 required=8.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on nicsa1.iomart.com X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Mar 5 16:38:10 2010 X-DSPAM-Confidence: 0.9976 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4b913372121655073221311 I sent a message to the cpanplus-devel mailing list but have not received a response. I didn't want to bother you with a direct email but maybe you could help me? In summary the forwarded email basically says that having a 'dist_type' feature for generating CPANPLUS's Makefile is bad. The 'feature' adds the 'dist_type' as a prerequisite of CPANPLUS in CPP's Makefile. This is nonsense because the dist_type module depends on CPANPLUS, not the other way around. I also have two references to relevant CPANPLUS code snippets in my github repo's issue tracker: http://github.com/juster/perl-cpanplus-dist-arch/issues#issue/1 Could I submit a patch to remove this "feature"? Thanks, Justin Begin forwarded message: Show quoted text
> From: Justin Davis <jrcd83@gmail.com> > Date: February 23, 2010 10:49:28 PM PST > To: cpanplus-devel@lists.sourceforge.net > Subject: dist_type Makefile feature prerequisites causing problems > > Hello cpanplusers! > > I have created a CPANPLUS::Dist module called CPANPLUS::Dist::Arch. I use it to create packages for module on the fly. I found a problem. When I use C::D::A to create a package for CPANPLUS, it adds an extra dependency for CPANPLUS. The extra dependency is CPANPLUS::Dist::Arch! This is ironic because C::D::A depends on CPANPLUS! > > I have traced this to the "features" in the Makefile.PL. The Makefile.PL checks if the running CPANPLUS has a set "dist_type" in the configuration (like in CPANPLUS::Config). If there is a dist_type, it adds the value of dist_type (a module name) as a requirement of CPANPLUS. > > I am not entirely sure what the point is to have these "features". I think it's probably most useful for self-updating... having CPANPLUS install itself. Yet the dist_type feature does not make sense. What is the point of these features and in particular the "dist_type" feature? > > If the "dist_type" setting is on that means CPANPLUS is installing itself as a package. Does it make sense for the packaging CPANPLUS::Dist::Foo module to add itself as a dependency? Given that it is fairly certain that the CPANPLUS::Dist::Foo module depends on CPANPLUS. Strange. > > Please help me understand what the point of the 'dist_type' feature is. If there is no point I will gladly write a patch to remove it. > > Thanks, > Justin
Show quoted text
----- End forwarded message ----- -- 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.