axolotl
axolotl copied to clipboard
dependencies-deb-arm64 target doesn't install cmake
Without cmake installed, running make build-deb-arm64
after make dependencies-deb-arm64
results in:
error: failed to run custom build command for
Caused by:
process didn't exit successfully: cargo:rerun-if-changed=/home/josch/axolotl/third-party/protobuf/cmake (exit status: 101)
--- stdout
cargo:rerun-if-changed=/home/josch/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-build-0.10.4/third-party/protobuf/cmake
CMAKE_TOOLCHAIN_FILE_aarch64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_aarch64-unknown-linux-gnu = None
CMAKE_GENERATOR_aarch64_unknown_linux_gnu = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_aarch64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_aarch64_unknown_linux_gnu = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_aarch64-unknown-linux-gnu = None
CMAKE_aarch64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: "cmake" "/home/josch/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-build-0.10.4/third-party/protobuf/cmake" "-Dprotobuf_BUILD_TESTS=OFF" "-DCMAKE_INSTALL_PREFIX=/home/josch/axolotl/crayfish/target/release/build/prost-build-00556a1a96e175f7/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"
--- 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/josch/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.48/src/lib.rs:975:5
note: run with environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:269: build-deb-arm64] Error 101
Apart from that, https://github.com/nanu-c/axolotl/blob/main/docs/INSTALL.md#mobian-or-debian-arm64-systems says "Packaging is still under improvement to comply with official Debian packaging rules." Where is this packaging located? What I found is very far away from complying with official Debian packaging rules. Is there ongoing work elsewhere?
Hey josch, thanks for posting the issue. I'll look into it!
And yes, packaging is far from being run on a Debian server for official packaging. My skills are limited and I tried my best to make it run automatically in the Github workflow to get a deb file.
If you are more experienced with packaging, we could try it together...
Have a nice day!