Hi Akim, I wrote: > I have an old bison checkout, without modifications. Now updated it > using "git pull", then ran > $ ./bootstrap > > The run ends with > > Don't forget to > - "include gnulib.mk" from within "lib/Makefile.am", > - add "gnulib-po/Makefile.in" to AC_CONFIG_FILES in ./configure.ac, > - mention "gnulib-po" in SUBDIRS in Makefile.am, > - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am, > - mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am, > - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC_STDC, > - invoke gl_INIT in ./configure.ac. > prefix=lib/ > ./bootstrap: some git submodules are not initialized. Run 'git submodule > init' and bootstrap again. > > So I do this: > > $ git submodule init > $ ./bootstrap > ... > ./bootstrap: some git submodules are not initialized. Run 'git submodule > init' and bootstrap again. > $ echo $? > 1 > $ git status > On branch master > Your branch is up-to-date with 'origin/master'. > nothing to commit, working directory clean > $ git submodule > d279bc6d9f9323e19ad8c32b6d12ff96dfb0f5ba gnulib (v0.1-3322-gd279bc6) > -babc8660d5a7561ed7e99e09aeabffaccfe06d6d submodules/autoconf
More details: $ git -C submodule/autoconf status fatal: Cannot change to 'submodule/autoconf': No such file or directory $ cat .gitmodules [submodule "gnulib"] path = gnulib url = git://git.savannah.gnu.org/gnulib.git [submodule "submodules/autoconf"] path = submodules/autoconf url = git://git.sv.gnu.org/autoconf.git $ ls -l submodules total 4 drwxr-xr-x 2 bruno bruno 4096 Apr 4 2017 autoconf $ git -C submodules/autoconf status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean $ git -C gnulib status HEAD detached at d279bc6 nothing to commit, working directory clean To reproduce the issue, you find a copy of the checkout in https://www.dropbox.com/s/ufhd3cuqxmtti4s/bison-broken-checkout.tar.xz (30 MB). Bruno