Skip to content

runtime-libraries enterprise-linux is failing because of missing ninja #124187

@wfurt

Description

@wfurt

Description

https://dev.azure.com/dnceng-public/public/public%20Team/_build/results?buildId=1286152&view=logs&j=03b95830-93c2-599b-7e4d-1efb940adc28&t=9abf97cd-b4a3-5a26-6cf2-d05ce865f2ef&l=631

__TargetRid: linux-x64
  Setting up directories for build
  Checking prerequisites...
  Unable to locate ninja!
##[error]/repo/src/coreclr/runtime.proj(118,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/repo/src/coreclr/build-runtime.sh" -x64 -release -ci -os linux -ninja -targetrid linux-x64 -cmakeargs "-DCLR_DOTNET_RID=linux-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH=/repo/.dotnet/dotnet" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/repo/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll" " exited with code 1.
/repo/src/coreclr/runtime.proj(118,5): error MSB3073: The command ""/repo/src/coreclr/build-runtime.sh" -x64 -release -ci -os linux -ninja -targetrid linux-x64 -cmakeargs "-DCLR_DOTNET_RID=linux-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH=/repo/.dotnet/dotnet" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/repo/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll" " exited with code 1.

Build FAILED.

/repo/src/coreclr/runtime.proj(118,5): error MSB3073: The command ""/repo/src/coreclr/build-runtime.sh" -x64 -release -ci -os linux -ninja -targetrid linux-x64 -cmakeargs "-DCLR_DOTNET_RID=linux-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH=/repo/.dotnet/dotnet" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/repo/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll" " exited with code 1.
    0 Warning(s)
    1 Error(s)

this is regression from #124041

Reproduction Steps

submit PR that will triger that pipeline e.g. mostly networking

Expected behavior

build works

Actual behavior

build fails with message about missing ninja

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions