Hi, I am tryng to build chromium, I am following the instructions:
Chromium Docs - Checking out and Building Chromium for Windows (googlesource.com) but when I run fetch i am getting some errors:
Steps:
1.- Visual studio tools.
See: 01_visual_studio_tools.PNG
2.- Depot tools install on C:\src\depot_tools and added to environment path.
Tested using gclient and this works.
3.- where python:
C:\Users\Eduardo>where python
C:\src\depot_tools\python.bat
4.- git configure:
git config --global
user.name "Eduardo" ... and others
5.- mkdir chromium && cd chromium
6.- fetch --no-history chromium
This run but then, i getting the error:
.............................................
INFO: Extracting llvm_saigo_x86_64_win32.tgz (15/19)
|------------------------------------------------|
..................................................
INFO: Extracting newlib_saigo_arm.tgz (16/19)
|------------------------------------------------|
..................................................
INFO: Extracting newlib_saigo_i686.tgz (17/19)
|------------------------------------------------|
.........................................
INFO: Extracting newlib_saigo_x86_64.tgz (18/19)
|------------------------------------------------|
..................................................
INFO: Extracting remote_toolchain_inputs_saigo_x86_64_win32.tgz (19/19)
|------------------------------------------------|
..................................................
Hook 'python3 src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' took 179.85 secs
Running hooks: 9% (14/145) win_toolchain
________ running 'python3 src/build/vs_toolchain.py update --force' in 'C:\src'
ServiceException: 401 Anonymous caller does not have storage.objects.list access to the Google Cloud Storage bucket. Permission 'storage.objects.list' denied on resource (or it may not exist).
No downloadable toolchain found. In order to use your locally installed version of Visual Studio to build Chrome please set DEPOT_TOOLS_WIN_TOOLCHAIN=0.
For details search for DEPOT_TOOLS_WIN_TOOLCHAIN in the instructions at
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/windows_build_instructions.mdTraceback (most recent call last):
File "src/build/vs_toolchain.py", line 589, in <module>
sys.exit(main())
File "src/build/vs_toolchain.py", line 585, in main
return commands[sys.argv[1]](*sys.argv[2:])
File "src/build/vs_toolchain.py", line 531, in Update
subprocess.check_call(get_toolchain_args)
File "C:\src\depot_tools\bootstrap-2@3_8_10_chromium_26_bin\python3\bin\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\src\\depot_tools\\bootstrap-2@3_8_10_chromium_26_bin\\python3\\bin\\python3.exe', 'C:\\src\\src\\third_party\\depot_tools\\win_toolchain\\get_toolchain_if_necessary.py', '--output-json', 'C:\\src\\src\\build\\win_toolchain.json', '27370823e7', '--force']' returned non-zero exit status 1.
Error: Command 'python3 src/build/vs_toolchain.py update --force' returned non-zero exit status 1 in C:\src
ServiceException: 401 Anonymous caller does not have storage.objects.list access to the Google Cloud Storage bucket. Permission 'storage.objects.list' denied on resource (or it may not exist).
No downloadable toolchain found. In order to use your locally installed version of Visual Studio to build Chrome please set DEPOT_TOOLS_WIN_TOOLCHAIN=0.
For details search for DEPOT_TOOLS_WIN_TOOLCHAIN in the instructions at
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/windows_build_instructions.mdTraceback (most recent call last):
File "src/build/vs_toolchain.py", line 589, in <module>
sys.exit(main())
File "src/build/vs_toolchain.py", line 585, in main
return commands[sys.argv[1]](*sys.argv[2:])
File "src/build/vs_toolchain.py", line 531, in Update
subprocess.check_call(get_toolchain_args)
File "C:\src\depot_tools\bootstrap-2@3_8_10_chromium_26_bin\python3\bin\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\src\\depot_tools\\bootstrap-2@3_8_10_chromium_26_bin\\python3\\bin\\python3.exe', 'C:\\src\\src\\third_party\\depot_tools\\win_toolchain\\get_toolchain_if_necessary.py', '--output-json', 'C:\\src\\src\\build\\win_toolchain.json', '27370823e7', '--force']' returned non-zero exit status 1.
Hook 'python3 src/build/vs_toolchain.py update --force' took 30.13 secs
Subprocess failed with return code 2.
THX!!!