Fail when running update.bat in MasterBuildQuickStart Step6

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Fail when running update.bat in MasterBuildQuickStart Step6

Postby somblue » Thu Jun 28, 2018 6:29 am

Hi

I'm new to CEF and trying to manually build from source.
I follow the MasterBuildQuickStart https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md.
In step 6, run "update.bat" but got error message

Code: Select all
...
Syncing projects:  93% (93/100) src/third_party/angle/third_party/glslang/src
Syncing projects: 100% (100/100), done.

________ running 'cipd ensure -log-level error -root e:\cef\chromium_git\chromium -ensure-file c:\users\gzsuzh~1\appdata\local\temp\tmpl9qpv8.ensure' in '.'
Error: resolving package: failed to resolve package version (line 2): package "gn/gn/windows-386" is not registered.
Error: Command 'cipd ensure -log-level error -root e:\\cef\\chromium_git\\chromium -ensure-file c:\\users\\gzsuzh~1\\appdata\\local\\temp\\tmpl9qpv8.ensure' returned non-zero exit status 1
Traceback (most recent call last):
  File "..\automate\automate-git.py", line 1305, in <module>
    chromium_dir, depot_tools_dir)
  File "..\automate\automate-git.py", line 61, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "E:\cef\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['gclient', 'sync', '--nohooks', '--with_branch_heads', '--disable-syntax-validation', '--jobs', '16']' returned non-zero exit status 1


My OS is Win7 64-bit. I run the command via cmd.exe running as administrator.
It seem like missing GN package. I have no idea which step I miss.
I try to Google this error message, but didn't find situation similar to mine.

Please give me any advice, Thanks!
Best Regards
somblue
Newbie
 
Posts: 3
Joined: Wed Jun 27, 2018 9:38 pm

Re: Fail when running update.bat in MasterBuildQuickStart St

Postby magreenblatt » Thu Jun 28, 2018 11:32 am

I run the command via cmd.exe running as administrator.

I don't know if it will fix your problem, but you shouldn't run these commands as administrator.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Fail when running update.bat in MasterBuildQuickStart St

Postby somblue » Thu Jun 28, 2018 11:24 pm

magreenblatt wrote:
I run the command via cmd.exe running as administrator.

I don't know if it will fix your problem, but you shouldn't run these commands as administrator.


Thanks for your advice!
I run not as administrator first. But got some error then find someone advice use administrator. I try running not as administrator again just now.

========== My Error Log Begin ==========

Here is my error log:
Sorry for posting this huge and messy log. :? Thanks for your help again!

In step 3 update_depot_tools.bat. Failed to cleanup trashed file. But it seem not affect the following step and I continue.
But it is strange that access is denied. It's just a normal directory.
Code: Select all
Bootstrapping cipd client for windows-386 from https://chrome-infra-packages.appspot.com/client?platform=windows-386&version=git_revision:aacec5af4d569cee51437a89425db0b3c3d39a0a...
[P9472 10:10:22.947 fs.go:440 W] fs: failed to cleanup trashed file - remove E:\cef\depot_tools\.cipd_client_cache\trash\QUUiBEiDEWqq: Access is denied.
[P9472 10:10:23.251 fs.go:440 W] fs: failed to cleanup trashed file - remove E:\cef\depot_tools\.cipd_client_cache\trash\QUUiBEiDEWqq: Access is denied.


In step 6 update.bat.
Failed to rename. But the script retry. Dont know the result of retry.
Code: Select all
INFO: Downloading package archive: newlib_x86_64.tgz (47/48)
INFO: Downloading package archive: newlib_x86_64_bc.tgz (48/48)
INFO: --Syncing pnacl_translator to revision b48266b051f596802addff7c8d1fc6fb9cf
6bea7--
INFO: Downloading package archive: sandboxed_translators.tgz (1/1)
INFO: Extracting package (nacl_arm_glibc) to directory: e:\cef\chromium_git\chro
mium\src\native_client\toolchain\win_x86\nacl_arm_glibc
INFO: Extracting binutils_arm_i686_w64_mingw32.tgz (1/6)
|------------------------------------------------|
..................................................
FAILED: rename (u'e:\\cef\\chromium_git\\chromium\\src\\native_client\\toolchain
\\win_x86\\nacl_arm_glibc\\.tmp\\bin', u'e:\\cef\\chromium_git\\chromium\\src\\n
ative_client\\toolchain\\win_x86\\nacl_arm_glibc\\bin') {}
RETRYING
INFO: Extracting gcc_arm_i686_w64_mingw32.tgz (2/6)
|------------------------------------------------|
..................................................
FAILED: rename (u'e:\\cef\\chromium_git\\chromium\\src\\native_client\\toolchain
\\win_x86\\nacl_arm_glibc\\.tmp\\libexec', u'e:\\cef\\chromium_git\\chromium\\sr
c\\native_client\\toolchain\\win_x86\\nacl_arm_glibc\\libexec') {}
RETRYING
INFO: Extracting gcc_libs_arm.tgz (3/6)
|------------------------------------------------|
.................................................
INFO: Extracting gdb_i686_w64_mingw32.tgz (4/6)
|------------------------------------------------|
.................................................


Continue... Then failed and exit script with log.
Code: Select all
|------------------------------------------------|
..................................................
Hook ''e:\cef\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe' src/build/d
ownload_nacl_toolchains.py --mode nacl_core_sdk sync --extract' took 166.31 secs

Running hooks:  18% (14/76) clang
________ running 'e:\cef\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe src/tools/clang/scripts/update.py' in 'e:\cef\chromium_git\chromium'
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-334100-1.tgz .......... Done.
Copying C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\DIA SDK\bin\amd64\msdia140.dll to e:\cef\chromium_git\chromium\src\third_party\llvm-build\Release+Asserts\bin
Hook ''e:\cef\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe' src/tools/clang/scripts/update.py' took 28.98 secs
Running hooks:  25% (19/76) gn_win
________ running 'e:\cef\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1' in 'e:\cef\chromium_git\chromium'
0> Failed to fetch file gs://chromium-gn/bf45b632c2fed294e4e75009c2126b0a29781976 for src/buildtools/win/gn.exe, skipping. [Err: [E2018-06-29T11:42:24.610000+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_boto-py2_py3JE-xtBnLVR7C C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.709010+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/boto-py2_py3:c30f018b5712712a5712920009cdd83c565608cd - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_boto-py2_py3JE-xtBnLVR7C C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.797019+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\coverage_windows-386_cp27_cp27mGZ1DKOX0tV52 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.799019+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/coverage/windows-386_cp27_cp27m:18cc23473135fd54a0204f11e6ab3416915a89ad - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\coverage_windows-386_cp27_cp27mGZ1DKOX0tV52 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Accessis denied.
[E2018-06-29T11:42:24.859025+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_google_compute_engine-py2_py3eAi3migjhHjq C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.870026+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/google_compute_engine-py2_py3:c0e79f04237cfd03baa02e5d0978b3cfc8781040 - rename:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_google_compute_engine-py2_py3eAi3migjhHjq C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.950034+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_httplib2-py2_py3B8UCBasocGxV C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.951034+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/httplib2-py2_py3:87f25fd0ece42f9b744cbd09d07f445e763217c4 - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_httplib2-py2_py3B8UCBasocGxV C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:26.782217+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/opencv_python/windows-386_cp27_cp27m:fcc028ca67b1a7765c479fe5710e54ac1b9a9c64 - Access is denied.
[E2018-06-29T11:42:26.961235+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\3: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_protobuf-py2_py31mCmLe1iEPLZ C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\3: Access is denied.
[E2018-06-29T11:42:26.963236+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/protobuf-py2_py3:7c6da504ea61fFailed to fetch file gs://chromium-gn/bf45b632c2fed294e4e75009c2126b0a29781976 for src/buildtools/win/gn.exe. [Err: [E2018-06-29T11:42:24.610000+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename :\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap
530265557\packages\.cipd\tmp\wheels_boto-py2_py3JE-xtBnLVR7C C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.709010+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/boto-py2_py3:c30f018b5712712a5712920009cdd83c565608cd - renameC:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_boto-py2_py3JE-xtBnLVR7C C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.797019+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\coverage_windows-386_cp27_cp27mGZ1DKOX0tV52 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.799019+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/coverage/windows-386_cp27_cp27m:18cc23473135fd54a0204f11e6ab3416915a89ad - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\coverage_windows-386_cp27_cp27mGZ1DKOX0tV52 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.859025+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_google_compute_engine-py2_py3eAi3migjhHjq C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.870026+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/google_compute_engine-py2_py3:c0e79f04237cfd03baa02e5d0978b3cfc8781040 - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_google_compute_engine-py2_py3eAi3migjhHjq C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.950034+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_httplib2-py2_py3B8UCBasocGxV C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:24.951034+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/httplib2-py2_py3:87f25fd0ece42f9b744cbd09d07f445e763217c4 - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_httplib2-py2_py3B8UCBasocGxV C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\1: Access is denied.
[E2018-06-29T11:42:26.782217+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/opencv_python/windows-386_cp27_cp27m:fcc028ca67b1a7765c479fe5710e54ac1b9a9c64 - Access is denied.
[E2018-06-29T11:42:26.961235+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\3: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_protobuf-py2_py31mCmLe1iEPLZ C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\3: Access is denied.
[E2018-06-29T11:42:26.963236+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/protobuf-py2_py3:7c6da504ea61ffd62edfc3c5c4fd62edfc3c5c42a12b7bee06bd5 - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_protobuf-py2_py31mCmLe1iEPLZ C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\3: Access is denied.
[E2018-06-29T11:42:27.887328+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\8: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_six-py2_py3VV4ZkYrqwPC6 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\8: Access is denied.
[E2018-06-29T11:42:27.901329+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/six-py2_py3:e00dc04ad5029579cffc146324c365377f8bcd1d - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_six-py2_py3VV4ZkYrqwPC6 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\8: Access is denied.
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] original error: failed to update packages, see the log
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] goroutine 1:
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #0 go.chromium.org/luci/cipd/client/cipd/client.go:132 - cipd.init()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #1 go.chromium.org/luci/vpython/./<autogenerated>:1 - cipd.init()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #2 ./<autogenerated>:1 - main.init()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #3 runtime/proc.go:186 - runtime.main()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]   annotation #0:
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]     reason: failed to create new VirtualEnv
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]   annotation #1:
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]     reason: failed to download packages
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]   annotation #2:
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]     reason: failed to download packages
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]   annotation #3:
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]     reason: failed to install CIPD packages
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242] #4 runtime/asm_386.s:1665 - runtime.goexit()]
Downloading 1 files took 7.253000 second(s)
2a12b7bee06bd5 - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_protobuf-py2_py31mCmLe1iEPLZ C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\3: Access isdenied.
[E2018-06-29T11:42:27.887328+08:00 12224 0 deployer.go:537] Error while creating pkg dir C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\8: rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_six-py2_py3VV4ZkYrqwPC6 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\8: Access is denied.
[E2018-06-29T11:42:27.901329+08:00 12224 0 client.go:1416] Failed to install infra/python/wheels/six-py2_py3:e00dc04ad5029579cffc146324c365377f8bcd1d - rename C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\tmp\wheels_six-py2_py3VV4ZkYrqwPC6 C:\Users\GZSUZH~1\AppData\Local\Temp\vpython_bootstrap530265557\packages\.cipd\pkgs\8: Access is denied.
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] original error: failed to update packages, see the log
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] goroutine 1:
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #0 go.chromium.org/luci/cipd/client/cipd/client.go:132 - cipd.init()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #1 go.chromium.org/luci/vpython/./<autogenerated>:1 - cipd.init()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #2 ./<autogenerated>:1 - main.init()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242] #3 runtime/proc.go:186 - runtime.main()
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]   annotation #0:
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]     reason: failed to create new VirtualEnv
[E2018-06-29T11:42:28.051344+08:00 12224 0 annotate.go:242]   annotation #1:
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]     reason: failed to download packages
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]   annotation #2:
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]     reason: failed to download packages
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]   annotation #3:
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]     reason: failed to install CIPD packages
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242]
[E2018-06-29T11:42:28.052344+08:00 12224 0 annotate.go:242] #4 runtime/asm_386.s:1665 - runtime.goexit()]
Error: Command 'e:\\cef\\depot_tools\\win_tools-2_7_6_bin\\python\\bin\\python.exe src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1' returned non-zero exit status 1 in e:\cef\chromium_git\chromium
Traceback (most recent call last):
  File "..\automate\automate-git.py", line 1397, in <module>
    ('--reset ' if discard_local_changes else ''), chromium_dir, depot_tools_dir)
  File "..\automate\automate-git.py", line 61, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "E:\cef\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--with_branch_heads', '--disable-syntax-validation', '--jobs', '16']' returned non-zero exit status 2


========== My Error Log End ==========

I found someone meet similar situation before.
viewtopic.php?f=6&t=15274 I have removed all python env variables and make sure the python is the one locating in depot_tools.
viewtopic.php?f=10&t=14621 Dont know whether he has solved this problem or how.

Thanks for help!
Best Regrads
somblue
Newbie
 
Posts: 3
Joined: Wed Jun 27, 2018 9:38 pm

Re: Fail when running update.bat in MasterBuildQuickStart St

Postby magreenblatt » Fri Jun 29, 2018 11:19 am

You appear to be having permissions issues or perhaps disk access issues. Are you using an external or network drive? You might have better luck using the primary system drive.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Fail when running update.bat in MasterBuildQuickStart St

Postby somblue » Fri Jun 29, 2018 1:06 pm

It's just a normal disk in my PC. I guess files are hold by the safe software McAfee while script renaming. I try to disabled it and run in C disk.

Thanks for your help!
somblue
Newbie
 
Posts: 3
Joined: Wed Jun 27, 2018 9:38 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 32 guests