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

ERROR: the sysroot can't be built for the Stable channel. Switch to nightly. #1684

Open
anirbanc3 opened this issue Oct 18, 2024 · 0 comments

Comments

@anirbanc3
Copy link

I a trying to build SecretNetwork from source code on Intel 9th gen CPU (SGX1 and FLC enabled) and running Ubntu 22.04. I have SGX SDK and PSW installed and also successfully installed all the toolchains mentioned in the README page.
While running make build-linux, I am getting the following error:

BUILD_PROFILE=release FEATURES="" FEATURES_U=" light-client-validation go-tests" make -C go-cosmwasm build-rust
make[1]: Entering directory '/home/anirban/SecretNetwork/go-cosmwasm'
FEATURES="" make -C ../cosmwasm/enclaves/execute enclave
make[2]: Entering directory '/home/anirban/SecretNetwork/cosmwasm/enclaves/execute'
RUST_TARGET_PATH=/home/anirban/SecretNetwork/cosmwasm/enclaves/execute/../xargo RUSTFLAGS="-Z force-unstable-if-unmarked -C target-cpu=skylake" xargo build --features "SGX_MODE_HW" --target x86_64-unknown-linux-sgx -Z unstable-options --profile release
ERROR: the sysroot can't be built for the Stable channel. Switch to nightly.
make[2]: *** [Makefile:132: lib/libenclave.a] Error 1
make[2]: Leaving directory '/home/anirban/SecretNetwork/cosmwasm/enclaves/execute'
make[1]: *** [Makefile:81: inner-build-enclave] Error 2
make[1]: Leaving directory '/home/anirban/SecretNetwork/go-cosmwasm'
make: *** [Makefile:172: _build-linux] Error 2

I am not sure what is the issue here. Any help or suggestion in this regard will be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@anirbanc3 and others