Skip to content

[BUG] [Windows CI] CMake was unable to find a build program corresponding to "Ninja"  #8250

Closed

Description

@marc-hb

Describe the bug

The Windows build workflow recently started failing intermittently in Github.

CMake Error: CMake was unable to find a build program corresponding to "Ninja".
   CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
In dir: D:\a\sof\sof\workspace; running command:
    cmake -B build-rimage -G Ninja -S 'D:\a\sof\sof\workspace\sof\rimage'

To Reproduce

Unknown

Reproduction Rate

Started rarely bug getting much worse:

Useful context in:

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    on Sep 22, 2023
  2. marc-hb commented on Sep 22, 2023

    @marc-hb
    CollaboratorAuthor

    I had a look at the logs of about 30 recent Windows builds.

  3. marc-hb commented on Sep 22, 2023

    @marc-hb
    CollaboratorAuthor
  4. kv2019i commented on Sep 25, 2023

    @kv2019i
    Collaborator

    CI tests now green, closing.

  5. marc-hb commented on Oct 25, 2023

    @marc-hb
    CollaboratorAuthor

    In the same run https://github.com/thesofproject/sof/actions/runs/6639325877/job/18037461117?pr=8387

    • 20231016.1.0 ninja found
    • 20231023.1.0 not found

    (stable-v2.7 branch)

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

    P1Blocker bugs or important featuresbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions