Debian Bug report logs - #504318
Make /usr/bin/cpan install packages to satisfy dependencies

version graph

Package: perl; Maintainer for perl is Niko Tyni <ntyni@debian.org>; Source for perl is src:perl.

Reported by: Matt Kraai <kraai@ftbfs.org>

Date: Sun, 2 Nov 2008 19:18:01 UTC

Severity: wishlist

Found in version perl/5.10.0-16

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Brendan O'Dea <bod@debian.org>:
Bug#504318; Package perl. (Sun, 02 Nov 2008 19:18:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Kraai <kraai@ftbfs.org>:
New Bug report received and forwarded. Copy sent to Brendan O'Dea <bod@debian.org>. (Sun, 02 Nov 2008 19:18:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Matt Kraai <kraai@ftbfs.org>
To: submit@bugs.debian.org
Subject: Make /usr/bin/cpan install packages to satisfy dependencies
Date: Sun, 2 Nov 2008 11:14:13 -0800
Package: perl
Version: 5.10.0-16
Severity: wishlist

When I install a distribution using /usr/bin/cpan and the distribution
depends on modules that aren't installed, /usr/bin/cpan asks me
whether it's OK to install them and, if I assent, it does so.
Sometimes those modules have already been packaged for Debian, but I
haven't installed the package.  I wish it would offer to do so.

-- 
Matt                                                 http://ftbfs.org/




Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#504318; Package perl. (Wed, 01 Jun 2011 22:12:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dominic Hargreaves <dom@earth.li>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Wed, 01 Jun 2011 22:12:05 GMT) Full text and rfc822 format available.

Message #10 received at 504318@bugs.debian.org (full text, mbox):

From: Dominic Hargreaves <dom@earth.li>
To: Mark Glines <mark@glines.org>, 127581@bugs.debian.org
Cc: debian-perl@lists.debian.org, 504318@bugs.debian.org
Subject: Re: Bug#127581: CPAN.pm shell() debuild builtin command
Date: Wed, 1 Jun 2011 23:08:27 +0100
On Wed, Jan 02, 2002 at 10:08:33PM -0800, Mark Glines wrote:
> Due to the existence of very convenient debianisation commands
> such as dh-make-perl and debuild, making a debian package from a
> perlmodule has become stupefyingly easy nowadays.  However, it still
> requires you to "look Module::Name", and at the shell prompt run
> dh-make-perl and debuild.  The horror, the humanity.
> 
> I've added a "debuild" command to CPAN.pm, to further appease my
> increasingly lazy self.  If running dh-make-perl succeeds, it runs
> debuild.  If either fails, it should kick an appropriate warning.
> 
> It SHOULD check whether the devscripts and dh-make-perl packages are
> installed beforehand.  I don't know of a way to do this without
> running dpkg (and the processing overhead incurred from that), so
> that part is not yet implemented.  However, it works without it.
> Please find attached my patch - do you feel this is the Right Way
> to do this?

Thanks for your contribution, and I'm sorry that it's languished
with no reply for so long.

I haven't reviewed your patch, but the functionality you describe is
basically sound. However, it should be integrated with the functionality
requested in <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504318>,
because we should be preferring already-existing Perl packages (of which
there are many more now than in 2002) over building our own.

CCing to debian-perl in case anyone has any interest in working on 
this area, or indeed can tell me that there is a working version of
something similar somewhere that I don't know about.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 00:34:47 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.