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

docker environment setup on ubuntu 20.04 on m1 mac virtual machine (parallels) #148

Open
TyceHerrman opened this issue Jul 23, 2022 · 2 comments

Comments

@TyceHerrman
Copy link

New setup and new error when running docker-compose up

Also as an issue, I had to install a different version of docker-compose than what is default supported by ubuntu 20.04 (docker-compose 1.25). I got the error message from this related issue datahub-project/datahub#2020. Updating docker-compose as described in that issue (updated to latest -v2.7.0, with a couple other setup tweaks not described in that issue) allowed docker-compose up to at least initiate and begin composing.

#0 239.1 error: failed to run custom build command for prost-build v0.10.4
#0 239.1
#0 239.1 Caused by:
#0 239.1 process didn't exit successfully: /app/target/release/build/prost-build-7b2eb59b9bef748c/build-script-build (exit status: 101)
#0 239.1 --- stdout
#0 239.1 cargo:rerun-if-changed=/root/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-build-0.10.4/third-party/protobuf/cmake
#0 239.1 CMAKE_TOOLCHAIN_FILE_aarch64-unknown-linux-gnu = None
#0 239.1 CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_gnu = None
#0 239.1 HOST_CMAKE_TOOLCHAIN_FILE = None
#0 239.1 CMAKE_TOOLCHAIN_FILE = None
#0 239.1 CMAKE_GENERATOR_aarch64-unknown-linux-gnu = None
#0 239.1 CMAKE_GENERATOR_aarch64_unknown_linux_gnu = None
#0 239.1 HOST_CMAKE_GENERATOR = None
#0 239.1 CMAKE_GENERATOR = None
#0 239.1 CMAKE_PREFIX_PATH_aarch64-unknown-linux-gnu = None
#0 239.1 CMAKE_PREFIX_PATH_aarch64_unknown_linux_gnu = None
#0 239.1 HOST_CMAKE_PREFIX_PATH = None
#0 239.1 CMAKE_PREFIX_PATH = None
#0 239.1 CMAKE_aarch64-unknown-linux-gnu = None
#0 239.1 CMAKE_aarch64_unknown_linux_gnu = None
#0 239.1 HOST_CMAKE = None
#0 239.1 CMAKE = None
#0 239.1 running: "cmake" "/root/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-build-0.10.4/third-party/protobuf/cmake" "-Dprotobuf_BUILD_TESTS=OFF" "-DCMAKE_INSTALL_PREFIX=/app/target/release/build/prost-build-2ea86b86a304bfa8/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
#0 239.1
#0 239.1 --- stderr
#0 239.1 thread 'main' panicked at '
#0 239.1 failed to execute command: No such file or directory (os error 2)
#0 239.1 is cmake not installed?
#0 239.1
#0 239.1 build script failed, must exit now', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5
#0 239.1 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
#0 239.1 warning: build failed, waiting for other jobs to finish...

failed to solve: executor failed running [/bin/sh -c cargo build --release]: exit code: 101

@TyceHerrman
Copy link
Author

same issue on ubuntu 22

@TyceHerrman
Copy link
Author

And on intel mac

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

1 participant