Open nttrung9x opened 2 years ago
It seems like the package "future" for python is missing. Install it with pip install future
, and try the build again.
It seems like the package "future" for python is missing. Install it with
pip install future
, and try the build again.
[3296/45856] CXX obj/third_party/tflite/tflite_kernels/read_variable.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[3298/45856] CXX obj/third_party/tflite/tflite_kernels/lstm_eval.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[3299/45856] CXX obj/third_party/tflite/tflite_kernels/matrix_diag.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[3303/45856] ACTION //third_party/catapult/tracing:generate_about_tracing(//build/toolchain/win:win_clang_x64)
FAILED: gen/content/browser/tracing/about_tracing.js gen/content/browser/tracing/about_tracing.html
C:/Python36/python.exe ../../third_party/catapult/tracing/bin/generate_about_tracing_contents --outdir gen/content/browser/tracing
rCSSmin exited with error code 1Traceback (most recent call last):
File "../../third_party/catapult/tracing/bin/generate_about_tracing_contents", line 14, in
It seems Python 2 is called instead of Python 3. Here is a similar issue: Eloston/ungoogled-chromium#1601
It seems Python 2 is called instead of Python 3. Here is a similar issue: Eloston/ungoogled-chromium#1601
[3999/50101] CC obj/third_party/freetype/freetype_source/truetype.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[4000/50101] CXX obj/third_party/dawn/src/dawn_wire/dawn_wire_static/WireClient.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[4001/50101] CXX obj/third_party/angle/src/libANGLE/renderer/vulkan/angle_vulkan_backend/vk_utils.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[4002/50101] ACTION //third_party/catapult/tracing:generate_about_tracing(//build/toolchain/win:win_clang_x64)
FAILED: gen/content/browser/tracing/about_tracing.js gen/content/browser/tracing/about_tracing.html
C:/Python36/python.exe ../../third_party/catapult/tracing/bin/generate_about_tracing_contents --outdir gen/content/browser/tracing
rCSSmin exited with error code 1Traceback (most recent call last):
File "../../third_party/catapult/tracing/bin/generate_about_tracing_contents", line 14, in
M:\Build_Chromium\ungoogled-chromium-windows\build\src>exit
Traceback (most recent call last):
File "build.py", line 270, in
M:\Build_Chromium\ungoogled-chromium-windows>
rCSSmin exited with error code 1
This is why the build failed. Could you modify build\src\third_party\catapult\common\py_vulcanize\third_party\rcssmin\rcssmin.py
and change line 215 from sys.stderr.write(res[1])
to sys.stderr.write(res[1].decode('utf-8'))
so that we could further look into this issue?
stderr
line 215 of me => space_sub = space_sub_banged I not find sys.stderr.write(res[1])
Ah my bad.
I meant build\src\third_party\catapult\common\py_vulcanize\py_vulcanize\generate.py
.
Ah my bad. I meant
build\src\third_party\catapult\common\py_vulcanize\py_vulcanize\generate.py
.
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "../../third_party/catapult/tracing/bin/generate_about_tracing_contents", line 14, in
.track-button { background-color: rgba(255, 255, 255, 0.5); border: 1px solid rgba(0, 0, 0, 0.1); color: rgba(0,0,0,0.2); font-size: 10px; height: 12px; text-align: center; width: 12px; }
.track-button:hover { background-color: rgba(255, 255, 255, 1.0); border: 1px solid rgba(0, 0, 0, 0.5); box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4); color: rgba(0, 0, 0, 1); }
.track-close-button { left: 2px; position: absolute; top: 2px; }
.track-collapse-button { left: 3px; position: absolute; top: 2px; } . [4486/50101] CXX obj/third_party/pdfium/third_party/pdfium_base/random.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4487/50101] CC obj/third_party/libaom/libaom_intrinsics_avx2/aom_subpixel_8t_intrin_avx2.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4488/50101] CC obj/third_party/libaom/libaom_intrinsics_avx2/fft_avx2.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4491/50101] CC obj/third_party/libaom/libaom_intrinsics_avx2/highbd_jnt_convolve_avx2.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4493/50101] CC obj/third_party/libaom/libaom_intrinsics_avx2/convolve_avx2.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4494/50101] CXX obj/third_party/pdfium/third_party/pdfium_base/spin_lock.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4496/50101] CXX obj/third_party/dawn/src/dawn_wire/dawn_wire_static/ApiProcs_autogen.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4499/50101] CXX obj/third_party/dawn/src/dawn_wire/dawn_wire_static/Server.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4505/50101] CXX obj/third_party/jsoncpp/jsoncpp/json_writer.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4506/50101] CXX obj/third_party/jsoncpp/jsoncpp/json_value.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4508/50101] CXX obj/third_party/jsoncpp/jsoncpp/json_reader.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4509/50101] CXX obj/third_party/flatbuffers/compiler_files/idl_parser.obj clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument] clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument] [4510/50101] ACTION //third_party/blink/renderer/bindings:web_idl_database(//build/toolchain/win:win_clang_x64) ninja: build stopped: subcommand failed.
M:\Build_Chromium\ungoogled-chromium-windows\build\src>exit
Traceback (most recent call last):
File "build.py", line 270, in
M:\Build_Chromium\ungoogled-chromium-windows>
rCSSmin exited with error code 1 File "M:\Build_Chromium\ungoogled-chromium-windows\build\src\third_party\catapult\common\py_vulcanize\third_party\rcssmin\rcssmin.py", line 3 \============== ^ SyntaxError: invalid syntax
That's odd. ==============
is wrapped in the comment.
Anyhow, you can always download the precompiled binary from https://chromium.woolyss.com/#windows-64-bit if building from source fails.
rCSSmin exited with error code 1 File "M:\Build_Chromium\ungoogled-chromium-windows\build\src\third_party\catapult\common\py_vulcanize\third_party\rcssmin\rcssmin.py", line 3
^ SyntaxError: invalid syntax
That's odd.
==============
is wrapped in the comment. Anyhow, you can always download the precompiled binary from https://chromium.woolyss.com/#windows-64-bit if building from source fails.
I have successfully built it, it took 3 hours to run continuously ^^! but I want to re-build to customs again the proxy part with username:password, otherwise I would have used the built-in build, but why bother to build again ^^! Thank you very much !!!
Hello friends ! I have built up to the end and run the error, find a lot of ways to fix, but forever not, so I posted up here please get help, this is build in Version Chromium-94.0.4606.54 Please, help me fix error, thanks you !
M:\Build_Chromium\ungoogled-chromium-windows\build\src>third_party\ninja\ninja.exe -C out\Default chrome chromedriver mini_installer ninja: Entering directory `out\Default' [1/49288] ACTION //mojo/public/mojom/base:baseparser(//build/toolchain/win:win_clang_x64) FAILED: gen/mojo/public/mojom/base/application_state.mojom-module gen/mojo/public/mojom/base/big_buffer.mojom-module gen/mojo/public/mojom/base/big_string.mojom-module gen/mojo/public/mojom/base/binder.mojom-module gen/mojo/public/mojom/base/byte_string.mojom-module gen/mojo/public/mojom/base/file.mojom-module gen/mojo/public/mojom/base/file_error.mojom-module gen/mojo/public/mojom/base/file_info.mojom-module gen/mojo/public/mojom/base/file_path.mojom-module gen/mojo/public/mojom/base/generic_pending_associated_receiver.mojom-module gen/mojo/public/mojom/base/generic_pending_receiver.mojom-module gen/mojo/public/mojom/base/memory_allocator_dump_cross_process_uid.mojom-module gen/mojo/public/mojom/base/memory_pressure_level.mojom-module gen/mojo/public/mojom/base/message_pump_type.mojom-module gen/mojo/public/mojom/base/process_id.mojom-module gen/mojo/public/mojom/base/read_only_buffer.mojom-module gen/mojo/public/mojom/base/read_only_file.mojom-module gen/mojo/public/mojom/base/ref_counted_memory.mojom-module gen/mojo/public/mojom/base/shared_memory.mojom-module gen/mojo/public/mojom/base/string16.mojom-module gen/mojo/public/mojom/base/text_direction.mojom-module gen/mojo/public/mojom/base/thread_priority.mojom-module gen/mojo/public/mojom/base/time.mojom-module gen/mojo/public/mojom/base/token.mojom-module gen/mojo/public/mojom/base/unguessable_token.mojom-module gen/mojo/public/mojom/base/values.mojom-module gen/mojo/public/mojom/base/logfont_win.mojom-module C:/Python27/python.exe ../../mojo/public/tools/mojom/mojom_parser.py --input-root M:/Build_Chromium/ungoogled-chromium-windows/build/src --input-root M:/Build_Chromium/ungoogled-chromium-windows/build/src/out/Default/gen --output-root M:/Build_Chromium/ungoogled-chromium-windows/build/src/out/Default/gen --mojom-file-list=mojo_public_mojom_base_baseparser_build_toolchain_win_win_clang_x64__rule..rsp --check-imports M:/Build_Chromium/ungoogled-chromium-windows/build/src/out/Default/gen/mojo/public/mojom/base/base.build_metadata --enable-feature file_path_is_string16 --enable-feature is_win --add-module-metadata webui_module_path=chrome://resources/mojo/mojo/public/mojom/base Traceback (most recent call last): File "../../mojo/public/tools/mojom/mojom_parser.py", line 14, in
import builtins
ImportError: No module named builtins
[5/49288] CXX obj/ppapi/cpp/objects/view_dev.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[6/49288] CXX obj/ppapi/cpp/objects/device_ref_dev.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[7/49288] CXX obj/ppapi/cpp/objects/cursor_control_dev.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[8/49288] CXX obj/ppapi/cpp/objects/flash_font_file.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[9/49288] CXX obj/ppapi/cpp/objects/video_frame_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[10/49288] CXX obj/ppapi/cpp/objects/video_decoder_dev.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[11/49288] CXX obj/ppapi/cpp/objects/uma_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[12/49288] CXX obj/ppapi/cpp/objects/camera_device_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[13/49288] CXX obj/ppapi/cpp/objects/isolated_file_system_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[14/49288] CXX obj/ppapi/cpp/objects/websocket.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[15/49288] CXX obj/ppapi/cpp/objects/tcp_server_socket_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[16/49288] CXX obj/ppapi/cpp/objects/url_util_dev.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[17/49288] CXX obj/ppapi/cpp/objects/video_capture_dev.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[18/49288] CXX obj/ppapi/cpp/objects/host_resolver_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[19/49288] CXX obj/ppapi/cpp/objects/udp_socket_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[20/49288] CXX obj/ppapi/cpp/objects/net_address_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[21/49288] CXX obj/ppapi/cpp/objects/instance_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[22/49288] CXX obj/ppapi/cpp/objects/camera_capabilities_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[23/49288] CXX obj/ppapi/cpp/objects/file_chooser_trusted.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[24/49288] CXX obj/ppapi/cpp/objects/tcp_socket_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[25/49288] CXX obj/ppapi/cpp/objects/find_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[26/49288] CXX obj/ppapi/cpp/objects/scriptable_object_deprecated.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[27/49288] CXX obj/ppapi/cpp/objects/paint_aggregator.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[28/49288] CXX obj/ppapi/cpp/objects/lock.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[29/49288] CXX obj/ppapi/cpp/objects/pass_file_handle.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[30/49288] CXX obj/ppapi/cpp/objects/file_io_private.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[31/49288] CXX obj/ppapi/cpp/objects/websocket_api.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
[32/49288] CXX obj/ppapi/cpp/objects/pdf.obj
clang-cl: warning: unknown argument ignored in clang-cl: '-fno-ident' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-ffile-compilation-dir=.' [-Wunknown-argument]
ninja: build stopped: subcommand failed.