Hi,
I'm building the 60 release but keep running into problem when building the chromeos-chrome package, at the stage of cloning sources under the src/third_party/webrtc directory of chromium source tree. In the log I noticed these:
Error: Command 'git checkout --quiet 3b55aad9a673614b5cc8ab0e10aec433dbea261f' returned non-zero exit status 128 in /var/cache/chromeos-cache/distfiles/target/chrome-src/src/third_party/webrtc
fatal: reference is not a tree: 3b55aad9a673614b5cc8ab0e10aec433dbea261f
So I looked into the /var/cache/chromeos-cache/distfiles/target/chrome-src/src/third_party/webrtc dir and did a "git checkout 3b55aad9a673614b5cc8ab0e10aec433dbea261f" there, got the same "fatal: reference is not a tree: 3b55aad9a673614b5cc8ab0e10aec433dbea261f".
Then I retried building chromeos-chrome many times, and found that only around 30% of the time it could download all sources successfully and start building. So I compare the successfully downloaded source of third_party/webrtc and the failed one, noticed that the repo is different.
In a successfully cloned third_party/webrtc, I got this in its .git/config
In a failed clone, I got this in webrtc/.git/config:
The last two "fetch=" lines are missing from the failed clone. I added them manually and run a "git pull" again, some more commits were downloaded and then "git checkout 3b55aad9a673614b5cc8ab0e10aec433dbea261f" worked without problem.
I have no idea why ~30% of the chance the clone process downloaded different .git/config content. I have looked into the DEPS file and there seems no anything special regarding third_party/webrtc repo. Every time when cloning of third_party/webrtc failed gclient complains about corrupted repo and removes everything and re-clone from scratch. This is really annoying as the download is really big. I would be really appreciated if anyone can shed some light here.