Missing latest lld for Mac?

10 views
Skip to first unread message

Victor Costan

unread,
Jul 11, 2019, 5:04:09 PM7/11/19
to Clang maintainers, Nico Weber
I’m guessing someone forgot to run the following command from the clang update guide:

gsutil.py cp -n -a public-read gs://chromium-browser-clang-staging/Mac/lld-365097-f7e52fbd-1.tgz gs://chromium-browser-clang/Mac/lld-365097-f7e52fbd-1.tgz


When I run gclient sync, I get the following error.

Running hooks:  25% (19/75) lld/mac          

________ running '/Users/costan/.homebrew/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/tools/clang/scripts/download_lld_mac.py' in '/Users/costan/chromium'

Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/lld-365097-f7e52fbd-1.tgz 

HTTP Error 404: Not Found

Traceback (most recent call last):

  File "src/tools/clang/scripts/download_lld_mac.py", line 38, in <module>

    sys.exit(main())

  File "src/tools/clang/scripts/download_lld_mac.py", line 33, in main

    update.DownloadAndUnpack(remote_path, update.LLVM_BUILD_DIR)

  File "/Users/costan/chromium/src/tools/clang/scripts/update.py", line 144, in DownloadAndUnpack

    DownloadUrl(url, f)

  File "/Users/costan/chromium/src/tools/clang/scripts/update.py", line 126, in DownloadUrl

    raise e

urllib2.HTTPError: HTTP Error 404: Not Found

Error: Command '/Users/costan/.homebrew/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/tools/clang/scripts/download_lld_mac.py' returned non-zero exit status 1 in /Users/costan/chromium


I’d be happy to do it if you’re willing to give me the bits. Otherwise, I’ll just wait until someone gets around to it.

Thanks,
    Victor

Nico Weber

unread,
Jul 11, 2019, 5:12:55 PM7/11/19
to Victor Costan, rnk, Clang maintainers
$ export rev=365097-f7e52fbd-1
$ gsutil.py cp -n -a public-read gs://chromium-browser-clang-staging/Mac/lld-$rev.tgz \
>       gs://chromium-browser-clang/Mac/lld-$rev.tgz

Copying gs://chromium-browser-clang-staging/Mac/lld-365097-f7e52fbd-1.tgz [Content-Type=application/x-tar]...
/ [1 files][ 18.8 MiB/ 18.8 MiB]
Operation completed over 1 objects/18.8 MiB.


Try again; sorry about that!

--
To unsubscribe from this group and stop receiving emails from it, send an email to clang+un...@chromium.org.

Victor Costan

unread,
Jul 11, 2019, 5:40:06 PM7/11/19
to Nico Weber, rnk, Clang maintainers
It works now. Thank you very much for the quick response!

    Victor

Hans Wennborg

unread,
Jul 17, 2019, 3:51:46 AM7/17/19
to Victor Costan, Nico Weber, rnk, Clang maintainers
Sent https://chromium-review.googlesource.com/c/chromium/src/+/1705200
to reduce the risk of this happening again.

Reid Kleckner

unread,
Jul 17, 2019, 4:18:33 PM7/17/19
to Hans Wennborg, Victor Costan, Nico Weber, rnk, Clang maintainers
Sorry for that, and thanks for fixing it once and then forever. :)
Reply all
Reply to author
Forward
0 new messages