Closed Bug 1363110 Opened 3 years ago Closed 3 years ago

mozboot: clang package for stylo is 403

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: rillian, Assigned: rillian)

References

Details

Attachments

(1 file)

Using the new `./mach boostrap` support for downloading llvm for use with rust-bindgen, I get a permission error on mac and windows, at least.

Downloading clang package from https://api.pub.build.mozilla.org/tooltool/sha512/cfde9a0f7f59823200f94422b4adb9a2fb5d4d07f240bbd1142c792434f6a1cbb4096d25c9853d77008fc40db0d827daa7003e78016f51241f621d6040ccc635
[...]
HTTPError: HTTP Error 403: FORBIDDEN
[...]
  File "/Users/giles/firefox/python/mozboot/mozboot/osx.py", line 526, in ensure_stylo_packages
    self.install_tooltool_clang_package(state_dir, **stylo.OSX)
  File "/Users/giles/firefox/python/mozboot/mozboot/base.py", line 294, in install_tooltool_clang_package
    package_sha512sum, 'sha512')
  File "/Users/giles/firefox/python/mozboot/mozboot/base.py", line 736, in http_download_and_save
[...]
Probably the package was uploaded without --visibility public. Can we just change the permission, or re-upload the same hash with different flags?
Bug 1359968 uploaded public artifacts under new hashes, so we just need to update the ones mozboot uses.
Assignee: nobody → giles
Depends on: 1359968
Comment on attachment 8865575 [details]
Bug 1363110 - mozboot: update clang package hash.

https://reviewboard.mozilla.org/r/137204/#review140246

Thanks!
Attachment #8865575 - Flags: review?(nfroyd) → review+
Pushed by rgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d99a4076dee5
mozboot: update clang package hash. r=froydnj
We're sorry - something has gone wrong while rewriting or rebasing your commits. The commits being pushed no longer match what was requested. Please file a bug.
https://hg.mozilla.org/mozilla-central/rev/d99a4076dee5
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.