Skip to content

Homebrew upgrade to 0.48.0 fails: exec failed (EACCES) in generate_completions_from_executable (from #1555) #2048

Closed

Description

@SVendittelli

Summary

The Homebrew formula generated from .craft.yml fails to upgrade sentry from 0.47.0 to 0.48.0 on macOS arm64. The failing step is generate_completions_from_executable(bin/"sentry", "cli", "completion"), added to install by #1555. It raises EACCES when Homebrew execs the freshly installed binary, and the upgrade rolls back.

#1555 was merged as a draft with the note that the formula "hasn't been tested with a real brew install on macOS". 0.48.0 is the first release to include it.

The generated formula lives in getsentry/homebrew-tools and is committed by sentry-release-bot, so a fix there would be overwritten on the next release. The change needs to be made in the .craft.yml template. I first reported this as getsentry/homebrew-tools#10.

Environment

  • macOS (Darwin 25.6.0), Apple Silicon
  • Xcode 26.6 (brew warns it is outdated)

Steps

brew upgrade sentry --yes

Output

==> Upgrading getsentry/tools/sentry
  0.47.0 -> 0.48.0
brew: exec failed (EACCES): /opt/homebrew/Cellar/sentry/0.48.0/bin/sentry
Error: getsentry/tools/sentry: Failure while executing; `\{\"SHELL\"\ =\>\ \"bash\"\} /opt/homebrew/Cellar/sentry/0.48.0/bin/sentry cli completion bash` exited with 1.

Result

The 0.48.0 keg is removed. 0.47.0 stays installed and working.

Notes

I have not determined the cause. It may be the Homebrew build sandbox, or macOS blocking execution of the downloaded binary. Before 0.48.0 the formula only ran the binary from post_install (sentry cli setup), never during install.

Activity

  1. linear-code commented on Nov 6, 2026

    @linear-code
  2. BYK commented on Nov 7, 2026

    @BYK
    Member

    Thanks a lot for the report. Will be fixed in the coming version, probably in a few hours.

  3. added a commit that references this issue on Nov 7, 2026
    21e48f4
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions