My
args.gnuse_remoteexec = true
rbe_cfg_dir = "../../buildtools/reclient_cfgs/linux"
the error:"
punith@punith-VivoBook-ASUSLaptop-X515DA-M515DA:~/chromium/src$ autoninja -C out/Default chrome
Proxy started successfully.
ninja: Entering directory `out/Default'
[0/1] Regenerating ninja files
ERROR at //build/toolchain/rbe.gni:58:3: Script returned non-zero exit code.
exec_script(rebase_path("//build/toolchain/check_rewrapper_cfg.py"),
^----------
Current dir: /home/punith/chromium/src/out/Default/
Command: python3 /home/punith/chromium/src/build/toolchain/check_rewrapper_cfg.py ../../buildtools/reclient_cfgs/chromium-browser-clang/rewrapper_linux.cfg
Returned 1.
stderr:
reclient config file "../../buildtools/reclient_cfgs/chromium-browser-clang/rewrapper_linux.cfg" doesn't exist, you may need to set
"download_remoteexec_cfg" in .gclient like
```
solutions = [
{
"name" : "src",
# ...
"custom_vars" : {
"download_remoteexec_cfg": True,
},
},
]
```
and re-run `gclient sync`.
Or you may not set appropriate `rbe_cfg_dir` value in
args.gn.
See
https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md#use-reclient for more details.
See //build/config/BUILDCONFIG.gn:673:1: whence it was imported.
import("//build/toolchain/rbe.gni")
^---------------------------------
FAILED: build.ninja.stamp
../../buildtools/linux64/gn --root=../.. -q --regeneration gen .
ninja: error: rebuilding 'build.ninja': subcommand failed
RBE Stats: down 0 B, up 0 B,
On Friday, December 22, 2023 at 11:09:19 PM UTC+5:30 Punith Nayak wrote:
Hey I am getting this error for some reason
Error: Invalid .gclient file. Solution is incomplete: {'name': 'src', 'custom_vars': {'download_remoteexec_cfg': True, 'rbe_instance': 'projects/rbe-chromium-untrusted/instances/default_instance'}}
My .gclient file is
solutions = [
{
"name" : "src",
"custom_vars": {
"download_remoteexec_cfg": True,
"rbe_instance": "projects/rbe-chromium-untrusted/instances/default_instance",
},
},
]