Hi, I built bison using these commands: git clone git://git.savannah.gnu.org/bison.git cd bison git submodule update --init ./bootstrap ./configure make
Then I ran “make chck” and got:
GEN public-submodule-commit
Stopping at 'gnulib'; script returned non-zero status.
maint.mk: found non-public submodule commit
make: *** [public-submodule-commit] Error 1
Running make in verbose mode gives:
if test -d ./.git \
&& git --version >/dev/null 2>&1; then \
cd . && \
git submodule --quiet foreach \
test '"$(git rev-parse "$sha1")"' \
= '"$(git merge-base origin "$sha1")"' \
|| { echo 'maint.mk: found non-public submodule commit' >&2; \
exit 1; }; \
else \
: ; \
fi
Stopping at 'gnulib'; script returned non-zero status.
maint.mk: found non-public submodule commit
make: *** [public-submodule-commit] Error 1
I then tried to run “git rev-parse "$sha1"” from the “gnulib” folder,
which showed:
fatal: ambiguous argument '': unknown revision or path not in the
working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
I use the latest version of bison's “master”, and the gnulib submodule
has been set to commit 74540d4
Any idea how to make “make check” pass?
Thanks,
Valentin
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected] https://lists.gnu.org/mailman/listinfo/help-bison
