Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError while running build.py #200

Open
xSqne opened this issue Feb 2, 2023 · 0 comments
Open

IndexError while running build.py #200

xSqne opened this issue Feb 2, 2023 · 0 comments

Comments

@xSqne
Copy link

xSqne commented Feb 2, 2023

Hello, I tried to compile the source code by following all the steps mentioned (VS setup, 7-zip, python). However, I ran into an error while leaving the build process overnight. Here's the error:

`[30440/54785] ACTION //ui/webui/resources/cr_components/co...nge_listener:build_ts(//build/toolchain/win:win_clang_x64)
FAILED: gen/ui/webui/resources/cr_components/color_change_listener/tsconfig_build_ts.json gen/ui/webui/resources/cr_components/color_change_listener/build_ts.manifest gen/ui/webui/resources/preprocessed/cr_components/color_change_listener/browser_proxy.js gen/ui/webui/resources/preprocessed/cr_components/color_change_listener/browser_proxy.d.ts gen/ui/webui/resources/preprocessed/cr_components/color_change_listener/colors_css_updater.js gen/ui/webui/resources/preprocessed/cr_components/color_change_listener/colors_css_updater.d.ts gen/ui/webui/resources/preprocessed/cr_components/color_change_listener/color_change_listener.mojom-webui.js gen/ui/webui/resources/preprocessed/cr_components/color_change_listener/color_change_listener.mojom-webui.d.ts
C:/msys64/mingw64/bin/python3.exe ../../tools/typescript/ts_library.py --root_dir gen/ui/webui/resources/cr_components/color_change_listener --gen_dir gen/ui/webui/resources/cr_components/color_change_listener --out_dir gen/ui/webui/resources/preprocessed/cr_components/color_change_listener --output_suffix build_ts --in_files browser_proxy.ts colors_css_updater.ts color_change_listener.mojom-webui.js --deps ../../mojo/tsconfig_library.json --tsconfig_base ../../../../../../../../ui/webui/resources/cr_components/color_change_listener/tsconfig_base.json --composite --path_mappings chrome://resources/|../../preprocessed/ //resources/|../../preprocessed/ chrome://resources/polymer/v3_0/|../../../../../../../../third_party/polymer/v3_0/components-chromium/ //resources/polymer/v3_0/|../../../../../../../../third_party/polymer/v3_0/components-chromium/ chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js|../../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts //resources/polymer/v3_0/polymer/polymer_bundled.min.js|../../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts /tools/typescript/definitions/|../../../../../../../../tools/typescript/definitions/
Traceback (most recent call last):
File "C:\Users\ileem\ungoogled-chromium-windows\build\src\tools\typescript\ts_library.py", line 220, in
main(sys.argv[1:])
File "C:\Users\ileem\ungoogled-chromium-windows\build\src\tools\typescript\ts_library.py", line 142, in main
path_mappings[mapping[0]].append(os.path.join('./', mapping[1]))
IndexError: list index out of range
[30441/54785] ACTION //ui/webui/resources/js/browser_command:build_ts(//build/toolchain/win:win_clang_x64)
FAILED: gen/ui/webui/resources/js/browser_command/tsconfig_build_ts.json gen/ui/webui/resources/js/browser_command/build_ts.manifest gen/ui/webui/resources/preprocessed/js/browser_command/browser_command_proxy.js gen/ui/webui/resources/preprocessed/js/browser_command/browser_command_proxy.d.ts gen/ui/webui/resources/preprocessed/js/browser_command/browser_command.mojom-webui.js gen/ui/webui/resources/preprocessed/js/browser_command/browser_command.mojom-webui.d.ts
C:/msys64/mingw64/bin/python3.exe ../../tools/typescript/ts_library.py --root_dir gen/ui/webui/resources/preprocessed/js/browser_command_tmp --gen_dir gen/ui/webui/resources/js/browser_command --out_dir gen/ui/webui/resources/preprocessed/js/browser_command --output_suffix build_ts --in_files browser_command_proxy.ts browser_command.mojom-webui.js --deps ../../mojo/tsconfig_library.json --tsconfig_base ../../../../../../../../ui/webui/resources/js/browser_command/tsconfig_base.json --composite --path_mappings chrome://resources/|../../preprocessed/ //resources/|../../preprocessed/ chrome://resources/polymer/v3_0/|../../../../../../../../third_party/polymer/v3_0/components-chromium/ //resources/polymer/v3_0/|../../../../../../../../third_party/polymer/v3_0/components-chromium/ chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js|../../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts //resources/polymer/v3_0/polymer/polymer_bundled.min.js|../../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts /tools/typescript/definitions/|../../../../../../../../tools/typescript/definitions/
Traceback (most recent call last):
File "C:\Users\ileem\ungoogled-chromium-windows\build\src\tools\typescript\ts_library.py", line 220, in
main(sys.argv[1:])
File "C:\Users\ileem\ungoogled-chromium-windows\build\src\tools\typescript\ts_library.py", line 142, in main
path_mappings[mapping[0]].append(os.path.join('./', mapping[1]))
IndexError: list index out of range
[30457/54785] CXX obj/services/network/network_service/sct_auditing_handler.obj
ninja: build stopped: subcommand failed.

C:\Users\ileem\ungoogled-chromium-windows\build\src>exit
Traceback (most recent call last):
File "C:\Users\ileem\ungoogled-chromium-windows\build.py", line 240, in
main()
File "C:\Users\ileem\ungoogled-chromium-windows\build.py", line 235, in main
_run_build_process('third_party\ninja\ninja.exe', '-C', 'out\Default', 'chrome',
File "C:\Users\ileem\ungoogled-chromium-windows\build.py", line 67, in _run_build_process
subprocess.run(('cmd.exe', '/k'),
File "C:\msys64\mingw64\lib\python3.10\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('cmd.exe', '/k')' returned non-zero exit status 1.`

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant