-
Notifications
You must be signed in to change notification settings - Fork 20
[BUG] Failed to install tezos-client via Homebrew (macOS Sequoia) #856
Copy link
Copy link
Open
Description
Description
Attempting to install tezos-client via Homebrew fails during the make build-deps step. The same error occurs after a fresh reinstall attempt.
To Reproduce
Steps to reproduce the behavior:
- Add the Homebrew tap:
brew tap serokell/tezos-packaging-stable https://github.com/serokell/tezos-packaging-stable.git - Run the installation command:
brew install tezos-client - Observe that the installation fails during the dependency build process.
I followed this instruction: https://docs.tezos.com/developing/octez-client/installing
Expected behavior
The tezos-client dependencies should build successfully, and the installation should complete without errors.
Environment
- OS: macOS Sequoia (Chip: Apple M4)
- branch/revision: Version 15.6.1 (24G90)
Additional context
The full error log from the brew install command is attached. The core issue appears to be the make build-deps command returning Error 31. While the log also includes a warning about the afl-persistent dependency and the opam state, the direct cause of the Error 31 is not clear.
$ brew install tezos-client
==> Fetching downloads for: tezos-client
==> Fetching serokell/tezos-packaging-stable/tezos-client
==> Cloning https://gitlab.com/tezos/tezos.git
Updating /Users/xxx/Library/Caches/Homebrew/tezos-client--git
==> Checking out tag octez-v22.0
HEAD is now at 3f73c7248b Merge branch 'v22-release' into latest-release
HEAD is now at 3f73c7248b Merge branch 'v22-release' into latest-release
==> Installing tezos-client from serokell/tezos-packaging-stable
==> rustup install 1.78.0
==> opam init --bare --debug --auto-setup --disable-sandboxing
==> make build-deps
Last 15 lines from /Users/xxxLibrary/Logs/Homebrew/tezos-client/03.make.log:
<><> memtrace.0.2.3 installed successfully ><><><><><><><><><><><><><><><><>
=> Tracing the current process is not supported on multicore ocaml, so uses of Gc.Memprof will fail. The library is still useful for reading and writing trace files even when Gc.Memprof is not working.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 5.2.1+afl ocaml-variants.5.2.1+options ocaml-option-afl
The former state can be restored with:
/opt/homebrew/opt/opam/bin/opam switch import "/private/tmp/tezos-client-20250909-53573-14byih/_opam/.opam-switch/backup/state-20250909215354.export"
make: *** [build-deps] Error 31
If reporting this issue please do so to (not Homebrew/* repositories):
serokell/tezos-packaging-stable
Warning: Unable to query GitHub for recent issues on the tap
Validation Failed: [{"message" => "The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource" => "Search", "field" => "q", "code" => "invalid"}]
Attached the full error log in the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels