ungoogled-chromium-windows: ERROR at //build/toolchain/concurrent_links.gni:90:19: Script returned non-zero exit code.

I was trying to build ungoogled-chromium by following all of the steps shown in the README, but somehow, when I execute the build.py script, at some point it gives me this error after executing certain command, Any ideas on any possible fix for this? Appreciated

ERROR at //build/toolchain/concurrent_links.gni:90:19: Script returned non-zero exit code.
  _command_dict = exec_script("get_concurrent_links.py", _args, "scope")
                  ^----------
Current dir: D:/ungoogled-chromium-windows/build/src/out/Default/
Command: C:/Users/Matias/AppData/Local/Microsoft/WindowsApps/python3.exe D:/ungoogled-chromium-windows/build/src/build/toolchain/get_concurrent_links.py --mem_per_link_gb=6
Returned 9009.
See //build/gn_logs.gni:5:1: whence it was imported.
import("//build/toolchain/concurrent_links.gni")
^----------------------------------------------
See //BUILD.gn:17:1: whence it was imported.
import("//build/gn_logs.gni")
^---------------------------

D:\ungoogled-chromium-windows\build\src>exit
Traceback (most recent call last):
  File "D:\ungoogled-chromium-windows\build.py", line 220, in <module>
    main()
  File "D:\ungoogled-chromium-windows\build.py", line 212, in main
    _run_build_process('out\\Default\\gn.exe', 'gen', 'out\\Default', '--fail-on-unused-args')
  File "D:\ungoogled-chromium-windows\build.py", line 64, in _run_build_process
    subprocess.run(('cmd.exe', '/k'),
  File "C:\Users\Matias\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('cmd.exe', '/k')' returned non-zero exit status 1.

D:\ungoogled-chromium-windows>```

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 37 (14 by maintainers)

Commits related to this issue

Most upvoted comments

After 8~ hours of building, I am really happy to say that I was able to successfully compile ungoogled-chromium for the performance oriented OS I am using. Thanks a lot for the help! image I am going to be making a Pull Request soon with the Windows SDK issue I found. Thanks a lot once again!