-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
external/Makefile race-condition #1543
Comments
So I did a git-bisect on Ubuntu 18.04. Here is one of the results:
I did it like this:
Your mileage may vary. I still think this is a race condition so the bisect is not really showing when it was introduced and will oscillate on multiple commits. But one thing is clear to me, the latest commit on rustyrussel/lightning@guilt/configure is failing a lot. Try it please. I used
|
…hanges. If we change an upstream URL, all submodules break. Users would need to run 'git submodule sync'. Note that the libbacktrace fix was merged upstream so this is no longer necessary, but it's good for future changes. Also, stress-testing reveals that git submodule fails locking '.git/config' when run in paralell. It also segfaults and other problems. This is my final attempt to fix submodules; I've wasted far too many days on obscure problems it creates: I've already lost one copy of my repo to apparently unfixable submodule preoblems. The next "fix" will be to simply import the source code so it works properly. Reported-by: @jsarenik Fixes: ElementsProject#1543 Signed-off-by: Rusty Russell <[email protected]>
rustyrussell@5d77c6a fixes the issue. Thank you! Closing. |
…hanges. If we change an upstream URL, all submodules break. Users would need to run 'git submodule sync'. Note that the libbacktrace fix was merged upstream so this is no longer necessary, but it's good for future changes. Also, stress-testing reveals that git submodule fails locking '.git/config' when run in paralell. It also segfaults and other problems. This is my final attempt to fix submodules; I've wasted far too many days on obscure problems it creates: I've already lost one copy of my repo to apparently unfixable submodule preoblems. The next "fix" will be to simply import the source code so it works properly. Reported-by: @jsarenik Fixes: ElementsProject#1543 Signed-off-by: Rusty Russell <[email protected]>
…hanges. If we change an upstream URL, all submodules break. Users would need to run 'git submodule sync'. Note that the libbacktrace fix was merged upstream so this is no longer necessary, but it's good for future changes. Also, stress-testing reveals that git submodule fails locking '.git/config' when run in paralell. It also segfaults and other problems. This is my final attempt to fix submodules; I've wasted far too many days on obscure problems it creates: I've already lost one copy of my repo to apparently unfixable submodule preoblems. The next "fix" will be to simply import the source code so it works properly. Reported-by: @jsarenik Fixes: ElementsProject#1543 Signed-off-by: Rusty Russell <[email protected]>
…hanges. If we change an upstream URL, all submodules break. Users would need to run 'git submodule sync'. Note that the libbacktrace fix was merged upstream so this is no longer necessary, but it's good for future changes. Also, stress-testing reveals that git submodule fails locking '.git/config' when run in paralell. It also segfaults and other problems. This is my final attempt to fix submodules; I've wasted far too many days on obscure problems it creates: I've already lost one copy of my repo to apparently unfixable submodule preoblems. The next "fix" will be to simply import the source code so it works properly. Reported-by: @jsarenik Fixes: #1543 Signed-off-by: Rusty Russell <[email protected]>
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 thegit clone
line - this fixes all (and is the same as cloning without it and thencd
into cloned directory and callinggit 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
outputNot related :-) We're not there yet.
The text was updated successfully, but these errors were encountered: