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

brew install zenoh failed on M1Mac #711

Closed
takasehideki opened this issue Feb 2, 2024 · 4 comments · Fixed by eclipse-zenoh/homebrew-zenoh#4
Closed

brew install zenoh failed on M1Mac #711

takasehideki opened this issue Feb 2, 2024 · 4 comments · Fixed by eclipse-zenoh/homebrew-zenoh#4
Labels
bug Something isn't working release Part of the next release

Comments

@takasehideki
Copy link

Describe the bug

brew install zenoh failed on my M1 Mac environment.
This may be due to SHA256 mismatch.

% brew tap eclipse-zenoh/homebrew-zenoh
% brew install zenoh
==> Fetching dependencies for eclipse-zenoh/zenoh/zenoh: eclipse-zenoh/zenoh/zenohd, eclipse-zenoh/zenoh/zenoh-plugin-rest, eclipse-zenoh/zenoh/zenoh-plugin-storages and eclipse-zenoh/zenoh/libzenohc
==> Fetching eclipse-zenoh/zenoh/zenohd
==> Downloading https://download.eclipse.org/zenoh/zenoh/0.10.1-rc/aarch64-apple
Already downloaded: /Users/takasehideki/Library/Caches/Homebrew/downloads/e1cac0901dff30652e8a119c15a7520a06cb2dbdebc10bb065196f1a5a67ca06--zenoh-0.10.1-rc-aarch64-apple-darwin.zip
Error: zenoh: SHA256 mismatch
Expected: 8af89b8bf1d20d9d0bd5d440ff4c0532d3ab1e360e056625b5e434f31e0aeb75
  Actual: 03ae125c26d498a83cd91dfc4516f36c0503b595959400bc04907562dfeed19f
    File: /Users/takasehideki/Library/Caches/Homebrew/downloads/e1cac0901dff30652e8a119c15a7520a06cb2dbdebc10bb065196f1a5a67ca06--zenoh-0.10.1-rc-aarch64-apple-darwin.zip
To retry an incomplete download, remove the file above.

I tried rewriting the values directly with brew edit zenoh, but it did not work correctly.
The binaries zenoh-0.10.1-rc-aarch64-apple-darwin.zip available from Releases are working fine, so there is no immediate problem for me. However, I wanna know the better solution if you have a more appropriate one.

To reproduce

% brew tap eclipse-zenoh/homebrew-zenoh
% brew install zenoh

System info

  • Platform: macOS Sonoma (14.2.1)
  • CPU: Apple M1 Max (arm64)
  • Zenoh version: expected the latest (to be installed from Homebrew)
% uname -a
Darwin 192.168.11.104 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64
                                                                                
% brew --version
Homebrew 4.2.6-67-g377dbfc
@takasehideki takasehideki added the bug Something isn't working label Feb 2, 2024
@YuanYuYuan
Copy link
Contributor

Hi @takasehideki , thanks for your bug reporting. Yes, we can reproduce it. Here's my observation:

Different versions of zenoh-0.10.1-rc-aarch64-apple-darwin.zip
Expected: 8af89b8bf1d20d9d0bd5d440ff4c0532d3ab1e360e056625b5e434f31e0aeb75  --> 2023-12-21
  Actual: 03ae125c26d498a83cd91dfc4516f36c0503b595959400bc04907562dfeed19f  --> 2024-01-17

@fuzzypixelz, maybe we need to re-publish the release of 0.10.1-rc? And our release routine seems to be down for a while. https://github.com/eclipse-zenoh/zenoh/actions/runs/7777656546

@Mallets Mallets added the release Part of the next release label Feb 5, 2024
@fuzzypixelz
Copy link
Member

@YuanYuYuan This happened because we had to rebuild artifacts in order to regenerate the Debian packages (they were broken too). I think the simplest solution is to rectify the SHA in homebrew-zenoh.

@YuanYuYuan
Copy link
Contributor

YuanYuYuan commented Feb 5, 2024

@YuanYuYuan This happened because we had to rebuild artifacts in order to regenerate the Debian packages (they were broken too). I think the simplest solution is to rectify the SHA in homebrew-zenoh.

I see. Then let's do it as a quick fix to not affect our macOS users. 😀

@takasehideki
Copy link
Author

@YuanYuYuan @fuzzypixelz Thank you so much! I could confirm the appropriate operation of brew install zenoh in my environment after the fix ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release Part of the next release
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants