[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#528235: dh_auto_configure: please add --skipdeps for perl packages with Module::Install


I'm not a Module::Install user so I'm not 100% sure, however, I think
that Module::Install will use the local installed version of the
module if it's a newer version than the one in inc/. If not, then it
seems like something it should do (so I'd recommend filing a bug
report on the RT).

If that is the case, then you will be able to just require the M::I
version or later in Build-Depends-Indep, unless that version or newer
is included in inc/.

The documentation itself (perldoc for M::I) seems to mention nothing
about this, however.

I think the philosophy of M::I is to allow the maintainer of the
upstream CPAN module to use new features in M::I (based on their
currently installed version) without regard for anything else, since
their version of M::I is automatically installed in inc/. However,
this means that we, downstream, can only use the version of M::I that
the author has installed on his/her machine -- that is, the version
they have bundled with the module.

So we can just require that the version (or later) be included; if
not, then use the libmodule-install-perl package?

Just a thought. I'm no expert on M::I.



On Mon, May 11, 2009 at 3:25 PM, gregor herrmann <gregoa@debian.org> wrote:
> On Mon, 11 May 2009 14:57:25 -0400, Joey Hess wrote:
>> > Module::Install has acquired the bad habit of loading CPAN.pm and
>> > trying to download all kind of stuff. Since 0.86 that behaviour can
>> > again be turned off by using
>> > perl Makefiel.PL --skipdeps
>> Do older versions of Module::Install ignore the --skipdeps option?
> AFAIK --skipdeps has existed in M::I for quite some time; it used to
> skip installing additional stuff and now also suppresses loading
> CPAN.pm.
> Cheers,
> gregor, cc'ing debian-perl@l.d.o in case someone has some further
>        knowledge
> --
>  .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
>  : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
>  `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
>   `-    NP: Pink Floyd: A New Machine (Part 2)
> Version: GnuPG v1.4.9 (GNU/Linux)
> iEYEARECAAYFAkoIe5IACgkQOzKYnQDzz+TG/wCePsSa1MmlP00hT/Q2vV5Kvcp5
> aeUAnjHJ+c4ujqxGhxuKlBP981f7VDAC
> =4Rj8

Reply to: