ERROR at //build/toolchain/concurrent_links.gni:90:19: Script returned non-zero exit code.
See original GitHub issueI 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>```
Issue Analytics
- State:
- Created 2 years ago
- Comments:37 (14 by maintainers)
Top Results From Across the Web
"Error running command: Build script returned non-zero exit ...
Check if you have package-lock.json file commited to your code repository. If so, delete it from the repo, and trigger the deploy again....
Read more >Build failed due to a user error: Build script returned non-zero ...
Hello , I'm facing this issue Build failed due to a user error: Build script returned non-zero exit code: 2. and I can't...
Read more >Netlify build fails with "Build script returned non-zero exit code
The build succeeds locally with no error. I now tried readding the .gitmodules and the academic.Rproj files, but it still does not work....
Read more >Build script returned non-zero exit code: 1 netlify · Issue #14434
The problem is that when I want deploy my project in Netlify, the console deploy show this error and I dont know to...
Read more >Returning information from a shell script via an Exit Code
Exit Codes - A Bourne Shell Programming / Scripting Tutorial for learning about ... with exit 0 ; failure is normally indicated with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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!
I am going to be making a Pull Request soon with the Windows SDK issue I found. Thanks a lot once again!
fell into the very same pitfall here, plus using python 310.
please consider updating the “Building” section in README.md about it assuming
python3
command (which is not done by official python installer by default, and also windows 10 does this 💩 by default) and the minor version requirement.and yes, the
domsubcache.tar.gz
pitfall got me too. please consider updating to “remove everything underbuild\
other thanbuild\downloads_cache
”.thanks to this discussion, i only had to delete
build\[anything but src]
twice before succeeding.