Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.4.0, 6.4.1
-
None
-
Python 3.11.0, MSVC 2019 16.11.21, StrawberryPerl 5.32.1.1
-
-
864097a0fa (qt/qtwebengine-chromium/106-based) 55eb07dfc2 (qt/qtwebengine-chromium/102-based)
Description
WebEngine submodule fails build with Python 3.11.0 due to Python 3.11.0 no longer accepting universal newline ("U") as an acceptable file mode. This causes the WebEngine module to stop building due to "ValueError: invalid mode: 'rU'". Google has fixed this issue on 30th August via this commit. This will need to be ported to be able to build WebEngine with Python 3.11+.
[11575/28477] ACTION //base/tracing/protos:chrome_track_event_resources_grit(//build/toolchain/win:x64) FAILED: gen/base/tracing/protos/chrome_track_event_resources_grit.d.stamp gen/base/tracing/protos/grit/tracing_proto_resources.h gen/base/tracing/protos/tracing_proto_resources.pak gen/base/tracing/protos/tracing_proto_resources.pak.info C:/Users/eXhumer/PyEnv/qt-build/Scripts/python.exe ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/grit/grit.py -i ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/base/tracing/protos/resources.grd build -o gen/base/tracing/protos --depdir . --depfile gen/base/tracing/protos/chrome_track_event_resources_grit.d --write-only-new=1 --depend-on-stamp -E root_gen_dir=gen -E root_src_dir=../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/ -D SHARED_INTERMEDIATE_DIR=gen -D DEVTOOLS_GRD_PATH=gen/third_party/devtools-frontend/src/front_end/devtools_resources -D scale_factors=2x -D _chromium -E CHROMIUM_BUILD=chromium -D use_aura -f gen/tools/gritsettings/default_resource_ids -p ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/gritsettings/startup_resources_win.txt --assert-file-list obj/base/tracing/protos/chrome_track_event_resources_expected_outputs.txt Traceback (most recent call last): File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit.py", line 29, in <module> sys.exit(grit.grit_runner.Main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grit_runner.py", line 314, in Main return toolobject.Run(options, args[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\tool\build.py", line 255, in Run self.res = grd_reader.Parse(opts.input, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grd_reader.py", line 231, in Parse handler.root.AssignFirstIds(filename_or_stream, defines) File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 611, in AssignFirstIds src_root_dir, first_ids = _ReadFirstIdsFromFile(first_ids_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 67, in _ReadFirstIdsFromFile first_ids_dict = eval(util.ReadFile(filename, 'utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\util.py", line 214, in ReadFile with io.open(filename, mode, encoding=encoding) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' [11576/28477] ACTION //chrome/app:chromium_strings_grit(//build/toolchain/win:x64) FAILED: gen/chrome/app/chromium_strings_grit.d.stamp gen/chrome/grit/chromium_strings.h gen/chrome/chromium_strings_af.pak gen/chrome/chromium_strings_am.pak gen/chrome/chromium_strings_ar.pak gen/chrome/chromium_strings_as.pak gen/chrome/chromium_strings_az.pak gen/chrome/chromium_strings_be.pak gen/chrome/chromium_strings_bg.pak gen/chrome/chromium_strings_bn.pak gen/chrome/chromium_strings_bs.pak gen/chrome/chromium_strings_ca.pak gen/chrome/chromium_strings_cs.pak gen/chrome/chromium_strings_cy.pak gen/chrome/chromium_strings_da.pak gen/chrome/chromium_strings_de.pak gen/chrome/chromium_strings_el.pak gen/chrome/chromium_strings_en-GB.pak gen/chrome/chromium_strings_en-US.pak gen/chrome/chromium_strings_es.pak gen/chrome/chromium_strings_es-419.pak gen/chrome/chromium_strings_et.pak gen/chrome/chromium_strings_eu.pak gen/chrome/chromium_strings_fa.pak gen/chrome/chromium_strings_fi.pak gen/chrome/chromium_strings_fil.pak gen/chrome/chromium_strings_fr.pak gen/chrome/chromium_strings_fr-CA.pak gen/chrome/chromium_strings_gl.pak gen/chrome/chromium_strings_gu.pak gen/chrome/chromium_strings_he.pak gen/chrome/chromium_strings_hi.pak gen/chrome/chromium_strings_hr.pak gen/chrome/chromium_strings_hu.pak gen/chrome/chromium_strings_hy.pak gen/chrome/chromium_strings_id.pak gen/chrome/chromium_strings_is.pak gen/chrome/chromium_strings_it.pak gen/chrome/chromium_strings_ja.pak gen/chrome/chromium_strings_ka.pak gen/chrome/chromium_strings_kk.pak gen/chrome/chromium_strings_km.pak gen/chrome/chromium_strings_kn.pak gen/chrome/chromium_strings_ko.pak gen/chrome/chromium_strings_ky.pak gen/chrome/chromium_strings_lo.pak gen/chrome/chromium_strings_lt.pak gen/chrome/chromium_strings_lv.pak gen/chrome/chromium_strings_mk.pak gen/chrome/chromium_strings_ml.pak gen/chrome/chromium_strings_mn.pak gen/chrome/chromium_strings_mr.pak gen/chrome/chromium_strings_ms.pak gen/chrome/chromium_strings_my.pak gen/chrome/chromium_strings_nb.pak gen/chrome/chromium_strings_ne.pak gen/chrome/chromium_strings_nl.pak gen/chrome/chromium_strings_or.pak gen/chrome/chromium_strings_pa.pak gen/chrome/chromium_strings_pl.pak gen/chrome/chromium_strings_pt-BR.pak gen/chrome/chromium_strings_pt-PT.pak gen/chrome/chromium_strings_ro.pak gen/chrome/chromium_strings_ru.pak gen/chrome/chromium_strings_si.pak gen/chrome/chromium_strings_sk.pak gen/chrome/chromium_strings_sl.pak gen/chrome/chromium_strings_sq.pak gen/chrome/chromium_strings_sr.pak gen/chrome/chromium_strings_sr-Latn.pak gen/chrome/chromium_strings_sv.pak gen/chrome/chromium_strings_sw.pak gen/chrome/chromium_strings_ta.pak gen/chrome/chromium_strings_te.pak gen/chrome/chromium_strings_th.pak gen/chrome/chromium_strings_tr.pak gen/chrome/chromium_strings_uk.pak gen/chrome/chromium_strings_ur.pak gen/chrome/chromium_strings_uz.pak gen/chrome/chromium_strings_vi.pak gen/chrome/chromium_strings_zh-CN.pak gen/chrome/chromium_strings_zh-HK.pak gen/chrome/chromium_strings_zh-TW.pak gen/chrome/chromium_strings_zu.pak gen/chrome/chromium_strings_ar-XB.pak gen/chrome/chromium_strings_en-XA.pak gen/chrome/chromium_strings_af.pak.info gen/chrome/chromium_strings_am.pak.info gen/chrome/chromium_strings_ar.pak.info gen/chrome/chromium_strings_as.pak.info gen/chrome/chromium_strings_az.pak.info gen/chrome/chromium_strings_be.pak.info gen/chrome/chromium_strings_bg.pak.info gen/chrome/chromium_strings_bn.pak.info gen/chrome/chromium_strings_bs.pak.info gen/chrome/chromium_strings_ca.pak.info gen/chrome/chromium_strings_cs.pak.info gen/chrome/chromium_strings_cy.pak.info gen/chrome/chromium_strings_da.pak.info gen/chrome/chromium_strings_de.pak.info gen/chrome/chromium_strings_el.pak.info gen/chrome/chromium_strings_en-GB.pak.info gen/chrome/chromium_strings_en-US.pak.info gen/chrome/chromium_strings_es.pak.info gen/chrome/chromium_strings_es-419.pak.info gen/chrome/chromium_strings_et.pak.info gen/chrome/chromium_strings_eu.pak.info gen/chrome/chromium_strings_fa.pak.info gen/chrome/chromium_strings_fi.pak.info gen/chrome/chromium_strings_fil.pak.info gen/chrome/chromium_strings_fr.pak.info gen/chrome/chromium_strings_fr-CA.pak.info gen/chrome/chromium_strings_gl.pak.info gen/chrome/chromium_strings_gu.pak.info gen/chrome/chromium_strings_he.pak.info gen/chrome/chromium_strings_hi.pak.info gen/chrome/chromium_strings_hr.pak.info gen/chrome/chromium_strings_hu.pak.info gen/chrome/chromium_strings_hy.pak.info gen/chrome/chromium_strings_id.pak.info gen/chrome/chromium_strings_is.pak.info gen/chrome/chromium_strings_it.pak.info gen/chrome/chromium_strings_ja.pak.info gen/chrome/chromium_strings_ka.pak.info gen/chrome/chromium_strings_kk.pak.info gen/chrome/chromium_strings_km.pak.info gen/chrome/chromium_strings_kn.pak.info gen/chrome/chromium_strings_ko.pak.info gen/chrome/chromium_strings_ky.pak.info gen/chrome/chromium_strings_lo.pak.info gen/chrome/chromium_strings_lt.pak.info gen/chrome/chromium_strings_lv.pak.info gen/chrome/chromium_strings_mk.pak.info gen/chrome/chromium_strings_ml.pak.info gen/chrome/chromium_strings_mn.pak.info gen/chrome/chromium_strings_mr.pak.info gen/chrome/chromium_strings_ms.pak.info gen/chrome/chromium_strings_my.pak.info gen/chrome/chromium_strings_nb.pak.info gen/chrome/chromium_strings_ne.pak.info gen/chrome/chromium_strings_nl.pak.info gen/chrome/chromium_strings_or.pak.info gen/chrome/chromium_strings_pa.pak.info gen/chrome/chromium_strings_pl.pak.info gen/chrome/chromium_strings_pt-BR.pak.info gen/chrome/chromium_strings_pt-PT.pak.info gen/chrome/chromium_strings_ro.pak.info gen/chrome/chromium_strings_ru.pak.info gen/chrome/chromium_strings_si.pak.info gen/chrome/chromium_strings_sk.pak.info gen/chrome/chromium_strings_sl.pak.info gen/chrome/chromium_strings_sq.pak.info gen/chrome/chromium_strings_sr.pak.info gen/chrome/chromium_strings_sr-Latn.pak.info gen/chrome/chromium_strings_sv.pak.info gen/chrome/chromium_strings_sw.pak.info gen/chrome/chromium_strings_ta.pak.info gen/chrome/chromium_strings_te.pak.info gen/chrome/chromium_strings_th.pak.info gen/chrome/chromium_strings_tr.pak.info gen/chrome/chromium_strings_uk.pak.info gen/chrome/chromium_strings_ur.pak.info gen/chrome/chromium_strings_uz.pak.info gen/chrome/chromium_strings_vi.pak.info gen/chrome/chromium_strings_zh-CN.pak.info gen/chrome/chromium_strings_zh-HK.pak.info gen/chrome/chromium_strings_zh-TW.pak.info gen/chrome/chromium_strings_zu.pak.info gen/chrome/chromium_strings_ar-XB.pak.info gen/chrome/chromium_strings_en-XA.pak.info C:/Users/eXhumer/PyEnv/qt-build/Scripts/python.exe ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/grit/grit.py -i ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/chrome/app/chromium_strings.grd build -o gen/chrome --depdir . --depfile gen/chrome/app/chromium_strings_grit.d --write-only-new=1 --depend-on-stamp -E root_gen_dir=gen -E root_src_dir=../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/ -D SHARED_INTERMEDIATE_DIR=gen -D DEVTOOLS_GRD_PATH=gen/third_party/devtools-frontend/src/front_end/devtools_resources -D scale_factors=2x -D _chromium -E CHROMIUM_BUILD=chromium -D use_aura -D enable_arcore=false -D enable_background_mode=true -D enable_background_contents=true -D enable_extensions=true -D enable_hangout_services_extension=true -D enable_plugins=true -D enable_pdf=true -D enable_print_preview=true -D enable_printing=true -D enable_service_discovery=true -D enable_side_search=false -D enable_supervised_users=false -D enable_vr=false -D enable_webrtc=true -D enable_webui_tab_strip=true -D safe_browsing_mode=0 -D optimize_webui=false -D enable_feed_v2=true -D use_nss_certs=false -f gen/tools/gritsettings/default_resource_ids -p ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/gritsettings/startup_resources_win.txt --assert-file-list obj/chrome/app/chromium_strings_expected_outputs.txt Traceback (most recent call last): File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit.py", line 29, in <module> sys.exit(grit.grit_runner.Main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grit_runner.py", line 314, in Main return toolobject.Run(options, args[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\tool\build.py", line 255, in Run self.res = grd_reader.Parse(opts.input, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grd_reader.py", line 231, in Parse handler.root.AssignFirstIds(filename_or_stream, defines) File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 611, in AssignFirstIds src_root_dir, first_ids = _ReadFirstIdsFromFile(first_ids_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 67, in _ReadFirstIdsFromFile first_ids_dict = eval(util.ReadFile(filename, 'utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\util.py", line 214, in ReadFile with io.open(filename, mode, encoding=encoding) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' [11577/28477] ACTION //chrome/app/resources:locale_settings_grit(//build/toolchain/win:x64) FAILED: gen/chrome/app/resources/locale_settings_grit.d.stamp gen/chrome/grit/locale_settings.h gen/chrome/locale_settings_af.pak gen/chrome/locale_settings_am.pak gen/chrome/locale_settings_ar.pak gen/chrome/locale_settings_as.pak gen/chrome/locale_settings_az.pak gen/chrome/locale_settings_be.pak gen/chrome/locale_settings_bg.pak gen/chrome/locale_settings_bn.pak gen/chrome/locale_settings_bs.pak gen/chrome/locale_settings_ca.pak gen/chrome/locale_settings_cs.pak gen/chrome/locale_settings_cy.pak gen/chrome/locale_settings_da.pak gen/chrome/locale_settings_de.pak gen/chrome/locale_settings_el.pak gen/chrome/locale_settings_en-GB.pak gen/chrome/locale_settings_en-US.pak gen/chrome/locale_settings_es.pak gen/chrome/locale_settings_es-419.pak gen/chrome/locale_settings_et.pak gen/chrome/locale_settings_eu.pak gen/chrome/locale_settings_fa.pak gen/chrome/locale_settings_fi.pak gen/chrome/locale_settings_fil.pak gen/chrome/locale_settings_fr.pak gen/chrome/locale_settings_fr-CA.pak gen/chrome/locale_settings_gl.pak gen/chrome/locale_settings_gu.pak gen/chrome/locale_settings_he.pak gen/chrome/locale_settings_hi.pak gen/chrome/locale_settings_hr.pak gen/chrome/locale_settings_hu.pak gen/chrome/locale_settings_hy.pak gen/chrome/locale_settings_id.pak gen/chrome/locale_settings_is.pak gen/chrome/locale_settings_it.pak gen/chrome/locale_settings_ja.pak gen/chrome/locale_settings_ka.pak gen/chrome/locale_settings_kk.pak gen/chrome/locale_settings_km.pak gen/chrome/locale_settings_kn.pak gen/chrome/locale_settings_ko.pak gen/chrome/locale_settings_ky.pak gen/chrome/locale_settings_lo.pak gen/chrome/locale_settings_lt.pak gen/chrome/locale_settings_lv.pak gen/chrome/locale_settings_mk.pak gen/chrome/locale_settings_ml.pak gen/chrome/locale_settings_mn.pak gen/chrome/locale_settings_mr.pak gen/chrome/locale_settings_ms.pak gen/chrome/locale_settings_my.pak gen/chrome/locale_settings_nb.pak gen/chrome/locale_settings_ne.pak gen/chrome/locale_settings_nl.pak gen/chrome/locale_settings_or.pak gen/chrome/locale_settings_pa.pak gen/chrome/locale_settings_pl.pak gen/chrome/locale_settings_pt-BR.pak gen/chrome/locale_settings_pt-PT.pak gen/chrome/locale_settings_ro.pak gen/chrome/locale_settings_ru.pak gen/chrome/locale_settings_si.pak gen/chrome/locale_settings_sk.pak gen/chrome/locale_settings_sl.pak gen/chrome/locale_settings_sq.pak gen/chrome/locale_settings_sr.pak gen/chrome/locale_settings_sr-Latn.pak gen/chrome/locale_settings_sv.pak gen/chrome/locale_settings_sw.pak gen/chrome/locale_settings_ta.pak gen/chrome/locale_settings_te.pak gen/chrome/locale_settings_th.pak gen/chrome/locale_settings_tr.pak gen/chrome/locale_settings_uk.pak gen/chrome/locale_settings_ur.pak gen/chrome/locale_settings_uz.pak gen/chrome/locale_settings_vi.pak gen/chrome/locale_settings_zh-CN.pak gen/chrome/locale_settings_zh-HK.pak gen/chrome/locale_settings_zh-TW.pak gen/chrome/locale_settings_zu.pak gen/chrome/locale_settings_ar-XB.pak gen/chrome/locale_settings_en-XA.pak gen/chrome/locale_settings_af.pak.info gen/chrome/locale_settings_am.pak.info gen/chrome/locale_settings_ar.pak.info gen/chrome/locale_settings_as.pak.info gen/chrome/locale_settings_az.pak.info gen/chrome/locale_settings_be.pak.info gen/chrome/locale_settings_bg.pak.info gen/chrome/locale_settings_bn.pak.info gen/chrome/locale_settings_bs.pak.info gen/chrome/locale_settings_ca.pak.info gen/chrome/locale_settings_cs.pak.info gen/chrome/locale_settings_cy.pak.info gen/chrome/locale_settings_da.pak.info gen/chrome/locale_settings_de.pak.info gen/chrome/locale_settings_el.pak.info gen/chrome/locale_settings_en-GB.pak.info gen/chrome/locale_settings_en-US.pak.info gen/chrome/locale_settings_es.pak.info gen/chrome/locale_settings_es-419.pak.info gen/chrome/locale_settings_et.pak.info gen/chrome/locale_settings_eu.pak.info gen/chrome/locale_settings_fa.pak.info gen/chrome/locale_settings_fi.pak.info gen/chrome/locale_settings_fil.pak.info gen/chrome/locale_settings_fr.pak.info gen/chrome/locale_settings_fr-CA.pak.info gen/chrome/locale_settings_gl.pak.info gen/chrome/locale_settings_gu.pak.info gen/chrome/locale_settings_he.pak.info gen/chrome/locale_settings_hi.pak.info gen/chrome/locale_settings_hr.pak.info gen/chrome/locale_settings_hu.pak.info gen/chrome/locale_settings_hy.pak.info gen/chrome/locale_settings_id.pak.info gen/chrome/locale_settings_is.pak.info gen/chrome/locale_settings_it.pak.info gen/chrome/locale_settings_ja.pak.info gen/chrome/locale_settings_ka.pak.info gen/chrome/locale_settings_kk.pak.info gen/chrome/locale_settings_km.pak.info gen/chrome/locale_settings_kn.pak.info gen/chrome/locale_settings_ko.pak.info gen/chrome/locale_settings_ky.pak.info gen/chrome/locale_settings_lo.pak.info gen/chrome/locale_settings_lt.pak.info gen/chrome/locale_settings_lv.pak.info gen/chrome/locale_settings_mk.pak.info gen/chrome/locale_settings_ml.pak.info gen/chrome/locale_settings_mn.pak.info gen/chrome/locale_settings_mr.pak.info gen/chrome/locale_settings_ms.pak.info gen/chrome/locale_settings_my.pak.info gen/chrome/locale_settings_nb.pak.info gen/chrome/locale_settings_ne.pak.info gen/chrome/locale_settings_nl.pak.info gen/chrome/locale_settings_or.pak.info gen/chrome/locale_settings_pa.pak.info gen/chrome/locale_settings_pl.pak.info gen/chrome/locale_settings_pt-BR.pak.info gen/chrome/locale_settings_pt-PT.pak.info gen/chrome/locale_settings_ro.pak.info gen/chrome/locale_settings_ru.pak.info gen/chrome/locale_settings_si.pak.info gen/chrome/locale_settings_sk.pak.info gen/chrome/locale_settings_sl.pak.info gen/chrome/locale_settings_sq.pak.info gen/chrome/locale_settings_sr.pak.info gen/chrome/locale_settings_sr-Latn.pak.info gen/chrome/locale_settings_sv.pak.info gen/chrome/locale_settings_sw.pak.info gen/chrome/locale_settings_ta.pak.info gen/chrome/locale_settings_te.pak.info gen/chrome/locale_settings_th.pak.info gen/chrome/locale_settings_tr.pak.info gen/chrome/locale_settings_uk.pak.info gen/chrome/locale_settings_ur.pak.info gen/chrome/locale_settings_uz.pak.info gen/chrome/locale_settings_vi.pak.info gen/chrome/locale_settings_zh-CN.pak.info gen/chrome/locale_settings_zh-HK.pak.info gen/chrome/locale_settings_zh-TW.pak.info gen/chrome/locale_settings_zu.pak.info gen/chrome/locale_settings_ar-XB.pak.info gen/chrome/locale_settings_en-XA.pak.info C:/Users/eXhumer/PyEnv/qt-build/Scripts/python.exe ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/grit/grit.py -i ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/chrome/app/resources/locale_settings.grd build -o gen/chrome --depdir . --depfile gen/chrome/app/resources/locale_settings_grit.d --write-only-new=1 --depend-on-stamp -E root_gen_dir=gen -E root_src_dir=../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/ -D SHARED_INTERMEDIATE_DIR=gen -D DEVTOOLS_GRD_PATH=gen/third_party/devtools-frontend/src/front_end/devtools_resources -D scale_factors=2x -D _chromium -E CHROMIUM_BUILD=chromium -D use_aura -D enable_arcore=false -D enable_background_mode=true -D enable_background_contents=true -D enable_extensions=true -D enable_hangout_services_extension=true -D enable_plugins=true -D enable_pdf=true -D enable_print_preview=true -D enable_printing=true -D enable_service_discovery=true -D enable_side_search=false -D enable_supervised_users=false -D enable_vr=false -D enable_webrtc=true -D enable_webui_tab_strip=true -D safe_browsing_mode=0 -D optimize_webui=false -D enable_feed_v2=true -D use_nss_certs=false -f gen/tools/gritsettings/default_resource_ids -p ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/gritsettings/startup_resources_win.txt --assert-file-list obj/chrome/app/resources/locale_settings_expected_outputs.txt Traceback (most recent call last): File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit.py", line 29, in <module> sys.exit(grit.grit_runner.Main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grit_runner.py", line 314, in Main return toolobject.Run(options, args[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\tool\build.py", line 255, in Run self.res = grd_reader.Parse(opts.input, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grd_reader.py", line 231, in Parse handler.root.AssignFirstIds(filename_or_stream, defines) File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 611, in AssignFirstIds src_root_dir, first_ids = _ReadFirstIdsFromFile(first_ids_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 67, in _ReadFirstIdsFromFile first_ids_dict = eval(util.ReadFile(filename, 'utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\util.py", line 214, in ReadFile with io.open(filename, mode, encoding=encoding) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' [11581/28477] ACTION //chrome/app:generated_resources_grit(//build/toolchain/win:x64) FAILED: gen/chrome/app/generated_resources_grit.d.stamp gen/chrome/grit/generated_resources.h gen/chrome/generated_resources_af.pak gen/chrome/generated_resources_am.pak gen/chrome/generated_resources_ar.pak gen/chrome/generated_resources_as.pak gen/chrome/generated_resources_az.pak gen/chrome/generated_resources_be.pak gen/chrome/generated_resources_bg.pak gen/chrome/generated_resources_bn.pak gen/chrome/generated_resources_bs.pak gen/chrome/generated_resources_ca.pak gen/chrome/generated_resources_cs.pak gen/chrome/generated_resources_cy.pak gen/chrome/generated_resources_da.pak gen/chrome/generated_resources_de.pak gen/chrome/generated_resources_el.pak gen/chrome/generated_resources_en-GB.pak gen/chrome/generated_resources_en-US.pak gen/chrome/generated_resources_es.pak gen/chrome/generated_resources_es-419.pak gen/chrome/generated_resources_et.pak gen/chrome/generated_resources_eu.pak gen/chrome/generated_resources_fa.pak gen/chrome/generated_resources_fi.pak gen/chrome/generated_resources_fil.pak gen/chrome/generated_resources_fr.pak gen/chrome/generated_resources_fr-CA.pak gen/chrome/generated_resources_gl.pak gen/chrome/generated_resources_gu.pak gen/chrome/generated_resources_he.pak gen/chrome/generated_resources_hi.pak gen/chrome/generated_resources_hr.pak gen/chrome/generated_resources_hu.pak gen/chrome/generated_resources_hy.pak gen/chrome/generated_resources_id.pak gen/chrome/generated_resources_is.pak gen/chrome/generated_resources_it.pak gen/chrome/generated_resources_ja.pak gen/chrome/generated_resources_ka.pak gen/chrome/generated_resources_kk.pak gen/chrome/generated_resources_km.pak gen/chrome/generated_resources_kn.pak gen/chrome/generated_resources_ko.pak gen/chrome/generated_resources_ky.pak gen/chrome/generated_resources_lo.pak gen/chrome/generated_resources_lt.pak gen/chrome/generated_resources_lv.pak gen/chrome/generated_resources_mk.pak gen/chrome/generated_resources_ml.pak gen/chrome/generated_resources_mn.pak gen/chrome/generated_resources_mr.pak gen/chrome/generated_resources_ms.pak gen/chrome/generated_resources_my.pak gen/chrome/generated_resources_nb.pak gen/chrome/generated_resources_ne.pak gen/chrome/generated_resources_nl.pak gen/chrome/generated_resources_or.pak gen/chrome/generated_resources_pa.pak gen/chrome/generated_resources_pl.pak gen/chrome/generated_resources_pt-BR.pak gen/chrome/generated_resources_pt-PT.pak gen/chrome/generated_resources_ro.pak gen/chrome/generated_resources_ru.pak gen/chrome/generated_resources_si.pak gen/chrome/generated_resources_sk.pak gen/chrome/generated_resources_sl.pak gen/chrome/generated_resources_sq.pak gen/chrome/generated_resources_sr.pak gen/chrome/generated_resources_sr-Latn.pak gen/chrome/generated_resources_sv.pak gen/chrome/generated_resources_sw.pak gen/chrome/generated_resources_ta.pak gen/chrome/generated_resources_te.pak gen/chrome/generated_resources_th.pak gen/chrome/generated_resources_tr.pak gen/chrome/generated_resources_uk.pak gen/chrome/generated_resources_ur.pak gen/chrome/generated_resources_uz.pak gen/chrome/generated_resources_vi.pak gen/chrome/generated_resources_zh-CN.pak gen/chrome/generated_resources_zh-HK.pak gen/chrome/generated_resources_zh-TW.pak gen/chrome/generated_resources_zu.pak gen/chrome/generated_resources_ar-XB.pak gen/chrome/generated_resources_en-XA.pak gen/chrome/generated_resources_af.pak.info gen/chrome/generated_resources_am.pak.info gen/chrome/generated_resources_ar.pak.info gen/chrome/generated_resources_as.pak.info gen/chrome/generated_resources_az.pak.info gen/chrome/generated_resources_be.pak.info gen/chrome/generated_resources_bg.pak.info gen/chrome/generated_resources_bn.pak.info gen/chrome/generated_resources_bs.pak.info gen/chrome/generated_resources_ca.pak.info gen/chrome/generated_resources_cs.pak.info gen/chrome/generated_resources_cy.pak.info gen/chrome/generated_resources_da.pak.info gen/chrome/generated_resources_de.pak.info gen/chrome/generated_resources_el.pak.info gen/chrome/generated_resources_en-GB.pak.info gen/chrome/generated_resources_en-US.pak.info gen/chrome/generated_resources_es.pak.info gen/chrome/generated_resources_es-419.pak.info gen/chrome/generated_resources_et.pak.info gen/chrome/generated_resources_eu.pak.info gen/chrome/generated_resources_fa.pak.info gen/chrome/generated_resources_fi.pak.info gen/chrome/generated_resources_fil.pak.info gen/chrome/generated_resources_fr.pak.info gen/chrome/generated_resources_fr-CA.pak.info gen/chrome/generated_resources_gl.pak.info gen/chrome/generated_resources_gu.pak.info gen/chrome/generated_resources_he.pak.info gen/chrome/generated_resources_hi.pak.info gen/chrome/generated_resources_hr.pak.info gen/chrome/generated_resources_hu.pak.info gen/chrome/generated_resources_hy.pak.info gen/chrome/generated_resources_id.pak.info gen/chrome/generated_resources_is.pak.info gen/chrome/generated_resources_it.pak.info gen/chrome/generated_resources_ja.pak.info gen/chrome/generated_resources_ka.pak.info gen/chrome/generated_resources_kk.pak.info gen/chrome/generated_resources_km.pak.info gen/chrome/generated_resources_kn.pak.info gen/chrome/generated_resources_ko.pak.info gen/chrome/generated_resources_ky.pak.info gen/chrome/generated_resources_lo.pak.info gen/chrome/generated_resources_lt.pak.info gen/chrome/generated_resources_lv.pak.info gen/chrome/generated_resources_mk.pak.info gen/chrome/generated_resources_ml.pak.info gen/chrome/generated_resources_mn.pak.info gen/chrome/generated_resources_mr.pak.info gen/chrome/generated_resources_ms.pak.info gen/chrome/generated_resources_my.pak.info gen/chrome/generated_resources_nb.pak.info gen/chrome/generated_resources_ne.pak.info gen/chrome/generated_resources_nl.pak.info gen/chrome/generated_resources_or.pak.info gen/chrome/generated_resources_pa.pak.info gen/chrome/generated_resources_pl.pak.info gen/chrome/generated_resources_pt-BR.pak.info gen/chrome/generated_resources_pt-PT.pak.info gen/chrome/generated_resources_ro.pak.info gen/chrome/generated_resources_ru.pak.info gen/chrome/generated_resources_si.pak.info gen/chrome/generated_resources_sk.pak.info gen/chrome/generated_resources_sl.pak.info gen/chrome/generated_resources_sq.pak.info gen/chrome/generated_resources_sr.pak.info gen/chrome/generated_resources_sr-Latn.pak.info gen/chrome/generated_resources_sv.pak.info gen/chrome/generated_resources_sw.pak.info gen/chrome/generated_resources_ta.pak.info gen/chrome/generated_resources_te.pak.info gen/chrome/generated_resources_th.pak.info gen/chrome/generated_resources_tr.pak.info gen/chrome/generated_resources_uk.pak.info gen/chrome/generated_resources_ur.pak.info gen/chrome/generated_resources_uz.pak.info gen/chrome/generated_resources_vi.pak.info gen/chrome/generated_resources_zh-CN.pak.info gen/chrome/generated_resources_zh-HK.pak.info gen/chrome/generated_resources_zh-TW.pak.info gen/chrome/generated_resources_zu.pak.info gen/chrome/generated_resources_ar-XB.pak.info gen/chrome/generated_resources_en-XA.pak.info C:/Users/eXhumer/PyEnv/qt-build/Scripts/python.exe ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/grit/grit.py -i ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/chrome/app/generated_resources.grd build -o gen/chrome --depdir . --depfile gen/chrome/app/generated_resources_grit.d --write-only-new=1 --depend-on-stamp -E root_gen_dir=gen -E root_src_dir=../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/ -D SHARED_INTERMEDIATE_DIR=gen -D DEVTOOLS_GRD_PATH=gen/third_party/devtools-frontend/src/front_end/devtools_resources -D scale_factors=2x -D _chromium -E CHROMIUM_BUILD=chromium -D use_aura -D enable_arcore=false -D enable_background_mode=true -D enable_background_contents=true -D enable_extensions=true -D enable_hangout_services_extension=true -D enable_plugins=true -D enable_pdf=true -D enable_print_preview=true -D enable_printing=true -D enable_service_discovery=true -D enable_side_search=false -D enable_supervised_users=false -D enable_vr=false -D enable_webrtc=true -D enable_webui_tab_strip=true -D safe_browsing_mode=0 -D optimize_webui=false -D enable_feed_v2=true -D use_nss_certs=false -f gen/tools/gritsettings/default_resource_ids -p ../../../../../../qt-6.4.0-src/qtwebengine/src/3rdparty/chromium/tools/gritsettings/startup_resources_win.txt --assert-file-list obj/chrome/app/generated_resources_expected_outputs.txt Traceback (most recent call last): File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit.py", line 29, in <module> sys.exit(grit.grit_runner.Main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grit_runner.py", line 314, in Main return toolobject.Run(options, args[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\tool\build.py", line 255, in Run self.res = grd_reader.Parse(opts.input, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\grd_reader.py", line 231, in Parse handler.root.AssignFirstIds(filename_or_stream, defines) File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 611, in AssignFirstIds src_root_dir, first_ids = _ReadFirstIdsFromFile(first_ids_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\node\misc.py", line 67, in _ReadFirstIdsFromFile first_ids_dict = eval(util.ReadFile(filename, 'utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\qt-6.4.0-src\qtwebengine\src\3rdparty\chromium\tools\grit\grit\util.py", line 214, in ReadFile with io.open(filename, mode, encoding=encoding) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' [11584/28477] CXX obj/third_party/webrtc/logging/rtc_event_log2_proto/rtc_event_log2.pb.obj ninja: build stopped: subcommand failed. FAILED: qtwebengine/src/core/Release/AMD64/QtWebEngineCore.stamp qtwebengine/src/core/Release/AMD64/QtWebEngineCore C:/qt640-msvc2019-x64-shared/qtwebengine/src/core/Release/AMD64/QtWebEngineCore.stamp C:/qt640-msvc2019-x64-shared/qtwebengine/src/core/Release/AMD64/QtWebEngineCore cmd.exe /C "cd /D C:\qt640-msvc2019-x64-shared\qtwebengine\src\core && C:\Users\eXhumer\Desktop\qtbuild-6.4.0\ninja.exe -C C:/qt640-msvc2019-x64-shared/qtwebengine/src/core/Release/AMD64 QtWebEngineCore" ninja: build stopped: subcommand failed.