Thank you for the information. I'm not a networking expert so I don't know the implications of the change to .cipd_impl.ps1, shown below, and whether it is expected that it might be needed on Windows 8.1. Anybody have thoughts?
$wc = (New-Object System.Net.WebClient)
$wc.Headers.Add("User-Agent", $UserAgent)
try {
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
$wc.DownloadFile($URL, $TmpPath)
} catch {
$err = $_.Exception.Message
throw "Failed to download the file, check your network connection, $err"
}
Off-hand I think your fix looks reasonable, although I don't know what it implies that it is necessary. I'll see if the owners think it is appropriate.
Your next fix is
not safe. By pinning yourself to an old version of depot_tools you have pinned an old version of gclient_eval.py and that is what caused your latest problem. You can see in
this change when the 'Var is the only allowed function' message was removed and replaced with a more permissive check. Chromium depends on that more permissive check. So, you need to get rid of DEPOT_TOOLS_UPDATE = 0 and then we can figure out why gclient sync is failing.
In order to understand that problem we will need the full output, including the call stack. The output attached to your latest email had the information necessary but it is much more convenient to have it as text rather than as a .png. The Windows command prompt does let you select text, although I think it might be off by default. See the edit, defaults, and properties options in the command prompt system menu. The more output the better, for understanding what is happening.
Thank you for reporting these issues.