Closed varunsrin closed 1 year ago
Most likely the dependency was using a patch that no longer exists. Please try again, it works on alpha 6 for me
Just re-ran and it failed with
==> Fetching paradigmxyz/brew/reth
==> Cloning https://github.com/paradigmxyz/reth.git
Updating /Users/varun/Library/Caches/Homebrew/reth--git
From https://github.com/paradigmxyz/reth
* [new tag] v0.1.0-alpha.6 -> v0.1.0-alpha.6
==> Checking out tag v0.1.0-alpha.6
Previous HEAD position was b2b2cbed chore: bump version .alpha4 (#3808)
HEAD is now at 88aea631 release: 0.1.0-alpha.6 (#4132)
HEAD is now at 88aea631 release: 0.1.0-alpha.6 (#4132)
==> Installing reth from paradigmxyz/brew
==> cargo install --bin reth --profile maxperf --features jemalloc
Last 15 lines from /Users/varun/Library/Logs/Homebrew/reth/01.cargo:
running: ZERO_AR_DATE="1" "ar" "cq" "/private/tmp/reth-20230811-59820-bzq7aa/target/maxperf/build/c-kzg-7a00a87d265f44bf/out/libckzg.a" "/private/tmp/reth-20230811-59820-bzq7aa/target/maxperf/build/c-kzg-7a00a87d265f44bf/out/20a9e765d2c86870-c_kzg_4844.o"
exit status: 0
running: "ar" "s" "/private/tmp/reth-20230811-59820-bzq7aa/target/maxperf/build/c-kzg-7a00a87d265f44bf/out/libckzg.a"
exit status: 0
cargo:rustc-link-lib=static=ckzg
cargo:rustc-link-search=native=/private/tmp/reth-20230811-59820-bzq7aa/target/maxperf/build/c-kzg-7a00a87d265f44bf/out
cargo:rustc-link-lib=static=blst
--- stderr
Using LIB_PREFIX=ckzg
Using FIELD_ELEMENTS_PER_BLOB=4096
/Users/varun/Library/Caches/Homebrew/cargo_cache/git/checkouts/c-kzg-4844-87b9b7bbf5cb76f8/13cec82/src/c_kzg_4844.h:27:10: fatal error: 'stdio.h' file not found
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ClangDiagnostic("/Users/varun/Library/Caches/Homebrew/cargo_cache/git/checkouts/c-kzg-4844-87b9b7bbf5cb76f8/13cec82/src/c_kzg_4844.h:27:10: fatal error: 'stdio.h' file not found\n")', /Users/varun/Library/Caches/Homebrew/cargo_cache/git/checkouts/c-kzg-4844-87b9b7bbf5cb76f8/13cec82/bindings/rust/build.rs:267:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: failed to compile `reth v0.1.0-alpha.6 (/private/tmp/reth-20230811-59820-bzq7aa/bin/reth)`, intermediate artifacts can be found at `/private/tmp/reth-20230811-59820-bzq7aa/target`
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/paradigmxyz/homebrew-brew/issues
While installing reth via homebrew on an M1 using
brew install paradigmxyz/brew/reth
, it failed citing an authentication error when downloading the repository.Full trace here: