5790 branch build fails (Win32)

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.

5790 branch build fails (Win32)

Postby naoki5 » Tue Aug 01, 2023 9:46 pm

I tried to build the 5790 branch.
I followed the "Automated Method".
However, the build fails with an error.
The following is a part of the log at the time of failure.
Code: Select all
-------- Running "gclient revert --nohooks" in "c:\code\chromium_git\chromium"...
1>Syncing projects:   0% ( 0/ 2)
[0:01:01] Still working on:
[0:01:01]   src
Syncing projects:  92% (66/71) src/third_party/dawn

src/third_party/libFuzzer/src (ERROR)
----------------------------------------
[0:01:06] Started.
----------------------------------------
Traceback (most recent call last):
  File "c:\code\chromium_git\depot_tools\gclient_scm.py", line 996, in revert
    deps_revision = self.GetUsableRev(deps_revision, options)
  File "c:\code\chromium_git\depot_tools\gclient_scm.py", line 1056, in GetUsableRev
    raise NoUsableRevError(
gclient_scm.NoUsableRevError: 62> Hash 26cc39e59b2bf5cbc20486296248a842c536878d does not appear to be a valid hash in this repo.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\code\chromium_git\depot_tools\metrics.py", line 301, in print_notice_and_exit
    yield
  File "c:\code\chromium_git\depot_tools\gclient.py", line 3548, in <module>
    sys.exit(main(sys.argv[1:]))
  File "c:\code\chromium_git\depot_tools\gclient.py", line 3534, in main
    return dispatcher.execute(OptionParser(), argv)
  File "c:\code\chromium_git\depot_tools\subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "c:\code\chromium_git\depot_tools\gclient.py", line 3168, in CMDrevert
    return client.RunOnDeps('revert', args)
  File "c:\code\chromium_git\depot_tools\gclient.py", line 2041, in RunOnDeps
    work_queue.flush(revision_overrides,
  File "c:\code\chromium_git\depot_tools\gclient_utils.py", line 1016, in flush
    reraise(e[0], e[1], e[2])
  File "c:\code\chromium_git\depot_tools\gclient_utils.py", line 70, in reraise
    raise value
  File "c:\code\chromium_git\depot_tools\gclient_utils.py", line 1093, in run
    self.item.run(*self.args, **self.kwargs)
  File "c:\code\chromium_git\depot_tools\gclient.py", line 1010, in run
    self._got_revision = self._used_scm.RunCommand(command, options, args,
  File "c:\code\chromium_git\depot_tools\gclient_scm.py", line 128, in RunCommand
    return getattr(self, command)(options, args, file_list)
  File "c:\code\chromium_git\depot_tools\gclient_scm.py", line 1002, in revert
    e.message)
AttributeError: 'NoUsableRevError' object has no attribute 'message'
Traceback (most recent call last):
  File "automate\automate-git.py", line 1232, in <module>
    run("gclient revert --nohooks", chromium_dir, depot_tools_dir)
  File "automate\automate-git.py", line 67, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "C:\code\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'revert', '--nohooks']' returned non-zero exit status 1
C:\code>python automate\automate-git.py --download-dir=c:\code\chromium_git --branch=5790 --with-pgo-profiles
--> Download Directory: c:\code\chromium_git
--> Depot Tools Directory: c:\code\chromium_git\depot_tools
--> Extracting https://storage.googleapis.com/chrome-infra/depot_tools.zip to c:\code\chromium_git\depot_tools.
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "c:\code\chromium_git\depot_tools"...
Updating depot_tools...
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:6e9be28a4c4e3a804f400dc6c2ed08b866f0a38b...
--> CEF Branch: 5790
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: c:\code\chromium_git\cef
-------- Running "c:\code\chromium_git\depot_tools\git.bat clone https://bitbucket.org/chromiumembedded/cef.git c:\code\chromium_git\cef" in "c:\code\chromium_git"...
Cloning into 'c:\code\chromium_git\cef'...
Receiving objects: 100% (83930/83930), 30.48 MiB | 19.17 MiB/s, done.
Resolving deltas: 100% (72569/72569), done.
-------- Running "c:\code\chromium_git\depot_tools\git.bat rev-parse HEAD" in "c:\code\chromium_git\cef"...
-------- Running "c:\code\chromium_git\depot_tools\git.bat rev-parse origin/5790" in "c:\code\chromium_git\cef"...
--> CEF Current Checkout: 52b4d7ba5a1a1eca7b3dc7267a323ea8cd6b2d0e
--> CEF Desired Checkout: a61da9b80ccf384ac214050fe75f3923e7703d4f (origin/5790)
-------- Running "c:\code\chromium_git\depot_tools\git.bat checkout origin/5790" in "c:\code\chromium_git\cef"...
Note: switching to 'origin/5790'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at a61da9b80 Update to Chromium version 115.0.5790.114
--> Reading c:\code\chromium_git\cef\CHROMIUM_BUILD_COMPATIBILITY.txt
-------- Running "c:\code\chromium_git\depot_tools\git.bat checkout df2f11113c" in "c:\code\chromium_git\depot_tools"...
Previous HEAD position was a8946f3d Roll recipe dependencies (trivial).
HEAD is now at df2f1111 Update code-owners documentation links
--> CEF Output Directory: c:\code\chromium_git\out_5790
--> Creating directory c:\code\chromium_git\chromium
--> Writing c:\code\chromium_git\chromium\.gclient
-------- Running "gclient sync --nohooks --with_branch_heads --jobs 16" in "c:\code\chromium_git\chromium"...
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
1>________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git c:\code\chromium_git\chromium\_gclient_src_q5itwt6w' in 'c:\code\chromium_git\chromium'
1>Cloning into 'c:\code\chromium_git\chromium\_gclient_src_q5itwt6w'...
1>remote: Finding sources: 100% (7540/7540)           objects: 1
1>remote: Total 20888399 (delta 15282245), reused 20886459 (delta 15282245)
1>Receiving objects: 100% (20888399/20888399), 41.48 GiB | 33.72 MiB/s, done.
1>Resolving deltas: 100% (15282245/15282245), done.
1>Checking objects: 100% (67108864/67108864), done.

[1:20:04] Still working on:
[1:20:04]   src

[1:20:14] Still working on:
[1:20:14]   src

[1:20:24] Still working on:
[1:20:24]   src

[1:20:34] Still working on:
[1:20:34]   src

[1:20:44] Still working on:
[1:20:44]   src

[1:20:54] Still working on:
[1:20:54]   src

[1:21:04] Still working on:
[1:21:04]   src

[1:21:14] Still working on:
[1:21:14]   src

[1:21:24] Still working on:
[1:21:24]   src

[1:21:34] Still working on:
[1:21:34]   src

[1:21:44] Still working on:
[1:21:44]   src

[1:21:54] Still working on:
[1:21:54]   src

[1:22:04] Still working on:
[1:22:04]   src

[1:22:14] Still working on:
[1:22:14]   src

[1:22:24] Still working on:
[1:22:24]   src

[1:22:34] Still working on:
[1:22:34]   src

[1:22:44] Still working on:
[1:22:44]   src

[1:22:54] Still working on:
[1:22:54]   src

[1:23:04] Still working on:
[1:23:04]   src

[1:23:14] Still working on:
[1:23:14]   src

[1:23:24] Still working on:
[1:23:24]   src

[1:23:34] Still working on:
[1:23:34]   src

[1:23:44] Still working on:
[1:23:44]   src

[1:23:54] Still working on:
[1:23:54]   src

[1:24:04] Still working on:
[1:24:04]   src

[1:24:14] Still working on:
[1:24:14]   src

[1:24:24] Still working on:
[1:24:24]   src

[1:24:34] Still working on:
[1:24:34]   src

[1:24:44] Still working on:
[1:24:44]   src
1>Syncing projects:   0% ( 0/ 2)
[1:24:51] Still working on:
[1:24:51]   src
Syncing projects:  98% (96/97) src/third_party/dawn

src/third_party/openscreen/src (ERROR)
----------------------------------------
[1:26:51] Started.
[1:26:51]

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/openscreen c:\code\chromium_git\chromium\src\third_party\openscreen\_gclient_src_iafa1loi' in 'c:\code\chromium_git\chromium'

[1:26:51] Cloning into 'c:\code\chromium_git\chromium\src\third_party\openscreen\_gclient_src_iafa1loi'...
[1:26:53] remote: Sending approximately 71.43 MiB ...Counting objects: 1
[1:26:53] remote: Finding sources:   2% (1/45)
[1:26:53] remote: Finding sources:  11% (5/45)
[1:26:53] remote: Finding sources: 100% (45/45)
[1:26:53] Receiving objects:   0% (1/25626)
[1:26:53] Receiving objects:  10% (2563/25626)
[1:26:55] Receiving objects:  43% (11020/25626), 8.49 MiB | 8.38 MiB/s
[1:26:56] Receiving objects:  49% (12663/25626), 25.94 MiB | 9.44 MiB/s
[1:26:57] Receiving objects:  72% (18614/25626), 42.41 MiB | 9.89 MiB/s
[1:26:59] Receiving objects:  75% (19220/25626), 49.68 MiB | 9.45 MiB/s
[1:27:00] Receiving objects:  91% (23320/25626), 61.60 MiB | 8.85 MiB/s
[1:27:00] remote: Total 25626 (delta 12994), reused 25624 (delta 12994)
[1:27:00] Receiving objects: 100% (25626/25626), 67.17 MiB | 9.28 MiB/s
[1:27:00] Resolving deltas:   0% (0/12994)
[1:27:00] Resolving deltas:  10% (1300/12994)
[1:27:01] Resolving deltas: 100% (12994/12994)
[1:27:09] Finished running: git checkout --quiet ec5ca20a5df44a912c99ad1cd3459a40db23e020
[1:27:09] Finished running: git rev-parse --abbrev-ref=strict HEAD
[1:27:09] Checked out ec5ca20a5df44a912c99ad1cd3459a40db23e020 to a detached HEAD. Before making any commits
in this repo, you should use 'git checkout <branch>' to switch
to an existing branch or use 'git checkout origin -b <branch>' to
create a new branch for your work.
[1:27:09]
[1:27:10] Finished running: git rev-parse --verify HEAD
[1:27:10] Finished running: git rev-parse HEAD
----------------------------------------
Error: 87> Wrong keys 'git_dependencies' in {'vars': {'boringssl_git': 'https://boringssl.googlesource.com', 'chromium_git': 'https://chromium.googlesource.com', 'quiche_git': 'https://quiche.googlesource.com', 'github': 'https://github.com', 'build_with_chromium': False, 'checkout_clang_coverage_tools': True, 'gn_version': 'git_revision:5e19d2fb166fbd4f6f32147fbb2f497091a54ad8', 'clang_format_revision': 'e435ad79c17b1888b34df88d6a30a094936e3836', 'SUBMODULE_MIGRATION': 'True'}, 'use_relative_paths': True, 'git_dependencies': 'SYNC', 'deps': {'buildtools': {'url': 'https://chromium.googlesource.com/chromium/src/buildtools@3c7e3f1b8b1e4c0b6ec693430379cea682de78d6', 'condition': 'not build_with_chromium'}, 'third_party/clang-format/script': {'url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@f97059df7f8b205064625cdb5f97b56668a125ef', 'condition': 'not build_with_chromium'}, 'buildtools/linux64': {'packages': [{'package': 'gn/gn/linux-amd64', 'version': 'git_revision:3fccef9033b950e8935e8debeba9fbd71617bc74'}], 'dep_type': 'cipd', 'condition': 'host_os == "linux" and not build_with_chromium'}, 'buildtools/mac': {'packages': [{'package': 'gn/gn/mac-${arch}', 'version': 'git_revision:3fccef9033b950e8935e8debeba9fbd71617bc74'}], 'dep_type': 'cipd', 'condition': 'host_os == "mac" and not build_with_chromium'}, 'third_party/ninja': {'packages': [{'package': 'infra/3pp/tools/ninja/${platform}', 'version': 'version:2@1.8.2.chromium.3'}], 'dep_type': 'cipd', 'condition': 'not build_with_chromium'}, 'third_party/protobuf/src': {'url': 'https://chromium.googlesource.com/external/github.com/protocolbuffers/protobuf.git@909a0f36a10075c4b4bc70fdee2c7e32dd612a72', 'condition': 'not build_with_chromium'}, 'third_party/libprotobuf-mutator/src': {'url': 'https://chromium.googlesource.com/external/github.com/google/libprotobuf-mutator.git@a304ec48dcf15d942607032151f7e9ee504b5dcf', 'condition': 'not build_with_chromium'}, 'third_party/zlib/src': {'url': 'https://github.com/madler/zlib.git@04f42ceca40f73e2978b50e93806c2a18c1281fc', 'condition': 'not build_with_chromium'}, 'third_party/jsoncpp/src': {'url': 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@5defb4ed1a4293b8e2bf641e16b156fb9de498cc', 'condition': 'not build_with_chromium'}, 'third_party/googletest/src': {'url': 'https://chromium.googlesource.com/external/github.com/google/googletest.git@b495f72f1f096135cf9cf8c7879b5b89250de50a', 'condition': 'not build_with_chromium'}, 'third_party/boringssl/src': {'url': 'https://boringssl.googlesource.com/boringssl.git@51ed32f1971956a904ce7b3a7ff10716e76eecd4', 'condition': 'not build_with_chromium'}, 'third_party/quiche/src': {'url': 'https://quiche.googlesource.com/quiche.git@7b58beaec1f65b8e074ddb81796e34f3d6d83cf3', 'condition': 'not build_with_chromium'}, 'third_party/tinycbor/src': 'https://chromium.googlesource.com/external/github.com/intel/tinycbor.git@d393c16f3eb30d0c47e6f9d92db62272f0ec4dc7', 'third_party/abseil/src': {'url': 'https://chromium.googlesource.com/external/github.com/abseil/abseil-cpp.git@78be63686ba732b25052be15f8d6dee891c05749', 'condition': 'not build_with_chromium'}, 'third_party/libfuzzer/src': {'url': 'https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git@debe7d2d1982e540fbd6bd78604bf001753f9e74', 'condition': 'not build_with_chromium'}, 'third_party/modp_b64': {'url': 'https://chromium.googlesource.com/chromium/src/third_party/modp_b64@3643752c065d984647f0ded68a9a01926fb3b9cd', 'condition': 'not build_with_chromium'}, 'third_party/valijson/src': {'url': 'https://github.com/tristanpenman/valijson.git@78ac8a737df56b5334354efe104ea8f99e2a2f00', 'condition': 'not build_with_chromium'}}, 'hooks': [{'name': 'clang_update_script', 'pattern': '.', 'condition': 'not build_with_chromium', 'action': ['tools/download-clang-update-script.py', '--output', 'tools/clang/scripts/update.py']}, {'name': 'update_clang', 'pattern': '.', 'condition': 'not build_with_chromium', 'action': ['python3', 'tools/clang/scripts/update.py']}, {'name': 'clang_coverage_tools', 'pattern': '.', 'condition': 'not build_with_chromium and checkout_clang_coverage_tools', 'action': ['python3', 'tools/clang/scripts/update.py', '--package=coverage_tools']}, {'name': 'clang_format_linux64', 'pattern': '.', 'action': ['download_from_google_storage.py', '--no_resume', '--no_auth', '--bucket', 'chromium-clang-format', '-s', 'buildtools/linux64/clang-format.sha1'], 'condition': 'host_os == "linux" and not build_with_chromium'}, {'name': 'clang_format_mac_x64', 'pattern': '.', 'action': ['download_from_google_storage.py', '--no_resume', '--no_auth', '--bucket', 'chromium-clang-format', '-s', 'buildtools/mac/clang-format.x64.sha1'], 'condition': 'host_os == "mac" and host_cpu == "x64" and not build_with_chromium'}, {'name': 'clang_format_mac_arm64', 'pattern': '.', 'action': ['download_from_google_storage.py', '--no_resume', '--no_auth', '--bucket', 'chromium-clang-format', '-s', 'buildtools/mac/clang-format.arm64.sha1'], 'condition': 'host_os == "mac" and host_cpu == "arm64" and not build_with_chromium'}], 'include_rules': ['+util', '+platform/api', '+platform/base', '+platform/test', '+testing/util', '+third_party', '-discovery', '+discovery/common', '+discovery/dnssd/public', '+discovery/mdns/public', '+discovery/public', '-third_party/abseil', '+absl/algorithm/container.h', '+absl/base/thread_annotations.h', '+absl/hash/hash.h', '+absl/hash/hash_testing.h', '+absl/strings/ascii.h', '+absl/strings/match.h', '+absl/strings/numbers.h', '+absl/strings/str_cat.h', '+absl/strings/str_join.h', '+absl/strings/str_replace.h', '+absl/strings/str_split.h', '+absl/strings/string_view.h', '+absl/strings/substitute.h', '+absl/types/optional.h', '+absl/types/span.h', '+absl/types/variant.h', '-third_party/boringssl', '-third_party/googletest', '+gtest', '+gmock']}
Traceback (most recent call last):
  File "automate\automate-git.py", line 1161, in <module>
    chromium_dir, depot_tools_dir)
  File "automate\automate-git.py", line 67, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "C:\code\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--nohooks', '--with_branch_heads', '--jobs', '16']' returned non-zero exit status 1


I ran the build as follows:

set GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome is_official_build=true
python automate\automate-git.py --download-dir=c:\code\chromium_git --branch=5790 --with-pgo-profiles

The following is the build environment.

Windows 11 Pro 22H2 (Japanese)
Visual Studio 2022 Version 17.6.5
Win SDK 10.0.22621.1778

Do I need to do anything extra to build the 5790 branch?
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5790 branch build fails (Win32)

Postby naoki5 » Thu Aug 03, 2023 8:54 pm

After updating git to the latest version, build was successful.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5790 branch build fails (Win32)

Postby magreenblatt » Mon Aug 07, 2023 11:30 am

Error: 87> Wrong keys 'git_dependencies'

I've updated the pinned version of depot_tools for 5790 and 5845 branches to include this commit that should fix the issue.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: 5790 branch build fails (Win32)

Postby naoki5 » Mon Aug 07, 2023 8:30 pm

When I tried building the 5790 branch again, it failed with the same error.

Code: Select all
C:\code>python automate\automate-git.py --download-dir=c:\code\chromium_git --branch=5790 --with-pgo-profiles --force-clean
--> Download Directory: c:\code\chromium_git
--> Depot Tools Directory: c:\code\chromium_git\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "c:\code\chromium_git\depot_tools"...
Updating depot_tools...
--> Removing directory c:\code\chromium_git\cef
--> CEF Branch: 5790
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: c:\code\chromium_git\cef
-------- Running "c:\code\chromium_git\depot_tools\git.bat clone https://bitbucket.org/chromiumembedded/cef.git c:\code\chromium_git\cef" in "c:\code\chromium_git"...
Cloning into 'c:\code\chromium_git\cef'...
Receiving objects: 100% (83937/83937), 30.49 MiB | 14.53 MiB/s, done.
Resolving deltas: 100% (72574/72574), done.
-------- Running "c:\code\chromium_git\depot_tools\git.bat rev-parse HEAD" in "c:\code\chromium_git\cef"...
-------- Running "c:\code\chromium_git\depot_tools\git.bat rev-parse origin/5790" in "c:\code\chromium_git\cef"...
--> CEF Current Checkout: 52b4d7ba5a1a1eca7b3dc7267a323ea8cd6b2d0e
--> CEF Desired Checkout: fcd259c3e0ac11e52e660a4609445246aa3b6837 (origin/5790)
-------- Running "c:\code\chromium_git\depot_tools\git.bat checkout --force origin/5790" in "c:\code\chromium_git\cef"...
Note: switching to 'origin/5790'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at fcd259c3e Update to Chromium version 115.0.5790.171
--> Reading c:\code\chromium_git\cef\CHROMIUM_BUILD_COMPATIBILITY.txt
-------- Running "c:\code\chromium_git\depot_tools\git.bat checkout --force df2f11113c" in "c:\code\chromium_git\depot_tools"...
Previous HEAD position was 6d0c235d Print reproxy start/stop times
HEAD is now at df2f1111 Update code-owners documentation links
--> CEF Output Directory: c:\code\chromium_git\out_5790
-------- Running "c:\code\chromium_git\depot_tools\git.bat config --get remote.origin.url" in "c:\code\chromium_git\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "c:\code\chromium_git\depot_tools\git.bat fetch" in "c:\code\chromium_git\chromium\src"...
remote: Finding sources: 100% (20022/20022)
remote: Total 20022 (delta 11900), reused 19618 (delta 11900)
Receiving objects: 100% (20022/20022), 110.70 MiB | 27.75 MiB/s, done.
Resolving deltas: 100% (11900/11900), completed with 3066 local objects.
From https://chromium.googlesource.com/chromium/src
   31cb6d53018ae..6e0174a2c8da2  lkgr                   -> origin/lkgr
   699b4943a08f2..0370c8ccedd48  lkgr-android-internal  -> origin/lkgr-android-internal
   e24b86be7f69e..f8df1f73548fe  main                   -> origin/main
   b85b6f51b4569..9d847efe2861c  refs/branch-heads/5735 -> branch-heads/5735
   6f5bf52599f6c..909221e0d9399  refs/branch-heads/5790 -> branch-heads/5790
   03e75d7506855..e3514efa58b80  refs/branch-heads/5845 -> branch-heads/5845
   2f7da36dee4d6..9b7ca6c0814c3  refs/branch-heads/5926 -> branch-heads/5926
 * [new ref]                     refs/branch-heads/5928 -> branch-heads/5928
 * [new ref]                     refs/branch-heads/5929 -> branch-heads/5929
 * [new ref]                     refs/branch-heads/5930 -> branch-heads/5930
 * [new ref]                     refs/branch-heads/5931 -> branch-heads/5931
 * [new ref]                     refs/branch-heads/5932 -> branch-heads/5932
 * [new ref]                     refs/branch-heads/5933 -> branch-heads/5933
 * [new ref]                     refs/branch-heads/5934 -> branch-heads/5934
 * [new tag]                     117.0.5926.3           -> 117.0.5926.3
 * [new tag]                     117.0.5928.0           -> 117.0.5928.0
 * [new tag]                     117.0.5928.1           -> 117.0.5928.1
 * [new tag]                     117.0.5928.2           -> 117.0.5928.2
 * [new tag]                     117.0.5929.0           -> 117.0.5929.0
 * [new tag]                     117.0.5929.1           -> 117.0.5929.1
 * [new tag]                     117.0.5930.0           -> 117.0.5930.0
 * [new tag]                     117.0.5930.1           -> 117.0.5930.1
 * [new tag]                     117.0.5931.0           -> 117.0.5931.0
 * [new tag]                     117.0.5931.1           -> 117.0.5931.1
 * [new tag]                     117.0.5931.2           -> 117.0.5931.2
 * [new tag]                     117.0.5931.3           -> 117.0.5931.3
 * [new tag]                     117.0.5932.0           -> 117.0.5932.0
 * [new tag]                     117.0.5932.1           -> 117.0.5932.1
 * [new tag]                     117.0.5933.0           -> 117.0.5933.0
 * [new tag]                     117.0.5933.1           -> 117.0.5933.1
 * [new tag]                     117.0.5934.0           -> 117.0.5934.0
 * [new tag]                     117.0.5934.1           -> 117.0.5934.1
-------- Running "c:\code\chromium_git\depot_tools\git.bat fetch --tags" in "c:\code\chromium_git\chromium\src"...
remote: Finding sources: 100% (39/39)
remote: Total 39 (delta 0), reused 27 (delta 0)
Unpacking objects: 100% (39/39), 439.94 KiB | 2.54 MiB/s, done.
From https://chromium.googlesource.com/chromium/src
   f8df1f73548fe..1e4adc02a23e2  main           -> origin/main
 * [new tag]                     114.0.5735.322 -> 114.0.5735.322
 * [new tag]                     114.0.5735.323 -> 114.0.5735.323
 * [new tag]                     114.0.5735.324 -> 114.0.5735.324
 * [new tag]                     114.0.5735.325 -> 114.0.5735.325
 * [new tag]                     115.0.5790.176 -> 115.0.5790.176
 * [new tag]                     115.0.5790.177 -> 115.0.5790.177
 * [new tag]                     115.0.5790.178 -> 115.0.5790.178
 * [new tag]                     115.0.5790.179 -> 115.0.5790.179
 * [new tag]                     116.0.5845.64  -> 116.0.5845.64
 * [new tag]                     116.0.5845.65  -> 116.0.5845.65
 * [new tag]                     116.0.5845.66  -> 116.0.5845.66
 * [new tag]                     116.0.5845.67  -> 116.0.5845.67
-------- Running "c:\code\chromium_git\depot_tools\git.bat rev-parse HEAD" in "c:\code\chromium_git\chromium\src"...
-------- Running "c:\code\chromium_git\depot_tools\git.bat rev-parse refs/tags/115.0.5790.171" in "c:\code\chromium_git\chromium\src"...
--> Chromium Current Checkout: 6cbf6604c77a3c531881c8174e5e27b6aa1c2065
--> Chromium Desired Checkout: 3ece4660bd6d546d011143def1237d7437e6f384 (refs/tags/115.0.5790.171)
--> Removing directory c:\code\chromium_git\chromium\src\cef
--> Removing directory c:\code\chromium_git\chromium\src\out
-------- Running "gclient revert --nohooks" in "c:\code\chromium_git\chromium"...
1>Syncing projects:   0% ( 0/ 2)
[0:02:44] Still working on:
[0:02:44]   src
Syncing projects:  70% (92/130) src/third_party/devtools-frontend/src

src/third_party/openscreen/src (ERROR)
----------------------------------------
[0:03:12] Started.
From https://chromium.googlesource.com/openscreen
[0:03:17]    e0a2bb7e..07243a7a  main       -> origin/main
----------------------------------------
Error: 87> Wrong keys 'git_dependencies' in {'vars': {'boringssl_git': 'https://boringssl.googlesource.com', 'chromium_git': 'https://chromium.googlesource.com', 'quiche_git': 'https://quiche.googlesource.com', 'github': 'https://github.com', 'build_with_chromium': False, 'checkout_clang_coverage_tools': True, 'gn_version': 'git_revision:5e19d2fb166fbd4f6f32147fbb2f497091a54ad8', 'clang_format_revision': 'e435ad79c17b1888b34df88d6a30a094936e3836', 'SUBMODULE_MIGRATION': 'True'}, 'use_relative_paths': True, 'git_dependencies': 'SYNC', 'deps': {'buildtools': {'url': 'https://chromium.googlesource.com/chromium/src/buildtools@3c7e3f1b8b1e4c0b6ec693430379cea682de78d6', 'condition': 'not build_with_chromium'}, 'third_party/clang-format/script': {'url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@e5337933f2951cacd3aeacd238ce4578163ca0b9', 'condition': 'not build_with_chromium'}, 'buildtools/linux64': {'packages': [{'package': 'gn/gn/linux-amd64', 'version': 'git_revision:811d332bd90551342c5cbd39e133aa276022d7f8'}], 'dep_type': 'cipd', 'condition': 'host_os == "linux" and not build_with_chromium'}, 'buildtools/mac': {'packages': [{'package': 'gn/gn/mac-${arch}', 'version': 'git_revision:811d332bd90551342c5cbd39e133aa276022d7f8'}], 'dep_type': 'cipd', 'condition': 'host_os == "mac" and not build_with_chromium'}, 'third_party/ninja': {'packages': [{'package': 'infra/3pp/tools/ninja/${platform}', 'version': 'version:2@1.8.2.chromium.3'}], 'dep_type': 'cipd', 'condition': 'not build_with_chromium'}, 'third_party/protobuf/src': {'url': 'https://chromium.googlesource.com/external/github.com/protocolbuffers/protobuf.git@909a0f36a10075c4b4bc70fdee2c7e32dd612a72', 'condition': 'not build_with_chromium'}, 'third_party/libprotobuf-mutator/src': {'url': 'https://chromium.googlesource.com/external/github.com/google/libprotobuf-mutator.git@a304ec48dcf15d942607032151f7e9ee504b5dcf', 'condition': 'not build_with_chromium'}, 'third_party/zlib/src': {'url': 'https://github.com/madler/zlib.git@04f42ceca40f73e2978b50e93806c2a18c1281fc', 'condition': 'not build_with_chromium'}, 'third_party/jsoncpp/src': {'url': 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@5defb4ed1a4293b8e2bf641e16b156fb9de498cc', 'condition': 'not build_with_chromium'}, 'third_party/googletest/src': {'url': 'https://chromium.googlesource.com/external/github.com/google/googletest.git@b495f72f1f096135cf9cf8c7879b5b89250de50a', 'condition': 'not build_with_chromium'}, 'third_party/boringssl/src': {'url': 'https://boringssl.googlesource.com/boringssl.git@51ed32f1971956a904ce7b3a7ff10716e76eecd4', 'condition': 'not build_with_chromium'}, 'third_party/quiche/src': {'url': 'https://quiche.googlesource.com/quiche.git@7b58beaec1f65b8e074ddb81796e34f3d6d83cf3', 'condition': 'not build_with_chromium'}, 'third_party/tinycbor/src': 'https://chromium.googlesource.com/external/github.com/intel/tinycbor.git@d393c16f3eb30d0c47e6f9d92db62272f0ec4dc7', 'third_party/abseil/src': {'url': 'https://chromium.googlesource.com/external/github.com/abseil/abseil-cpp.git@78be63686ba732b25052be15f8d6dee891c05749', 'condition': 'not build_with_chromium'}, 'third_party/libfuzzer/src': {'url': 'https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git@debe7d2d1982e540fbd6bd78604bf001753f9e74', 'condition': 'not build_with_chromium'}, 'third_party/modp_b64': {'url': 'https://chromium.googlesource.com/chromium/src/third_party/modp_b64@3643752c065d984647f0ded68a9a01926fb3b9cd', 'condition': 'not build_with_chromium'}, 'third_party/valijson/src': {'url': 'https://github.com/tristanpenman/valijson.git@78ac8a737df56b5334354efe104ea8f99e2a2f00', 'condition': 'not build_with_chromium'}}, 'hooks': [{'name': 'clang_update_script', 'pattern': '.', 'condition': 'not build_with_chromium', 'action': ['tools/download-clang-update-script.py', '--output', 'tools/clang/scripts/update.py']}, {'name': 'update_clang', 'pattern': '.', 'condition': 'not build_with_chromium', 'action': ['python3', 'tools/clang/scripts/update.py']}, {'name': 'clang_coverage_tools', 'pattern': '.', 'condition': 'not build_with_chromium and checkout_clang_coverage_tools', 'action': ['python3', 'tools/clang/scripts/update.py', '--package=coverage_tools']}, {'name': 'clang_format_linux64', 'pattern': '.', 'action': ['download_from_google_storage.py', '--no_resume', '--no_auth', '--bucket', 'chromium-clang-format', '-s', 'buildtools/linux64/clang-format.sha1'], 'condition': 'host_os == "linux" and not build_with_chromium'}, {'name': 'clang_format_mac_x64', 'pattern': '.', 'action': ['download_from_google_storage.py', '--no_resume', '--no_auth', '--bucket', 'chromium-clang-format', '-s', 'buildtools/mac/clang-format.x64.sha1'], 'condition': 'host_os == "mac" and host_cpu == "x64" and not build_with_chromium'}, {'name': 'clang_format_mac_arm64', 'pattern': '.', 'action': ['download_from_google_storage.py', '--no_resume', '--no_auth', '--bucket', 'chromium-clang-format', '-s', 'buildtools/mac/clang-format.arm64.sha1'], 'condition': 'host_os == "mac" and host_cpu == "arm64" and not build_with_chromium'}], 'include_rules': ['+util', '+platform/api', '+platform/base', '+platform/test', '+testing/util', '+third_party', '-discovery', '+discovery/common', '+discovery/dnssd/public', '+discovery/mdns/public', '+discovery/public', '-third_party/abseil', '+absl/algorithm/container.h', '+absl/base/thread_annotations.h', '+absl/hash/hash.h', '+absl/hash/hash_testing.h', '+absl/strings/ascii.h', '+absl/strings/match.h', '+absl/strings/numbers.h', '+absl/strings/str_cat.h', '+absl/strings/str_join.h', '+absl/strings/str_replace.h', '+absl/strings/str_split.h', '+absl/strings/string_view.h', '+absl/strings/substitute.h', '+absl/types/optional.h', '+absl/types/span.h', '+absl/types/variant.h', '-third_party/boringssl', '-third_party/googletest', '+gtest', '+gmock']}
Traceback (most recent call last):
  File "automate\automate-git.py", line 1232, in <module>
    run("gclient revert --nohooks", chromium_dir, depot_tools_dir)
  File "automate\automate-git.py", line 67, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "C:\code\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'revert', '--nohooks']' returned non-zero exit status 1


Error: 87> Wrong keys 'git_dependencies'

Similarly, "Error: 87" occurs.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5790 branch build fails (Win32)

Postby naoki5 » Mon Aug 07, 2023 8:40 pm

magreenblatt wrote:
Error: 87> Wrong keys 'git_dependencies'

I've updated the pinned version of depot_tools for 5790 and 5845 branches to include this commit that should fix the issue.


I seem to have run the build before that update.
I will try again.
Thanks.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5790 branch build fails (Win32)

Postby naoki5 » Tue Aug 08, 2023 11:16 pm

Build succeeded.
Thank you.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5790 branch build fails (Win32)

Postby dennprog » Fri Aug 18, 2023 3:02 am

Can I work around this error without updating to the new version? I cannot do that because of dependency with JCEF.
dennprog
Newbie
 
Posts: 7
Joined: Fri Feb 10, 2023 6:58 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 188 guests

cron