Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Building bash on fresh macOS Sequoia installs homebrew to install coreutils #264

Open
sarlotha opened this issue Dec 12, 2024 · 3 comments
Labels
enhancement Improvement or suggestion PR / Bounty only External demand, as such, external funding / effort is required to make this happen

Comments

@sarlotha
Copy link

  1. do the Xcode tools install via readme instructions
  2. do the Dorothy install
  3. dorothy downloads and extracts bash
  4. building bash causes coreutils to be installed by home-brew
Image
@sarlotha
Copy link
Author

sarlotha commented Dec 12, 2024

The reason this would have happened is that I am running Sequoia on an Intel Mac via Open Core Legacy Patcher, as such home-brew doesn't provide a bottle for this situation:

if test "$arch" = 'a64'; then
if test "$macos_release" = 'sequoia'; then
bottle_url='https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:066b7eba204091b70860d2f17d0dd65201900b3e3ca32de87a746ed1baf13332'
elif test "$macos_release" = 'sonoma'; then
bottle_url='https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:bd484090760c2736fa30e29a7861aaf115330bfb10178ce398e1f927a056a047'
elif test "$macos_release" = 'ventura'; then
bottle_url='https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:f3a42b9282e6779504034485634a2f3e6e3bddfc70b9990e09e66e3c8c926b7d'
elif test "$macos_release" = 'monterey'; then
bottle_url='https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:5e7e3e3387fc60e907683b437ac6e64879e117a3c5c1421fe6e6257f6aaa3c69'
elif test "$macos_release" = 'big_sur'; then
bottle_url='https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:d19858831275271cc8aa9a1a28de6223faa44c6ebbc88e83898fd559de5b627e'
fi
elif test "$arch" = 'x64'; then
if test "$macos_release" = 'sonoma'; then

Note this installs bash to /usr/local/bin/bash

@balupton
Copy link
Member

balupton commented Dec 12, 2024

So the only way to fix this within Dorothy would be for us to build, cache, and distribute our own binaries. I originally implemented a proof of concept service for this a year or two ago to streamline binaries on rare distros like arm and riscv, however such would also make sense here.

I'm going to mark this as something that needs improvement as this does not prevent Dorothy from working, and mark it as something that needs a bounty as funding is more pressing than implementing new services.

I'll also accept a PR for better communication of this surprising delay in Dorothy's installation under this circumstance.

@balupton balupton added enhancement Improvement or suggestion PR / Bounty only External demand, as such, external funding / effort is required to make this happen labels Dec 12, 2024
@balupton
Copy link
Member

Cross-over with #147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement or suggestion PR / Bounty only External demand, as such, external funding / effort is required to make this happen
Development

No branches or pull requests

2 participants