pkgsrc-Users archive

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

Re: databases/p5-gdbm "Review"



2010/8/27 Thomas Klausner <wiz%netbsd.org@localhost>:
> On Thu, Aug 26, 2010 at 01:04:03PM +0200, Jens Rehsack wrote:
>> 2010/8/26 Stoned Elipot <stoned.elipot%gmail.com@localhost>:
>> > Are you sure you want to add
>> > PERL_MM_USE_DEFAULT=1 to lang/perl5/module.mk's MAKE_ENV ?
>>
>> I'm pretty sure - otherwise each prompt() in Makefile.PL or Build.PL will 
>> wait
>> until a user answers. This is a no-go for pkg_rr or other, non-bulk-build
>> updates.
>
> Well, this should be caught by the package updater, shouldn't it? And
> I don't remember that we had problems because of this before.

I had several problems with that on some perl packages, especially
while rebuilding all p5-* packages using pkg_rr. I run pkg_rr unattended
(probably pkg_rr should define sth. like "BATCH_MODE", and
PERL_MM_USE_DEFAULT should be set in BATCH_MODE only),
and had 3 or 4 packages where the Makefile.PL/Build.PL waits for user
input. So the pkg_rr runs the entire weekend instead of 18h.

> I fear that with this change, when a package update introduces a new
> dependency (not yet noted in pkgsrc) with this change the dependency
> might get autoinstalled from CPAN and an inattentive updater might
> overlook that.

This will not happen, thanks to faked home dir of pkgsrc. CPAN would
fail. I tried this before. But that's why I asked for feedback and I'm happy
to find a common solution.

/Jens


Home | Main Index | Thread Index | Old Index