Skip to content

pkg-win-release build failed #62056

@aam

Description

@aam

started with https://dart.googlesource.com/sdk/+/a37d042e6864b7655081349d0ef9d04ff1373bc2

log

FAILED: [code=1] obj/runtime/bin/gen_snapshot_product_linux_x64_set.snapshot_utils.obj 
C:/b/s/w/ir/cache/builder/sdk/buildtools/ninja/ninja -t msvc -e environment.x64 -- ../../buildtools/reclient-win/rewrapper --exec_root=../../ --platform=container-image=docker://gcr.io/cloud-marketplace/google/debian11@sha256:69e2789c9f3d28c6a0f13b25062c240ee7772be1f5e6d41bb4680b63eae6b304,OSFamily=Linux --labels=type=compile,compiler=clang-cl,lang=cpp --env_var_allowlist=INCLUDE --inputs=build/rbe,buildtools/linux-x64/clang/bin/llvm --remote_wrapper=../../build/rbe/llvm.sh ../../buildtools/win-x64/clang/bin/clang-cl.exe --target=x86_64-pc-windows-msvc  /nologo /showIncludes /FC -DEXCLUDE_CFE_AND_KERNEL_PLATFORM -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DNTDDI_VERSION=0x0A000006 -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0603 -DWINVER=0x0603 -DNDEBUG -DSUPPORT_PERFETTO -DDART_PRECOMPILER -DPRODUCT -DDART_TARGET_OS_LINUX -DTARGET_ARCH_X64 -I../../runtime -I../../third_party -I../.. -Igen -I../../runtime/include -I../../third_party/zlib /Gy /GS /FS -m64 -fcolor-diagnostics /WX -Wno-deprecated-declarations -Wno-ignored-pragma-optimize -Wno-macro-redefined -Wno-microsoft-cast -Wno-microsoft-unqualified-friend -Wno-unknown-argument -Wno-unused-value -Wno-deprecated-non-prototype /MT -fdebug-prefix-map=/b/f/w/= -fdebug-compilation-dir= -fcoverage-compilation-dir= -no-canonical-prefixes /Brepro -Wheader-hygiene -Wstring-conversion /O2 /Ob2 /Oy- /Gw /Oi /Zi /O2 /Ob2 /Oy- /Oi /Gw -fno-omit-frame-pointer /Zc:__cplusplus /std:c++20 /std:c++20 /GR- /c ../../runtime/bin/snapshot_utils.cc /Foobj/runtime/bin/gen_snapshot_product_linux_x64_set.snapshot_utils.obj /Fdobj/runtime/bin/gen_snapshot_product_linux_x64_set_cc.pdb
../../runtime/bin/snapshot_utils.cc(224,34): error: use of undeclared identifier 'realpath'
  224 |   CStringUniquePtr absolute_path(realpath(script_name, nullptr));
      |                                  ^~~~~~~~
1 error generated.

cc @alexmarkov

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions