Commit 9f3c871
committed
Allow building when Python lib cannot be chowned
When building Gerrit on MacOS and bazel mods, the build may fail with:
"Error in fail: Failed to make interpreter installation read-only.
'chmod' error msg"
The error happens when trying to perform a chmod of the Python lib,
which the current user may not have permission to change.
Relaxing the ignore_root_user_error flag solves the problem.
The associated Bazel issue at [1] and has later fixed with [2].
[1] bazel-contrib/rules_python#2016
[2] bazel-contrib/rules_python#3421
Release-Notes: skip
Change-Id: I326025b80a644a2a485ee936b4cfe1429d9d81f21 parent 76bbe75 commit 9f3c871
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments