bug-gnulib
[Top][All Lists]
Advanced

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

Re: bootstrap regression ?


From: Gary V. Vaughan
Subject: Re: bootstrap regression ?
Date: Sat, 2 Mar 2019 08:52:42 -0800


On Mar 1, 2019, at 1:42 PM, Tim Rühsen <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

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

reply via email to

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