Open
Description
After merging the latest from upstream main
, running from the root the command cargo check --tests --all-features
gives the following error message, indicating that the freetype-sys v0.13.1 dependency requires a native installation of cmake in order to install.
If cmake is required to build, then it should be mentioned in CONTRIBUTING.md
.
It probably wouldn't have been picked up by Github CI if the VM runners have cmake preinstalled. They have many compilers and build tools preinstalled.
Abridged console output:
...
Compiling camino v1.1.3
Checking semver-parser v0.10.2
Checking ciborium-ll v0.2.0
error: failed to run custom build command for `freetype-sys v0.13.1`
Caused by:
process didn't exit successfully: `/usr/local/google/home/elango/oss/icu4x/target/debug/build/freetype-sys-51a9ae8ad2cf60cc/build-script-build` (exit status: 101)
--- stdout
...
running: "cmake" "/usr/local/google/home/elango/.cargo/registry/src/github.com-1ecc6299db9ec823/freetype-sys-0.13.1/freetype2" "-DWITH_BZip2=OFF" "-DWITH_HarfBuzz=OFF" "-DWITH_PNG=OFF" "-DWITH_ZLIB=OFF" "-DCMAKE_INSTALL_PREFIX=/usr/local/google/home/elango/oss/icu4x/target/debug/build/freetype-sys-aea398d121abe122/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=Release"
--- 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', /usr/local/google/home/elango/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.49/src/lib.rs:1104:5
...