Re: Errors when building from source

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>

> Le 27 déc. 2018 à 13:50, Akim Demaille <[email protected]> a écrit :
> 
> 
> 
>> Le 27 déc. 2018 à 11:04, Wouter Beek <[email protected]> a écrit :
>> 
>> Hi Akim,
>>> 
>>> That's weird.  What "git status" noticing any difference?
>> 
>> Yes, the missing file seems to have been deleted:
>> 
>> ```
>> $ git status
>> On branch master
>> Your branch is up to date with 'origin/master'.
>> 
>> Changes not staged for commit:
>> (use "git add/rm <file>..." to update what will be committed)
>> (use "git checkout -- <file>..." to discard changes in working directory)
>> 
>>   deleted:    m4/m4.m4
>> 
>> Untracked files:
>> (use "git add <file>..." to include in what will be committed)
>> 
>>   .bootstrap13738.0
>>   .bootstrap13738.1
>> ```
>> 
>> I now have a working build on another distribution (Fedora).  I still
>> encountered the above issue with the missing m4/m4.m4 file.
> 
> git reset --hard HEAD

I can reproduce this error: somewhere inside ./bootstrap,
symlinks to nonexistent files are removed.  And m4/m4.m4 is
a symlink inside submodule/autoconf: if you run ./bootstrap
before submodule update --init, it will kill this symlink.

I'll see if I can do something about it.


_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.