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

Build error #234

Open
LunacyZeus opened this issue May 8, 2023 · 0 comments
Open

Build error #234

LunacyZeus opened this issue May 8, 2023 · 0 comments

Comments

@LunacyZeus
Copy link

Environment details
ungoogled-chromium version: 113.0.5672.64-1.1
Configuration bundle: windows server 2019 datacenter
Packaging type: windows
OS and version for building: Windows 10 (64-bit)
Compiler toolchain: Visual Studio Community 2022 C++ tools 17.5.5
Installed sub-components:
Desktop development with C++
MFC/ATL support” sub-components
python-3.9.8-amd64
Windows 10 SDK (10.0.22621.0)

Compilation stops at about 4087/54760 whatever I tried..
This is the error I get, any one can help me?
i try this 5 times~
[4087/54760] CXX obj/third_party/angle/src/libANGLE/renderer/vulkan/angle_vulkan_backend/vk_utils.obj

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" >nul

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>set DEPOT_TOOLS_WIN_TOOLCHAIN=0

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>"out\Default\gn.exe" "gen" "out\Default" "--fail-on-unused-args"
Done. Made 17389 targets from 2994 files in 22373ms

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>exit
C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" >nul

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>set DEPOT_TOOLS_WIN_TOOLCHAIN=0

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>"third_party\ninja\ninja.exe" "-C" "out\Default" "chrome" "chromedriver" "mini_installer"
ninja: Entering directory `out\Default'
[602/54760] ACTION //chrome/browser/resources/gaia_auth_host:build_injected_scripts(//build/toolchain/win:win_clang_x64)Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0x92 in position 168: illegal multibyte sequence
[4078/54760] ACTION //chrome/test/chromedriver:embed_bidimapper_in_cpp(//build/toolchain/win:win_clang_x64)
FAILED: gen/chrome/test/chromedriver/bidimapper/bidimapper.cc gen/chrome/test/chromedriver/bidimapper/bidimapper.h
C:/Users/Administrator/AppData/Local/Programs/Python/Python39/python3.exe ../../chrome/test/chromedriver/embed_bidimapper_in_cpp.py --directory gen/chrome/test/chromedriver/bidimapper gen/third_party/bidimapper/mapper.js
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src\chrome\test\chromedriver\embed_bidimapper_in_cpp.py", line 43, in
sys.exit(main())
File "C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src\chrome\test\chromedriver\embed_bidimapper_in_cpp.py", line 35, in main
contents = f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xb8 in position 96628: illegal multibyte sequence
[4087/54760] CXX obj/third_party/angle/src/libANGLE/renderer/vulkan/angle_vulkan_backend/vk_utils.obj
ninja: build stopped: subcommand failed.

C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build\src>exit
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build.py", line 239, in
main()
File "C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build.py", line 234, in main
_run_build_process('third_party\ninja\ninja.exe', '-C', 'out\Default', 'chrome',
File "C:\Users\Administrator\Desktop\src\ungoogled-chromium-windows\build.py", line 67, in _run_build_process
subprocess.run(('cmd.exe', '/k'),
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('cmd.exe', '/k')' returned non-zero exit status 1.

errors is FAILED: gen/chrome/test/chromedriver/bidimapper/bidimapper.cc gen/chrome/test/chromedriver/bidimapper/bidimapper.h

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