chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.09k stars 450 forks source link

Key 'deps' error #3696

Closed mayl0415 closed 1 month ago

mayl0415 commented 1 month ago

This is my update.sh configuration,

!/bin/bash

python3 ../automate/automate-git.py --download-dir=/root/code/chromium_git --depot-tools-dir=/root/code/depot_tools --no-distrib --no-build --branch=4896 --no-debug-build --no-depot-tools-update

When I execute it, the error is as follows:

2c66625e08bad..51be84a2aa821 main -> origin/main -------- Running "git fetch --tags" in "/root/code/chromium_git/chromium/src"... -------- Running "git rev-parse HEAD" in "/root/code/chromium_git/chromium/src"... -------- Running "git rev-parse refs/tags/100.0.4896.127" in "/root/code/chromium_git/chromium/src"... --> Chromium Current Checkout: 2c66625e08bada3551f655a84a5d8e9658d7d29f --> Chromium Desired Checkout: 868b46452cfe324558c39dbf9182f86a609296db (refs/tags/100.0.4896.127) --> Moving directory /root/code/chromium_git/chromium/src/out to /root/code/chromium_git/out_4896 -------- Running "gclient revert --nohooks" in "/root/code/chromium_git/chromium"... Syncing projects: 100% ( 1/ 1) src src (ERROR)

[0:00:00] Started.

____ running 'git clean -f -d' in '/root/code/chromium_git/chromium/src'

[0:00:05] Removing cef/.gitignore [0:00:05] Removing cef/.style.cfg [0:00:05] Removing cef/.style.yapf [0:00:05] Removing cef/AUTHORS.txt [0:00:05] Removing cef/BUILD.gn [0:00:05] Removing cef/CHROMIUM_BUILD_COMPATIBILITY.txt [0:00:05] Removing cef/CHROMIUM_UPDATE.txt [0:00:05] Removing cef/CMakeLists.txt.in [0:00:05] Removing cef/DEPS [0:00:05] Removing cef/LICENSE.txt [0:00:05] Removing cef/README.md [0:00:05] Removing cef/VERSION.in [0:00:05] Removing cef/cef_create_projects.bat [0:00:05] Removing cef/cef_create_projects.sh [0:00:05] Removing cef/cef_paths.gypi [0:00:05] Removing cef/cef_paths2.gypi [0:00:05] Removing cef/cmake/ [0:00:05] Removing cef/include/base/ [0:00:05] Removing cef/include/capi/ [0:00:05] Removing cef/include/cef_accessibility_handler.h [0:00:05] Removing cef/include/cef_api_hash.h [0:00:05] Removing cef/include/cef_app.h [0:00:05] Removing cef/include/cef_application_mac.h [0:00:05] Removing cef/include/cef_audio_handler.h [0:00:05] Removing cef/include/cef_auth_callback.h [0:00:05] Removing cef/include/cef_base.h [0:00:05] Removing cef/include/cef_browser.h [0:00:05] Removing cef/include/cef_browser_process_handler.h [0:00:05] Removing cef/include/cef_callback.h [0:00:05] Removing cef/include/cef_client.h [0:00:05] Removing cef/include/cef_command_line.h [0:00:05] Removing cef/include/cef_context_menu_handler.h [0:00:05] Removing cef/include/cef_cookie.h [0:00:05] Removing cef/include/cef_crash_util.h [0:00:05] Removing cef/include/cef_devtools_message_observer.h [0:00:05] Removing cef/include/cef_dialog_handler.h [0:00:05] Removing cef/include/cef_display_handler.h [0:00:05] Removing cef/include/cef_dom.h [0:00:05] Removing cef/include/cef_download_handler.h [0:00:05] Removing cef/include/cef_download_item.h [0:00:05] Removing cef/include/cef_drag_data.h [0:00:05] Removing cef/include/cef_drag_handler.h [0:00:05] Removing cef/include/cef_extension.h [0:00:05] Removing cef/include/cef_extension_handler.h [0:00:05] Removing cef/include/cef_file_util.h [0:00:05] Removing cef/include/cef_find_handler.h [0:00:05] Removing cef/include/cef_focus_handler.h [0:00:05] Removing cef/include/cef_frame.h [0:00:05] Removing cef/include/cef_frame_handler.h [0:00:05] Removing cef/include/cef_i18n_util.h [0:00:05] Removing cef/include/cef_image.h [0:00:05] Removing cef/include/cef_jsdialog_handler.h [0:00:05] Removing cef/include/cef_keyboard_handler.h [0:00:05] Removing cef/include/cef_life_span_handler.h [0:00:05] Removing cef/include/cef_load_handler.h [0:00:05] Removing cef/include/cef_media_router.h [0:00:05] Removing cef/include/cef_menu_model.h [0:00:05] Removing cef/include/cef_menu_model_delegate.h [0:00:05] Removing cef/include/cef_navigation_entry.h [0:00:05] Removing cef/include/cef_origin_whitelist.h [0:00:05] Removing cef/include/cef_parser.h [0:00:05] Removing cef/include/cef_path_util.h [0:00:05] Removing cef/include/cef_print_handler.h [0:00:05] Removing cef/include/cef_print_settings.h [0:00:05] Removing cef/include/cef_process_message.h [0:00:05] Removing cef/include/cef_process_util.h [0:00:05] Removing cef/include/cef_registration.h [0:00:05] Removing cef/include/cef_render_handler.h [0:00:05] Removing cef/include/cef_render_process_handler.h [0:00:05] Removing cef/include/cef_request.h [0:00:05] Removing cef/include/cef_request_context.h [0:00:05] Removing cef/include/cef_request_context_handler.h [0:00:05] Removing cef/include/cef_request_handler.h [0:00:05] Removing cef/include/cef_resource_bundle.h [0:00:05] Removing cef/include/cef_resource_bundle_handler.h [0:00:05] Removing cef/include/cef_resource_handler.h [0:00:05] Removing cef/include/cef_resource_request_handler.h [0:00:05] Removing cef/include/cef_response.h [0:00:05] Removing cef/include/cef_response_filter.h [0:00:05] Removing cef/include/cef_sandbox_mac.h [0:00:05] Removing cef/include/cef_sandbox_win.h [0:00:05] Removing cef/include/cef_scheme.h [0:00:05] Removing cef/include/cef_server.h [0:00:05] Removing cef/include/cef_ssl_info.h [0:00:05] Removing cef/include/cef_ssl_status.h [0:00:05] Removing cef/include/cef_stream.h [0:00:05] Removing cef/include/cef_string_visitor.h [0:00:05] Removing cef/include/cef_task.h [0:00:05] Removing cef/include/cef_thread.h [0:00:05] Removing cef/include/cef_trace.h [0:00:05] Removing cef/include/cef_urlrequest.h [0:00:05] Removing cef/include/cef_v8.h [0:00:05] Removing cef/include/cef_values.h [0:00:05] Removing cef/include/cef_waitable_event.h [0:00:05] Removing cef/include/cef_x509_certificate.h [0:00:05] Removing cef/include/cef_xml_reader.h [0:00:05] Removing cef/include/cef_zip_reader.h [0:00:05] Removing cef/include/internal/ [0:00:05] Removing cef/include/test/ [0:00:05] Removing cef/include/views/ [0:00:05] Removing cef/include/wrapper/ [0:00:05] Removing cef/libcef/ [0:00:05] Removing cef/libcef_dll/ [0:00:05] Removing cef/patch/ [0:00:05] Removing cef/tests/ [0:00:05] Removing cef/tools/automate/ [0:00:05] Removing cef/tools/cef_api_hash.py [0:00:05] Removing cef/tools/cef_parser.py [0:00:05] Removing cef/tools/cef_version.py [0:00:05] Removing cef/tools/cefbuilds/ [0:00:05] Removing cef/tools/clang_util.py [0:00:05] Removing cef/tools/combine_libs.py [0:00:05] Removing cef/tools/compile_ib_files.py [0:00:05] Removing cef/tools/crash_server.py [0:00:05] Removing cef/tools/date_util.py [0:00:05] Removing cef/tools/distrib/ [0:00:05] Removing cef/tools/exec_util.py [0:00:05] Removing cef/tools/file_util.py [0:00:05] Removing cef/tools/fix_style.bat [0:00:05] Removing cef/tools/fix_style.py [0:00:05] Removing cef/tools/fix_style.sh [0:00:05] Removing cef/tools/gclient_hook.py [0:00:05] Removing cef/tools/gclient_util.py [0:00:05] Removing cef/tools/git_util.py [0:00:05] Removing cef/tools/gn_args.py [0:00:05] Removing cef/tools/gypi_to_gn.py [0:00:05] Removing cef/tools/issue_1999.py [0:00:05] Removing cef/tools/make_api_hash_header.py [0:00:05] Removing cef/tools/make_capi_header.py [0:00:05] Removing cef/tools/make_cmake.py [0:00:05] Removing cef/tools/make_config_header.py [0:00:05] Removing cef/tools/make_cppdocs.bat [0:00:05] Removing cef/tools/make_cpptoc_header.py [0:00:05] Removing cef/tools/make_cpptoc_impl.py [0:00:05] Removing cef/tools/make_ctocpp_header.py [0:00:05] Removing cef/tools/make_ctocpp_impl.py [0:00:05] Removing cef/tools/make_distrib.bat [0:00:05] Removing cef/tools/make_distrib.py [0:00:05] Removing cef/tools/make_distrib.sh [0:00:05] Removing cef/tools/make_gypi_file.py [0:00:05] Removing cef/tools/make_libcef_dll_dylib_impl.py [0:00:05] Removing cef/tools/make_pack_header.py [0:00:05] Removing cef/tools/make_version_header.bat [0:00:05] Removing cef/tools/make_version_header.py [0:00:05] Removing cef/tools/make_version_header.sh [0:00:05] Removing cef/tools/make_views_stub_impl.py [0:00:05] Removing cef/tools/make_wrapper_types_header.py [0:00:05] Removing cef/tools/msvs_env.bat [0:00:05] Removing cef/tools/patch.bat [0:00:05] Removing cef/tools/patch.sh [0:00:05] Removing cef/tools/patch_updater.bat [0:00:05] Removing cef/tools/patch_updater.py [0:00:05] Removing cef/tools/patch_updater.sh [0:00:05] Removing cef/tools/patcher.README.txt [0:00:05] Removing cef/tools/patcher.py [0:00:05] Removing cef/tools/translator.README.txt [0:00:05] Removing cef/tools/translator.bat [0:00:05] Removing cef/tools/translator.py [0:00:05] Removing cef/tools/translator.sh [0:00:05] Removing cef/tools/yapf/ [0:00:05] Removing cef/tools/yapf_util.py

Error: 1> Key 'deps' error: 1> Key 'src/third_party/js_code_coverage' error: 1> Or(None, <class 'str'>, <function _NodeDictSchema..validate at 0x7f32c9caa940>, <function _NodeDictSchema..validate at 0x7f32c9caaa60>) did not validate {'dep_type': 'gcs', 'condition': 'checkout_js_coverage_modules and non_git_source', 'bucket': 'chromium-nodejs', 'objects': [{'object_name': 'js_code_coverage/d538975c93eefc7bafd599b50f867e90c1ef17f3', 'sha256sum': '646bb00ced0a930b2eb1e4dbcfac18ebbb8f889bb80599e0254d9d6505427914', 'size_bytes': 1469185, 'generation': 1657780123604338}]} 1> Missing keys: 'packages'

Traceback (most recent call last): File "../automate/automate-git.py", line 1367, in run("gclient revert --nohooks", chromium_dir, depot_tools_dir) File "../automate/automate-git.py", line 70, in run args, cwd=working_dir, env=env, shell=(sys.platform == 'win32')) File "/usr/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['gclient', 'revert', '--nohooks']' returned non-zero exit status 1. root@iZ2ze04x7s7tdpbwih1am5Z:~/code/chromium_git# cat update.sh

!/bin/bash

python3 ../automate/automate-git.py --download-dir=/root/code/chromium_git --depot-tools-dir=/root/code/depot_tools --no-distrib --no-build --branch=4896 --no-debug-build --no-depot-tools-update

--no-chromium-update

--no-cef-update --no-depot-tools-update --no-chromium-update

magreenblatt commented 1 month ago

See https://magpcss.org/ceforum/viewtopic.php?f=6&t=19773#p55193