Hello John, Thanks for your following up.
I put the `openssl` in `inputs` too and the problem wasn't resolved. I also I packaged the `openssl-src` and repackage the `openssl-sys` and this is didn't resolved the problem too. The point is with the following package definitions the `rust-openssl-sys` will be build/installed without any error, but in the `etebase-py` building/installation I get the previous error. ``` (define-public rust-openssl-src-111.0.1 (package (name "rust-openssl-src") (version "111.0.1+1.1.1") (source (origin (method url-fetch) (uri (crate-uri "openssl-src" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1gpw4zdsi27hg7y4i9xilgfyzp9i56ch5gs64r5ab1gxi3caxvfi")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-gcc" ,rust-gcc-0.3)))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "OpenSSL bindings") (description "OpenSSL bindings.") (license license:asl2.0))) (define-public rust-openssl-sys-0.9 (package (name "rust-openssl-sys") (version "0.9.58") (source (origin (method url-fetch) (uri (crate-uri "openssl-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pkq3x8w16kqvkg75g4w7nny56w9clssww0ibpzg015n153xnhm8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ;; Build dependencies: ("rust-autocfg" ,rust-autocfg-1.0) ("rust-cc" ,rust-cc-1) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-openssl-src" ,rust-openssl-src-111.0.1) ("rust-vcpkg" ,rust-vcpkg-0.2)))) (native-inputs `(("openssl" ,openssl) ("pkg-config" ,pkg-config))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "FFI bindings to OpenSSL") (description "This package provides FFI bindings to OpenSSL for use in rust crates.") (license license:expat))) ``` ``` phase `patch-cargo-checksums' succeeded after 69.7 seconds starting phase `build' Compiling autocfg v1.0.1 Compiling memchr v2.3.3 Compiling lazy_static v1.4.0 Compiling regex-syntax v0.6.18 Compiling libc v0.2.71 Compiling pkg-config v0.3.17 Compiling cc v1.0.58 Compiling bitflags v1.2.1 Compiling foreign-types-shared v0.1.1 Compiling openssl v0.10.30 Compiling cpython v0.3.0 Compiling cfg-if v0.1.10 Compiling thread_local v1.0.1 Compiling foreign-types v0.3.2 Compiling aho-corasick v0.7.13 Compiling num-traits v0.2.12 Compiling regex v1.3.9 Compiling openssl-sys v0.9.58 error[E0463]: can't find crate for `openssl_src` --> /tmp/guix-build-python-etebase-py-0.30.0.drv-0/etebase-0.30.0/guix-vendor/rust-openssl-sys-0.9.58.tar.xz/build/main.rs:6:1 | 6 | extern crate openssl_src; | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: could not compile `openssl-sys`. warning: build failed, waiting for other jobs to finish... error: build failed command "cargo" "build" "--features" "" "--release" failed with status 101 ```