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 0NjkK2k+kF+6fQAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 13:58:01 +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 MCrYJ2k+kF87awAA1q6Kng (envelope-from ) for ; Wed, 21 Oct 2020 13:58:01 +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 B099A940414 for ; Wed, 21 Oct 2020 13:58:00 +0000 (UTC) Received: from localhost ([::1]:60006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVEcp-0004Jb-N5 for larch@yhetil.org; Wed, 21 Oct 2020 09:57:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVEch-0004JT-1V for help-guix@gnu.org; Wed, 21 Oct 2020 09:57:51 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:47595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVEce-00087j-Na for help-guix@gnu.org; Wed, 21 Oct 2020 09:57:50 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 312AEAFB for ; Wed, 21 Oct 2020 09:57:47 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Wed, 21 Oct 2020 09:57:47 -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 :subject:content-type; s=fm1; bh=hoJLwQeNVBHypOywl0o+pr74nfXE+LI 6nHef/u6NkOw=; b=pv9ehre9jrG/UHSMhUH0CVOlTh+iuuNZ/YhZcZT9duLI3Z5 99YoQgwDNEmSZZOs3q2fl1a2HYqmyV81ML6Am23jOBnQ5ou65hOSx67MM3Iy30It cLGwN0zeQffyifzpiUngKriicVhBR73HjpBok+bXgfLzTCSJHPOPLXaHf7ybajjr UoJP+PJo6rvDsqPKCb4xrahF/ckR1F+QpPJ8nwkqTg2GLfa90e1ATM+b5LrSgNW0 8fqaIInhYWiDHGHg/WPUpF2EbGYhOqNt3p1iKVuI6RC8b4nqPh3p+ifsP/swVFJq 8rA3dRzfmlCA9QFEyibgtfJqaz5VMg2ecuLN45Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=hoJLwQ eNVBHypOywl0o+pr74nfXE+LI6nHef/u6NkOw=; b=JZr8aDOm0ZcxF3XLi0q/XI sE2KQvGKCuRvtErIAfmCnui2Vplfw9dXU9l020LnzZaNWdoZWBJLK35XbM/k9GkW WK5REFl/QfdvqpcoPECETnqcn8tzoIIRmirTMAmzK9CCDDl5aFgsW9S54+s8uiVx u4tcJPjPxUllQoVFS5edUQh8xZRORtLJIpjUV5iUQhs/iMHWEhSZ/zNvGBB+2psB Xxm+xnE7h5L4CXE3I906nVXsqwmLxWg9wXXWVQtMNzEo4DZkUCkIIrsTZDp9IUYx 7e3aWYyvlCB072+teKC1zK3RjCf2eQW0xYDh0y4nc20D7CTACnAhC+L2f/IbiC1A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeehgdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreerjeenucfhrhhomhepfdfjrghmiigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgr shgrjhhpohhurhesphgrnhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpefhie elffefgfehhefgieelieelueeghffhiedttedtledtffdukefgteejhfdvleenucffohhm rghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhephhdrnhgrshgrjhhpohhurhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9B1015C0099; Wed, 21 Oct 2020 09:57:46 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-502-gfef6c88-fm-20201019.001-gfef6c888 Mime-Version: 1.0 Message-Id: In-Reply-To: <47a7d80e-0e3f-45bb-80c7-d2b829ad0149@www.fastmail.com> References: <47a7d80e-0e3f-45bb-80c7-d2b829ad0149@www.fastmail.com> Date: Wed, 21 Oct 2020 17:27:16 +0330 From: "Hamzeh Nasajpour" To: "SuarezMiguelC via" 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.24; envelope-from=h.nasajpour@pantherx.org; helo=wout1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/21 09:37:45 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_H4=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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pantherx.org header.s=fm1 header.b=pv9ehre9; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=JZr8aDOm; 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: 1.00 X-TUID: OWsrfwxuDI8e I'm so sorry I had a mistake in the previous package definition, I was in testing. Please remove these lines in the previous definition: ``` (substitute* "Cargo.toml" (("0.10.30\"" all) "0.10.30\"}# ")) ``` It means that my package definition is: ``` (define-public python-etebase-py (package (name "python-etebase-py") (version "0.30.0") (source (origin (method url-fetch) (uri (pypi-uri "etebase" version)) (sha256 (base32 "1py635aqnxx3jy4x6zffriqi0l9gc2gk06h0ms91k4rs68h0gb0i")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" (("etebase = " all) "#etebase = ")) (substitute* "Cargo.toml" (("flapigen = " all) "flapigen = \"^0.6.0-pre7\" #")) #t)))) (build-system cargo-build-system) (arguments `(#:tests? #f #:cargo-inputs (("rust-openssl" ,rust-openssl-0.10) ("rust-cpython" ,rust-cpython-0.3) ("rust-log" ,rust-log-0.4) ("rust-etebase-rs" ,rust-etebase-rs) ("rust-flapigen" ,rust-flapigen-0.6) ("rust-env-logger" ,rust-env-logger-0.7)) #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-env-var (lambda* (#:key inputs #:allow-other-keys) (let ((openssl (assoc-ref inputs "openssl"))) (invoke "rm" "setup.py") (setenv "RUST_BACKTRACE" "full") (setenv "OPENSSL_DIR" openssl)) #t)) ))) (native-inputs `(("openssl" ,openssl) ("python-msgpack" ,python-msgpack) ("python-setuptools-rust" ,python-setuptools-rust))) (inputs `(("python" ,python) ; ("rust-etebase-rs" ,rust-etebase-rs) )) (home-page "https://github.com/etesync/etebase-rs") (synopsis "A python client library for EteSync.") (description "This module provides a python API to interact with an EteSync server. It currently implements AddressBook and Calendar access, and supports two-way sync (both push and pull) to the server.") (license license:gpl3))) ``` With above definition, I set the `OPENSSL_DIR` and add `openssl` as input but the problem not resolved: ``` phase `patch-cargo-checksums' succeeded after 57.8 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 cc v1.0.58 Compiling pkg-config v0.3.17 Compiling bitflags v1.2.1 Compiling openssl v0.10.30 Compiling cpython v0.3.0 Compiling foreign-types-shared v0.1.1 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 ```