Skip to content

Broken install because of codesign failure #4

Description

@dserodio

When I try to install holmesgpt via Homebrew I get this error:

Error: Failed applying an ad-hoc signature to /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/Python.framework/Python:
/opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/Python.framework/Python: replacing existing signature
/opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/Python.framework/Python: bundle format is ambiguous (could be app or framework)

This is the full output of brew install -v holmesgpt:

==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
==> Updated Homebrew from e4e75f5474 to 1cfc303969.
No changes to formulae or casks.

==> Fetching robusta-dev/holmesgpt/holmesgpt
==> Downloading https://github.com/robusta-dev/holmesgpt/releases/download/0.11.4/holmes-macos-latest-0.11.4.zip
Already downloaded: /Users/daniel.serodio/Library/Caches/Homebrew/downloads/12c91edfd5592331a03cdb929103db9400c32f37147e171a4da85f4ad987cfaf--holmes-macos-latest-0.11.4.zip
==> Verifying checksum for '12c91edfd5592331a03cdb929103db9400c32f37147e171a4da85f4ad987cfaf--holmes-macos-latest-0.11.4.zip'
==> Installing holmesgpt from robusta-dev/holmesgpt
/usr/bin/env PATH=/opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin unzip -o /Users/daniel.serodio/Library/Caches/Homebrew/downloads/12c91edfd5592331a03cdb929103db9400c32f37147e171a4da85f4ad987cfaf--holmes-macos-latest-0.11.4.zip -d /private/tmp/homebrew-unpack-20250516-7155-pypoiy
mv /private/tmp/homebrew-unpack-20250516-7155-pypoiy/holmes /private/tmp/holmesgpt-20250516-7155-jtflpn/holmes
==> /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/holmes version
WARNING:root:Running without kube-config! e=Invalid kube-config file. No configuration found.
0.11.4
==> Cleaning
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/MarkupSafe-3.0.2.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/attrs-25.3.0.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/humanize-4.12.2.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/importlib_metadata-8.6.1.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/jsonschema-4.23.0.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/litellm-1.66.0.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/markdown-3.8.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/setuptools/_vendor/wheel-0.43.0.dist-info/RECORD
rm /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/websockets-14.2.dist-info/RECORD
==> Finishing up
ln -s ../Cellar/holmesgpt/0.11.4/bin/holmes holmes
Error: Failed applying an ad-hoc signature to /opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/Python.framework/Python:
/opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/Python.framework/Python: replacing existing signature
/opt/homebrew/Cellar/holmesgpt/0.11.4/libexec/_internal/Python.framework/Python: bundle format is ambiguous (could be app or framework)

==> Summary
🍺  /opt/homebrew/Cellar/holmesgpt/0.11.4: 2,144 files, 130.4MB, built in 24 seconds
==> Running `brew cleanup holmesgpt`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

And this is brew config:

brew config
HOMEBREW_VERSION: 4.5.2-95-g1cfc303
ORIGIN: https://github.com/Homebrew/brew
HEAD: 1cfc303969ac92f410d43771547cbdb4e24e2226
Last commit: 2 hours ago
Branch: master
Core tap JSON: 16 May 17:56 UTC
Core cask tap JSON: 16 May 17:56 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_BAT: set
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vim
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.4/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 17.0.0 build 1700
Git: 2.49.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.4.1-arm64
CLT: 16.3.0.0.1.1742442376
Xcode: N/A
Rosetta 2: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions