On dirait que j’ai trouvé la source en développant dans la partie Rust de Duniter :
Logs
cargo clippy --all --tests -- -D warnings --verbose
[…]
Checking url v2.2.1
error: failed to run custom build command for `leveldb-sys v2.0.8`
Caused by:
process didn't exit successfully: `/home/gtest/duniter/target/debug/build/leveldb-sys-298bf8982a9226b1/build-script-build` (exit code: 101)
--- stdout
[build] Started
[snappy] Building
running: "cmake" "/home/gtest/.cargo/registry/src/github.com-1ecc6299db9ec823/leveldb-sys-2.0.8/deps/snappy-1.1.7" "-DBUILD_SHARED_LIBS=OFF" "-DSNAPPY_BUILD_TESTS=OFF" "-DHAVE_LIBZ=OFF" "-DCMAKE_INSTALL_LIBDIR=/home/gtest/duniter/target/debug/build/leveldb-sys-e4705094a588dee0/out/lib" "-DCMAKE_INSTALL_PREFIX=/home/gtest/duniter/target/debug/build/leveldb-sys-e4705094a588dee0/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=c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
-- The C compiler identification is GNU 10.3.1
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring incomplete, errors occurred!
See also "/home/gtest/duniter/target/debug/build/leveldb-sys-e4705094a588dee0/out/build/CMakeFiles/CMakeOutput.log".
See also "/home/gtest/duniter/target/debug/build/leveldb-sys-e4705094a588dee0/out/build/CMakeFiles/CMakeError.log".
--- stderr
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
c++
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', /home/gtest/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.45/src/lib.rs:894: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
g++
était nécessaire pour leveldb-sys
et surement pour neon-sys
comme indiqué dans les pré-requis :
sudo dnf install gcc-c++
Tout a été compilé