macOS / M1: ./mach bootstrap does not update clang-format
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Tracking
(Not tracked)
People
(Reporter: lth, Unassigned)
Details
When I run ./mach clang-format on my M1, I get this error message (transcribed):
You're using an old or incorrect version (clang-format version 11.0.1 (taskcluster-...)) of clang-format binary. Please update to a more recent one (at least > 12.0.1) by running './mach bootstrap'.
However, ./mach bootstrap does not update the clang-format binary, and the error persists.
(Also there's a missing "the" in the error message.)
It's possible building Firefox updates that binary? I don't know. Building the JS shell does not update it, and that's the only thing I build, most days.
Comment 1•4 years ago
|
||
it should be built
Updated•4 years ago
|
Comment 3•4 years ago
•
|
||
Can you please try: rm -rf ~/.mozbuild/clang-tools and retry to run clang-format or get the artifacts with bootstrap?
| Reporter | ||
Comment 4•4 years ago
|
||
I have done that. After that, bootstrap does not fetch anything, but subsequently running clang-format does download a new clang-tidy, which seems to work. Thanks!
Updated•3 years ago
|
Description
•