Skip to content

external/Makefile race-condition #1543

Closed
@jsarenik

Description

@jsarenik

Issue and Steps to Reproduce

The issue is already mentioned in #1069 and I noticed it a couple of times in the past. Now I have a 100% reproduction on both Alpine Linux and Ubuntu 18.04. A full log with the error follows, then a full log with the same thing, just with extra --recurse-submodules additional parameter to the git clone line - this fixes all (and is the same as cloning without it and then cd into cloned directory and calling git submodule update --init):

Error full log

https://gist.github.com/jsarenik/98636bd46547a47dda959c4cdf8748d8#file-failure-txt

Success full log

https://gist.github.com/jsarenik/98636bd46547a47dda959c4cdf8748d8#file-success-txt

Proposed fix

Get rid of git commands called by make: #1542

getinfo output

Not related :-) We're not there yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions