Open olalonde opened 1 year ago
brew link openssl --force
seems to fix the issue
That's pretty odd. @olalonde Why is bootstrap trying to compile rust stuff for you?
I'm not sure. I do have Rust installed. I just tried bootstrapping again with a fresh repo checkout and hitting this bug again.
Do you have some sort of environment variables set that would affect what pigweed is doing? Because the other two bugs you filed also indicate that something very weird is going on with your bootstrap....
For what it's worth, I just tried doing a bootstrap without openssl linked (but installed, so that homebrew python can do https) on an M1 in a clean checkout and it worked fine.
I can't see anything special. Here are my environment variables:
I also tried to brew unlink openssl
and check out from scratch again but still getting that openssl error.
$ python3 --version master
Python 3.8.9
@mspang @kcoppock any idea what might be going on here?
Not sure if that helps...
$ rustup show master
Default host: aarch64-apple-darwin
rustup home: /Users/redacted/.rustup
installed toolchains
--------------------
stable-aarch64-apple-darwin
nightly-2022-05-15-aarch64-apple-darwin
nightly-2022-10-25-aarch64-apple-darwin
nightly-aarch64-apple-darwin (default)
stage1
installed targets for active toolchain
--------------------------------------
aarch64-apple-darwin
thumbv7em-none-eabihf
active toolchain
----------------
nightly-aarch64-apple-darwin (default)
rustc 1.68.0-nightly (333ee6c46 2023-01-18)
I tried to brew install python
and brew link --overwrite python@3.11
and bootstrap seemed to work now.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Reproduction steps
I clone the repo and ran
source scripts/bootstrap.sh
on MacOS M1.Relevant logs:
bootstrap-log.txt
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
a7cc2cf3ca94693e0ba08578cc1365d4848890dd
Platform
darwin
Platform Version(s)
Darwin mbair 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101 arm64
Anything else?
No response