bug-gnulib
[Top][All Lists]
Advanced

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

Re: bootstrap regression ?


From: Tim Rühsen
Subject: Re: bootstrap regression ?
Date: Sat, 2 Mar 2019 19:08:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 02.03.19 17:52, Gary V. Vaughan wrote:
> 
> On Mar 1, 2019, at 1:42 PM, Tim Rühsen <address@hidden
> <mailto:address@hidden>> wrote:
> 
>> Hi,
>>
>> at GnuTLS we have one git submodule that is not 'active' by default -
>> this is on purpose since we want to init it just in certain cases.
>>
>> The latest 'bootstrap' script doesn't accept this and stops with an error:
>> "./bootstrap: some git submodules are not initialized.  Run 'git
>> submodule init' and bootstrap again."
>>
>> The breaking change in 'bootstrap' is:
>>
>> +# Don't proceed if there are uninitialized submodules.  In particular,
>> +# the next step will remove dangling links, which might be links into
>> +# uninitialized submodules.
>> +#
>> +# Uninitialized submodules are listed with an initial dash.
>> +if $use_git && git submodule | grep '^-' >/dev/null; then
>> +  die "some git submodules are not initialized. "     \
>> +      "Run 'git submodule init' and bootstrap again."
>> +fi
>>
>> Currently I just commented out these lines, but a proper mechanism would
>> be nice.
> 
> Hi Tim,
> 
> Have you considered this?
> 
>   https://github.com/gnulib-modules/bootstrap
> <https://github.com/gnulib-modules/bootstrap?files=1>
> 
> It has proven invaluable for incorporating gnulib modules into libtool,
> M4 and several other projects with more complex bootstrap processes than
> the standard gnulib bootstrap scripts can accommodate cleanly...
> 
> Cheers,
> Gary

Hi Gary,

thanks for that hint and for your work !

Do you have some speed comparisons (yours vs. gnulib's bootstrap) ?

A significant speedup would be a very good argument to switch.

Since gnulib's bootstrap just works on all my projects (some have with
additional code in bootstrap.conf), performance is my only concern.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]