Skip to content

Unable to locate ninja #124145

Description

@EgorBo

Previously, it was enough to invoke the eng/common/native/./install-dependencies.sh script on a clean Linux OS (e.g. Ubuntu 24.04) to build the runtime. Now it fails with

  __TargetRid: linux-arm64
  Setting up directories for build
  Checking prerequisites...
  Unable to locate ninja!
/home/egorbot/runtime/src/coreclr/runtime.proj(116,5): error MSB3073: The command ""/home/egorbot/runtime/src/coreclr/build-runtime.sh" -arm64 -release -os linux -ninja -targetrid linux-arm64 -cmakeargs "-DCLR_DOTNET_RID=linux-arm64" -cmakeargs "-DCLR_DOTNET_HOST_PATH=/home/egorbot/runtime/.dotnet/dotnet" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/home/egorbot/runtime/artifacts/bin/coreclr/linux.arm64.Release/cdac-build-tool/cdac-build-tool.dll" -cmakeargs "-DCLR_CMAKE_RUNTIME_CORECLR=1" -cmakeargs "-DCMAKE_PRODUCT_VERSION=11.0.0" -cmakeargs "-DCMAKE_CONTINUOUS_INTEGRATION_BUILD=false" -cmakeargs "-DCMAKE_NET_CORE_APP_CURRENT_VERSION=11.0" -cmakeargs "-DCMAKE_BUILD_LIBRARIES_CONFIGURATION=Release" -cmakeargs "-DCMAKE_BUILD_RUNTIME_CONFIGURATION=Release"" exited with code 1.

It should not be required or be installed by install-dependencies.sh

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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions