Skip to content

Ninja binary path regression in 0.59.2 #9370

Description

@nazar-pc

Describe the bug
#9264 introduced a regression after which Meson can no longer find Ninja and fails with "ERROR: Could not detect Ninja v1.8.2 or newer"

To Reproduce
I don't have a reduced example (not yet at least) but it fails on https://github.com/nazar-pc/mediasoup/tree/meson branch (go to worker directory and do make test, it will pull latest Meson and Ninja).

I believe it is caused by the fact that it uses NINJA environment variable to specify path to Ninja executable.

Expected behavior
Things worked in older versions up to 0.59.1 and expected to be working in any newer patch version.

system parameters

  • OS: all of Ubuntu 18.04, Ubuntu 20.04, macOS 10.15, Windows Server 2019
  • Python 3.9.5
  • Meson 0.59.2
  • Ninja ninja-1.10.2.git.kitware.jobserver-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions