I tried to ./docker/docker-bash-session.sh and then (in docker) cmake . make Output of cmake . -- Could not set up the appstream test. appstreamcli is missing. -- Could NOT find Git (missing: GIT_EXECUTABLE) -- The following OPTIONAL packages have been found: * ECM (required version >= 1.0.0) * Qt5QuickControls2 (required version == 5.9.1) * Qt5Charts (required version == 5.9.1) * KF5Kirigami2 -- The following REQUIRED packages have been found: * Cargo, The Rust package manager, <https://github.com/rust-lang/cargo/> * Rust * Threads * Qt5Core * Qt5Test * Qt5Gui (required version >= 5.9.1) * Qt5Widgets * Qt5Svg * Qt5Network (required version >= 5.9.1) * Qt5Qml (required version >= 5.9.1) * Qt5Quick * Qt5 (required version >= 5.6.0) -- The following OPTIONAL packages have not been found: * Git -- Configuring done -- Generating done -- Build files have been written to: /home/neon/rust_qt_binding_generator Output of make 1%] Automatic MOC and UIC for target rust_qt_binding_generator Generating MOC predefs moc_predefs.h [ 1%] Built target rust_qt_binding_generator_autogen [ 12%] Built target rust_qt_binding_generator [ 13%] Generating rust_functions/src/interface.rs, test_functions_rust.h [ 15%] Automatic MOC and UIC for target test_functions Generating MOC predefs moc_predefs.h [ 15%] Built target test_functions_autogen [ 16%] Generating rust_functions/src/interface.rs, test_functions_rust.h [ 17%] Generating rust_functions/target/release/librust.a Updating registry `https://github.com/rust-lang/crates.io-index` error: failed to load source for a dependency on `libc` Caused by: Unable to update registry https://github.com/rust-lang/crates.io-index Caused by: failed to fetch `https://github.com/rust-lang/crates.io-index` Caused by: [16/-17] The SSL certificate is invalid tests/CMakeFiles/test_rust_functions.dir/build.make:62: recipe for target 'tests/rust_functions/target/release/librust.a' failed make[2]: *** [tests/rust_functions/target/release/librust.a] Error 101 CMakeFiles/Makefile2:337: recipe for target 'tests/CMakeFiles/test_rust_functions.dir/all' failed make[1]: *** [tests/CMakeFiles/test_rust_functions.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 I had it build the rust-qt-binding-generator> one time, but most of the time, the SSL certificate is wrong. This also happened when I succeded building the binary, and tried to build the qt_quick template.
Still the same. I'd really like to try the Qt-rust bindings, but I can't even make the binary with this error. No idea what I could try?
My guess is that there is an outdated certificate in the base docker image. Removing the cached docker images could help. You can try to remove the cached image and try again. docker rmi rust_qt_binding_generator_dev
Git commit d3134229ae60d8981e1ff5fbb766048a6d0d853a by Jos van den Oever. Committed on 30/04/2018 at 14:44. Pushed by vandenoever into branch 'master'. Add package ca-certificates M +1 -0 docker/Dockerfile https://commits.kde.org/rust-qt-binding-generator/d3134229ae60d8981e1ff5fbb766048a6d0d853a
The root certificates were missing in the docker image.