Unable to build iOS port (gclient sync not working) |
|||||
Issue descriptionSteps to reproduce: 1) run gclient sync on a correctly setup iOS build on Linux Expected result: Repos are sync'ed correctly and the appropiate stuff is downloaded Actual result: The following error ________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/tools/clang/scripts/update.py --with-android=False' in '/Users/svillar/chromium' Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-346388-5.tgz <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)> As clang is not downloaded the build is not possible
,
Dec 10
Do you intend to compile for iOS on a Linux? That's not likely to work.
,
Dec 11
> Do you intend to compile for iOS on a Linux? That's not likely to work. Sorry the "on Linux" was a mistake (I was reporting several issues in a row). I'm obviously building on a Mac (10.14.2 Mojave)
,
Dec 11
Hi svillar@, it looks like that error is for downloading clang, which isn't unique to the iOS build. Are you able to run `gclient sync` for the regular mac checkout? Can you access `https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-346388-5.tgz` normally?
,
Dec 11
No I cannot. It failed due to some error in the certificates negotiation. bash-3.2$ gclient sync Syncing projects: 100% (106/106), done. Running hooks: 17% (13/73) mac_toolchain ________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/build/mac_toolchain.py' in '/Volumes/external/msanchez/work/chromium' Skipping Mac toolchain installation for mac Running hooks: 20% (15/73) clang ________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/tools/clang/scripts/update.py --with-android=False' in '/Volumes/external/chromium' Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-346388-5.tgz <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)> Retrying in 5 s ... Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-346388-5.tgz <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)> Retrying in 10 s ... Probably related to the recent change from "Google" to "Google LLC" ?
,
Dec 11
,
Dec 13
Is this still an issue? I'd imagine this is transient.
,
Dec 14
This is still an issue apparently, I've just git rebased by local checkout, and hit this:
$ gclient sync
Syncing projects: 100% (106/106), done.
Running hooks: 17% (13/76) mac_toolchain
________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/build/mac_toolchain.py' in '/Volumes/external/msanchez/work/chromium'
Skipping Mac toolchain installation for mac
Running hooks: 19% (15/76) clang
________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/tools/clang/scripts/update.py --with-android=False' in '/Volumes/external/msanchez/work/chromium'
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-346388-5.tgz
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)>
Retrying in 5 s ...
Note that depot_tools is also up-to-date, which I checked in case this could be related to a similar issue that just started happening a few hours ago with git cl upload, see crbug.com/914564. In that case the problem is another SSL: CERTIFICATE_VERIFY_FAILED error, even though in that case the problem seems to be related to depot_tools "downgrading" from httplib version 0.11.3 to version 0.9.2 (so I'm not sure it's the same root cause, since we certainly haven't downgraded python libs in this Mac machine).
,
Jan 4
This issue seems to be related to outdated certificated installed with the python OS X software distribution. Those can be updated by running `/Applications/Python\ 2.7/Install\ Certificates.command`. This information was taken from https://github.com/tensorflow/tensorflow/issues/10779#issuecomment-309134512. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by cmt...@chromium.org
, Dec 10