Skip to content

Failed to build when compiling #844

Description

@AlenBo

use following script to build libcef

set GN_DEFINES=is_official_build=true is_debug=false is_component_build=false proprietary_codecs=true ffmpeg_branding=Chrome symbol_level=1 chrome_pgo_phase=0
set GN_ARGUMENTS=--ide=vs2022 --sln=cef --filters=//cef/*
call cef_create_projects.bat

but I got the failed message

FAILED: 450e5daa-3982-4617-bb48-5fc7961c8ccd "./gen/third_party/crabbyavif/crabbyavif_libyuv_bindings/libyuv_bindgen.rs" ACTION //third_party/crabbyavif:crabbyavif_libyuv_bindings(//build/toolchain/win:win_clang_x64)
err: error in depfile "out/Release_GN_x64/obj/third_party/crabbyavif/crabbyavif_libyuv_bindings.d": failed to make workspace relpath "C:\\\\Program Files (x86)\\\\Windows Kits\\\\10\\\\\\\\include\\\\10.0.26100.0\\\\\\\\shared\\\\winapifamily.h": Rel: can't make C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\shared\\winapifamily.h relative to I:\libcef\chromium_git\chromium\src
I:/libcef/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../build/rust/gni_impl/run_bindgen.py --bindgen-exe ../../third_party/rust-toolchain/bin/bindgen.exe --rustfmt-exe ../../third_party/rust-toolchain/bin/rustfmt.exe --header ../../third_party/crabbyavif/src/sys/libyuv-sys/wrapper.h --depfile obj/third_party/crabbyavif/crabbyavif_libyuv_bindings.d --output gen/third_party/crabbyavif/crabbyavif_libyuv_bindings/libyuv_bindgen.rs --libclang-path ../../third_party/rust-toolchain/bin --bindgen-flags no-doc-comments generate=functions,types,vars,methods,constructors,destructors allowlist-item=ABGRToI420 allowlist-item=ABGRToJ400 allowlist-item=ABGRToJ420 allowlist-item=ABGRToJ422 allowlist-item=AR30ToAB30 allowlist-item=ARGBAttenuate allowlist-item=ARGBToABGR allowlist-item=ARGBToI400 allowlist-item=ARGBToI420 allowlist-item=ARGBToI422 allowlist-item=ARGBToI444 allowlist-item=ARGBToJ400 allowlist-item=ARGBToJ420 allowlist-item=ARGBToJ422 allowlist-item=ARGBUnattenuate allowlist-item=BGRAToI420 allowlist-item=Convert16To8Plane allowlist-item=FilterMode allowlist-item=FilterMode_kFilterBilinear allowlist-item=FilterMode_kFilterBox allowlist-item=FilterMode_kFilterNone allowlist-item=HalfFloatPlane allowlist-item=I010AlphaToARGBMatrix allowlist-item=I010AlphaToARGBMatrixFilter allowlist-item=I010ToAR30Matrix allowlist-item=I010ToARGBMatrix allowlist-item=I010ToARGBMatrixFilter allowlist-item=I012ToARGBMatrix allowlist-item=I210AlphaToARGBMatrix allowlist-item=I210AlphaToARGBMatrixFilter allowlist-item=I210ToARGBMatrix allowlist-item=I210ToARGBMatrixFilter allowlist-item=I400ToARGBMatrix allowlist-item=I410AlphaToARGBMatrix allowlist-item=I410ToARGBMatrix allowlist-item=I420AlphaToARGBMatrix allowlist-item=I420AlphaToARGBMatrixFilter allowlist-item=I420ToARGBMatrix allowlist-item=I420ToARGBMatrixFilter allowlist-item=I420ToRGB24Matrix allowlist-item=I420ToRGB24MatrixFilter allowlist-item=I420ToRGB565Matrix allowlist-item=I420ToRGBAMatrix allowlist-item=I422AlphaToARGBMatrix allowlist-item=I422AlphaToARGBMatrixFilter allowlist-item=I422ToARGBMatrix allowlist-item=I422ToARGBMatrixFilter allowlist-item=I422ToRGB24MatrixFilter allowlist-item=I422ToRGB565Matrix allowlist-item=I422ToRGBAMatrix allowlist-item=I444AlphaToARGBMatrix allowlist-item=I444ToARGBMatrix allowlist-item=I444ToRGB24Matrix allowlist-item=LIBYUV_VERSION allowlist-item=NV12Scale allowlist-item=NV12ToARGBMatrix allowlist-item=NV12ToRGB565Matrix allowlist-item=NV21ToARGBMatrix allowlist-item=P010ToAR30Matrix allowlist-item=P010ToARGBMatrix allowlist-item=P010ToI010 allowlist-item=RAWToI420 allowlist-item=RAWToJ400 allowlist-item=RAWToJ420 allowlist-item=RGB24ToI420 allowlist-item=RGB24ToJ400 allowlist-item=RGB24ToJ420 allowlist-item=RGBAToI420 allowlist-item=RGBAToJ400 allowlist-item=ScalePlane allowlist-item=ScalePlane_12 allowlist-item=YuvConstants allowlist-item=kYuv2020Constants allowlist-item=kYuvF709Constants allowlist-item=kYuvH709Constants allowlist-item=kYuvI601Constants allowlist-item=kYuvJPEGConstants allowlist-item=kYuvV2020Constants allowlist-item=kYvu2020Constants allowlist-item=kYvuF709Constants allowlist-item=kYvuH709Constants allowlist-item=kYvuI601Constants allowlist-item=kYvuJPEGConstants allowlist-item=kYvuV2020Constants -- -DCHROMIUM -DLIBYUV_DISABLE_NEON -DLIBYUV_DISABLE_SVE -DLIBYUV_DISABLE_SME -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS "-DCR_CLANG_REVISION=\"llvmorg-22-init-14273-gea10026b-2\"" -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_INSTRUMENTED_WITH_ASAN=0 -DCR_LIBCXX_REVISION=07572e7b169225ef3a999584cba9d9004631ae66 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DUSE_AURA=1 -DOFFICIAL_BUILD -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN11_GE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/libyuv/include -I../.. -Igen -I../../buildtools/third_party/libc++ /W4 -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wgnu -Wno-gnu-anonymous-struct -Wno-gnu-conditional-omitted-operand -Wno-gnu-include-next -Wno-gnu-label-as-value -Wno-gnu-redeclared-enum -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-zero-length-array -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wno-nontrivial-memcall -Wno-uninitialized-const-pointer -Wno-nonportable-include-path -Wexit-time-destructors -Wshadow /WX -fno-delete-null-pointer-checks /clang:-fno-strict-overflow -fno-ident /clang:-fno-math-errno -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../clang-crashreports -mllvm -instcombine-lower-dbg-declare=0 -mllvm -split-threshold-for-reg-with-hint=0 /clang:-ffp-contract=off -flto=thin -fsplit-lto-unit -mllvm -inlinehint-threshold=360 -fwhole-program-vtables -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1934 -m64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes --warning-suppression-mappings=../../build/config/warning_suppression.txt -ftrivial-auto-var-init=zero /O2 /clang:-O2 /Oy- /Zc:inline /Gw -gno-codeview-command-line -gcodeview-ghash -gline-tables-only -fsanitize=array-bounds -fsanitize-trap=array-bounds /guard:cf /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /std:c11 /TC -resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/22 "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /clang:-fparse-all-comments --driver-mode=cl -Wno-unknown-argument -Wno-unused-command-line-argument /clang:-fno-spell-checking /clang:-fallow-editor-placeholders
build step: __third_party_crabbyavif_crabbyavif_libyuv_bindings___build_toolchain_win_win_clang_x64__rule "./gen/third_party/crabbyavif/crabbyavif_libyuv_bindings/libyuv_bindgen.rs"
[2282/75675] 3m57.33s E ACTION //third_party/crabbyavif:crabbyavif_dav1d_bindings(//build/toolchain/win:win_clang_x64)
FAILED: 6259b54e-137f-4558-9fc7-da6ed1c10070 "./gen/third_party/crabbyavif/crabbyavif_dav1d_bindings/dav1d_bindgen.rs" ACTION //third_party/crabbyavif:crabbyavif_dav1d_bindings(//build/toolchain/win:win_clang_x64)
err: error in depfile "out/Release_GN_x64/obj/third_party/crabbyavif/crabbyavif_dav1d_bindings.d": failed to make workspace relpath "C:\\\\Program Files (x86)\\\\Windows Kits\\\\10\\\\\\\\include\\\\10.0.26100.0\\\\\\\\shared\\\\winapifamily.h": Rel: can't make C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\shared\\winapifamily.h relative to I:\libcef\chromium_git\chromium\src
I:/libcef/depot_tools/bootstrap-2@3_11_8_chromium_35_bin/python3/bin/python3.exe ../../build/rust/gni_impl/run_bindgen.py --bindgen-exe ../../third_party/rust-toolchain/bin/bindgen.exe --rustfmt-exe ../../third_party/rust-toolchain/bin/rustfmt.exe --header ../../third_party/crabbyavif/src/sys/dav1d-sys/wrapper.h --depfile obj/third_party/crabbyavif/crabbyavif_dav1d_bindings.d --output gen/third_party/crabbyavif/crabbyavif_dav1d_bindings/dav1d_bindgen.rs --libclang-path ../../third_party/rust-toolchain/bin --bindgen-flags no-doc-comments generate=functions,types,vars,methods,constructors,destructors allowlist-item=DAV1D_MAX_THREADS allowlist-item=dav1d_close allowlist-item=dav1d_data_unref allowlist-item=dav1d_data_wrap allowlist-item=dav1d_default_settings allowlist-item=dav1d_error allowlist-item=dav1d_get_picture allowlist-item=dav1d_open allowlist-item=dav1d_picture_unref allowlist-item=dav1d_send_data allowlist-item=dav1d_version -- -DCONFIG_LOG=0 -DDAV1D_API= -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS "-DCR_CLANG_REVISION=\"llvmorg-22-init-14273-gea10026b-2\"" -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_INSTRUMENTED_WITH_ASAN=0 -DCR_LIBCXX_REVISION=07572e7b169225ef3a999584cba9d9004631ae66 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DUSE_AURA=1 -DOFFICIAL_BUILD -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN11_GE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -I../.. -Igen -I../../buildtools/third_party/libc++ /W4 -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wgnu -Wno-gnu-anonymous-struct -Wno-gnu-conditional-omitted-operand -Wno-gnu-include-next -Wno-gnu-label-as-value -Wno-gnu-redeclared-enum -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-zero-length-array -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wno-nontrivial-memcall -Wno-uninitialized-const-pointer -Wno-nonportable-include-path -Wexit-time-destructors -Wshadow /WX -fno-delete-null-pointer-checks /clang:-fno-strict-overflow -fno-ident /clang:-fno-math-errno -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../clang-crashreports -mllvm -instcombine-lower-dbg-declare=0 -mllvm -split-threshold-for-reg-with-hint=0 /clang:-ffp-contract=off -flto=thin -fsplit-lto-unit -mllvm -inlinehint-threshold=360 -fwhole-program-vtables -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1934 -m64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes --warning-suppression-mappings=../../build/config/warning_suppression.txt -ftrivial-auto-var-init=zero /O2 /clang:-O2 /Oy- /Zc:inline /Gw -gno-codeview-command-line -gcodeview-ghash -gline-tables-only -fsanitize=array-bounds -fsanitize-trap=array-bounds /guard:cf /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /std:c11 /TC -resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/22 "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /clang:-fparse-all-comments --driver-mode=cl -Wno-unknown-argument -Wno-unused-command-line-argument /clang:-fno-spell-checking /clang:-fallow-editor-placeholders
build step: __third_party_crabbyavif_crabbyavif_dav1d_bindings___build_toolchain_win_win_clang_x64__rule "./gen/third_party/crabbyavif/crabbyavif_dav1d_bindings/dav1d_bindgen.rs"
build failed
noexec:98 local:2226 remote:0 cache:0 skip:7104
  cache-write:0(err:0) fallback:0 retry:0
fs: ops: 135820(err:18162) / r:22643(err:0) 2.02GiB / w:307(err:0) 114.69MiB
  resource/capa  used(err)  wait-avg |   s m |  serv-avg |   s m |
   localexec/12 5255(4827)  2m59.45s |▂▂▂▂▂█ |     0.51s |▂ ▃█▄  |
 pool=action/12 3105(1283)  2m17.28s |▂▂▃▂▂█ |     0.87s |▂ █▅▂  |

4m06.32s Build Failure: 2324 done, 2 failed, 73351 remaining - 9.44/s
 2 steps failed: error in depfile "out/Release_GN_x64/obj/third_party/crabbyavif/crabbyavif_libyuv_bindings.d": failed to make workspace relpath "C:\\\\Program Files (x86)\\\\Windows Kits\\\\10\\\\\\\\include\\\\10.0.26100.0\\\\\\\\shared\\\\winapifamily.h": Rel: can't make C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\shared\\winapifamily.h relative to I:\libcef\chromium_git\chromium\src
see .\out\Release_GN_x64\siso_output for full command line and output
 or .\out\Release_GN_x64\siso.exe.INFO
use .\out\Release_GN_x64\siso_failed_commands.bat to re-run failed commands

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions