cirruslabs / cirrus-ci-docs

Documentation for Cirrus CI 📚
https://cirrus-ci.org
MIT License
347 stars 109 forks source link

Latest macOS Sonoma VM is missing some tooling #1272

Open timwoj opened 3 months ago

timwoj commented 3 months ago

Expected Behavior

m4 should be executable. What should have happened is ...

Real Behavior

admin@admins-Virtual-Machine zeek % m4
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.

Related Info

This is a (tick one of the following):

fkorotkov commented 3 months ago

Which one are you using? ghcr.io/cirruslabs/macos-sonoma-base:latest?

timwoj commented 3 months ago

Yeah:

macos_sonoma_task:
  macos_instance:
    image: ghcr.io/cirruslabs/macos-sonoma-base:latest

Something changed with it just recently because we were able to do Sonoma builds 3 or 4 days ago, but one last night failed.

fkorotkov commented 3 months ago

It's weird since seems Command Line Tools are there:

xcode-select -p
/Library/Developer/CommandLineTools

But we can reproduce with m4. There was a recent bump from macOS 14.1 to 14.4.1. Let us check what happened there.

fkorotkov commented 3 months ago

Seems it's a breakage in macOS itself. @edigaryev was able to reproduce it locally on bare metal.

As a workaround you can try to use ghcr.io/cirruslabs/macos-sonoma-xcode:latest. It hasn't yet picked up the 14.4.1 change and will do it on Saturday April 6th.