[Mageia-dev] [soft-commits] [6562] Allow setting some env variables to define and default to setting PERL_EXTUTILS_AUTOINSTALL and PERL_AUTOINSTALL to --skipdeps
Olivier Blin
mageia at blino.org
Wed Dec 5 00:44:18 CET 2012
Pascal Terjan <pterjan at gmail.com> writes:
> On Tue, Dec 4, 2012 at 11:10 PM, Olivier Blin <mageia at blino.org> wrote:
>> root at mageia.org writes:
>>
>>> Revision: 6562
>>> Author: pterjan
>>> Date: 2012-12-04 14:22:38 +0100 (Tue, 04 Dec 2012)
>>> Log Message:
>>> -----------
>>> Allow setting some env variables to define and default to setting PERL_EXTUTILS_AUTOINSTALL and PERL_AUTOINSTALL to --skipdeps
>>
>> Why is this in iurt?
>
> Because rebuild of the distro was strongly slowed down due to this
> (current build is running with default timeout meaning that each perl
> package which had this problem caused us to lose 6 hours) so
> preventing it from happening in iurt is something I want whatever is
> done in general. I have also added some code in iurt to detect stalled
> builds.
But will the timeout be big enough to let WebKit link go through? :-)
>> Shouldn't it be the default in our default rpmbuild setup?
>
> Probably
Maybe we should have a macro for "perl Makefile.PL" with your variables
exported, if this is where the hang happened.
perl-HTML-Parser even has the following...
# compile with default options (prompt() checks for STDIN being a terminal).
# yes to not ask for automate rebuild
yes | %{__perl} Makefile.PL INSTALLDIRS=vendor
%make OPTIMIZE="%{optflags}"
--
Olivier Blin - blino
More information about the Mageia-dev
mailing list