I followed the Chromium documentation to build it for the Windows platform, after installing the depot tools it mentioned to use the gclient
command to install all the Windows-specific bits needed to work with the code, including msysgit and python.
Finally, after finishing the download, I received an error that you can see below.
Can anyone help me how to fix it?
fatal error: failed to build venv: failed to build package : cipkg.Derivation{Name:"virtualenv", Platform:"", Builder:"builtin:cipdExport", Args:[]string{"infra/3pp/tools/virtualenv version:2@16.7.12.chromium.7\n"}, Env:[]string(nil), Inputs:[]string(nil)}: failed to build derivation: failed to export packages: exec: "cipd": cannot run executable found relative to current directory
I also installed virtualenv with the pip install virtualenv
command, but there was still an error
as you can see in the error cannot run executable found relative to current directory
you need to use the full path to your depot_tools directory instead of relative path so, the bash command should be more like :
export PATH=/absolute/path/to/depot_tools:$PATH
instead of
export PATH=../depot_tools:$PATH
and after that try moving into your chromium directory and run
fetch --nohooks chromium
for further info refer to the chromium docs