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

cargo test failed #265

Closed
rustcryptogo opened this issue Dec 3, 2021 · 2 comments
Closed

cargo test failed #265

rustcryptogo opened this issue Dec 3, 2021 · 2 comments
Assignees

Comments

@rustcryptogo
Copy link

When I use cargo test to build the hello-contracts, it failed.

Error messages:

   Compiling num-traits v0.2.14
   Compiling libloading v0.5.2
   Compiling hashbrown v0.8.2
   Compiling ssvm-evmc-client v6.3.1-rc4
error: failed to run custom build command for `ssvm-evmc-client v6.3.1-rc4`

Caused by:
  process didn't exit successfully: `/home/azureuser/SewUp/examples/hello-contract/target/debug/build/ssvm-evmc-client-e7754bbb80b19255/build-script-build` (exit status: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/azureuser/.cargo/registry/src/github.com-1ecc6299db9ec823/ssvm-evmc-client-6.3.1-rc4/target/evmc-6.3.1-rc4-crates" "-DCMAKE_INSTALL_PREFIX=/home/azureuser/SewUp/examples/hello-contract/target/debug/build/ssvm-evmc-client-004d03299e68aa05/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"

  --- stderr
  thread 'main' panicked at '
  failed to execute command: No such file or directory (os error 2)
  is `cmake` not installed?

  build script failed, must exit now', /home/azureuser/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.46/src/lib.rs:974:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
@yanganto
Copy link
Member

yanganto commented Dec 6, 2021

The problem is on ssvm-evmc-client pallet, and it need cmake for building things. This issue will be reopened on ssvm-evmc-client

@yanganto yanganto closed this as completed Dec 6, 2021
@yanganto
Copy link
Member

yanganto commented Dec 6, 2021

We now provide a quick start script for you to set up and develop an environment in docker, please check out Docker Environment of Wiki.

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