[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't bootstrap bison
From: |
Bruno Haible |
Subject: |
Re: can't bootstrap bison |
Date: |
Mon, 13 Apr 2020 16:45:38 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> I don't have that with your tarball.
>
> $ git -C submodules/autoconf status
> error: le répertoire objet
> /media/develdata/devel/GNULIB/gnulib-git/.git/objects n'existe pas ; vérifiez
> .git/objects/info/alternates
> fatal: bad object HEAD
> fatal: 'git status --porcelain=2' a échoué dans le sous-module gnulib
>
> $ git submodule init
> $ git -C submodules/autoconf status
> error: le répertoire objet
> /media/develdata/devel/GNULIB/gnulib-git/.git/objects n'existe pas ; vérifiez
> .git/objects/info/alternates
> fatal: bad object HEAD
> fatal: 'git status --porcelain=2' a échoué dans le sous-module gnulib
>
> so AFAICT, git submodule init is unable to init a submodule. Or at least not
> in the sense I would give to "init".
>
> I think the fix is to have bootstrap say
>
> >> Run 'git submodule update --init' and bootstrap again.
>
> instead.
Indeed, 'git submodule update --init' fixes the situation, that
'git submodule init' could not fix:
$ git -C submodules/autoconf status
Auf Branch master
Ihr Branch ist auf dem selben Stand wie 'origin/master'.
nichts zu committen, Arbeitsverzeichnis unverändert
$ git submodule init
$ git -C submodules/autoconf status
Auf Branch master
Ihr Branch ist auf dem selben Stand wie 'origin/master'.
nichts zu committen, Arbeitsverzeichnis unverändert
$ git submodule update --init
Klone nach 'submodules/autoconf' ...
remote: Counting objects: 44493, done.
remote: Compressing objects: 100% (8987/8987), done.
remote: Total 44493 (delta 35244), reused 44493 (delta 35244)
Empfange Objekte: 100% (44493/44493), 10.35 MiB | 550.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (35244/35244), Fertig.
Prüfe Konnektivität ... Fertig.
Submodul-Pfad: 'submodules/autoconf':
'babc8660d5a7561ed7e99e09aeabffaccfe06d6d' ausgecheckt
$ ./bootstrap
...
./bootstrap: Creating po/Makevars from po/Makevars.template ...
./bootstrap: done. Now you can run './configure'.
Thanks!
Bruno