From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MwldKOhEkV+tYwAA0tVLHw (envelope-from ) for ; Thu, 22 Oct 2020 08:38:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0OFdIuhEkV97OgAA1q6Kng (envelope-from ) for ; Thu, 22 Oct 2020 08:38:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A553A940222 for ; Thu, 22 Oct 2020 08:37:59 +0000 (UTC) Received: from localhost ([::1]:53928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVW6g-0007VR-Kj for larch@yhetil.org; Thu, 22 Oct 2020 04:37:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVW6F-0007Sl-5R for help-guix@gnu.org; Thu, 22 Oct 2020 04:37:31 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVW68-00020q-Q7 for help-guix@gnu.org; Thu, 22 Oct 2020 04:37:30 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id EA5815FA; Thu, 22 Oct 2020 04:37:20 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Thu, 22 Oct 2020 04:37:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=FAXEN0yuc4mcptKcLoWikEdwSWyc+ir EK8r31chY9Iw=; b=TAS8oJPJbdTdas7n99TxvsT7qDqMygLLMT9trFD3d2fdBtc AJm2PcGkMrZYDILAQzGMO2RdEk+5uUxMyOMCDFLKspF8StrTag4MQPxu5pAc8zk7 STXxWsVVTpfyylGxLOgnrSE8Hx/6G6OU0utLXIqaELB5MUWyUHPLjY+uQreeflE/ 4EwtCQf14QHaHaxmSqpc1HQW7xeOun1Wu+75b+fSovAhPaMmbKpJ5t0Dfp4I0azr aOpmj8zcMkj1tGEfW8knHy0bb7mhsZBfsVBpSqsd2qxx0wafVTJFxoMnVjtmr9gL 4oGZno/LddVDnvPuZe/CDuUYSXgft1aUGXUyLAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=FAXEN0 yuc4mcptKcLoWikEdwSWyc+irEK8r31chY9Iw=; b=YnumnKkVcvYvpw/H+8x+rV oXim7zCvpxDZcsQBW5SE8JJ0YMNzKzgndbV6TWKNWiZgeHZ30b7+FxjNWPrPs3D+ xj1iMCzNa8rOFXnV7e+MUflDQ/rPmBqfxQEIbC/OHNKgFp8+ya2+ZQeywMhassGJ G1dNMuWhEQfP4/M0f1F2Gmu2vKPE+MnlpXokcV4/ZKAgJmOBO94nmsoi5HsGRet9 IV1M1t+LGZpSDsvyovV4SwnhynLH/PGxWLJFhqILQvmGD1nU7o7VuyuDaBf8rp8o D1UE7SYewohgoTuAEtj9ElaLyK1KS5JM3ygvaMKKDA2humhqH32lGFqeCHydHxbw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeejgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderreejnecuhfhrohhmpedfjfgrmhii vghhucfprghsrghjphhouhhrfdcuoehhrdhnrghsrghjphhouhhrsehprghnthhhvghrgi drohhrgheqnecuggftrfgrthhtvghrnhephfeilefffefgheehgfeileeileeugefhhfei tdettdeltdffudekgfetjefhvdelnecuffhomhgrihhnpehgihhthhhusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghs rghjphhouhhrsehprghnthhhvghrgidrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 54D205C0099; Thu, 22 Oct 2020 04:37:20 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-529-g69105b1-fm-20201021.003-g69105b13 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Thu, 22 Oct 2020 12:06:59 +0330 From: "Hamzeh Nasajpour" To: "John Soo" Subject: =?UTF-8?Q?Re:_Error_in_package_building_:_error[E0463]:_can't_find_crate?= =?UTF-8?Q?_for_`openssl=5Fsrc`?= Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.20; envelope-from=h.nasajpour@pantherx.org; helo=wout4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/22 04:37:21 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: SuarezMiguelC via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pantherx.org header.s=fm1 header.b=TAS8oJPJ; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=YnumnKkV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 3.70 X-TUID: JAZ+TYSJAdJr 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 ```