This has started working again for us recently. We can now again (at least for the moment) install jq using the built-in homebrew installation in Xcode Cloud.
Build are running on latest realease, which at the moment is macOS 12.6 and Xcode 14.0.1.
We have switched back to using the built-in homebrew, shaving ~3 minutes of each of our builds, but we are ready if it stops working again ;-)
Post
Replies
Boosts
Views
Activity
We have the same problem. Most of our workflows stopped working, because homebrew can no longer install certain casks. Our CI is essentially down.
Symptom A: Installation, e.g. of brew install jq, fails:
$ brew install jq
==> Installing jq dependency: oniguruma
==> Pouring oniguruma--6.9.8.monterey.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/oniggnu.h
/usr/local/include is not writable.
Symptom B: running brew doctor lists multiple missing directories:
$ brew doctor
Warning: The following directories do not exist:
/usr/local/Frameworks
/usr/local/include
/usr/local/lib
/usr/local/sbin
/usr/local/var/homebrew/linked
Anecdotally, brew install swiftlint does not have the same problem.
Any ideas?