From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QHlDHMU5kF+NTAAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 13:38:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AF0cGMU5kF9IFwAAbx9fmQ (envelope-from ) for ; Wed, 21 Oct 2020 13:38:13 +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 4BC839403EE for ; Wed, 21 Oct 2020 13:38:12 +0000 (UTC) Received: from localhost ([::1]:42454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVEJd-0004bl-Lo for larch@yhetil.org; Wed, 21 Oct 2020 09:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVEJK-0004ai-7Z for help-guix@gnu.org; Wed, 21 Oct 2020 09:37:50 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:54695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVEJH-0005f9-I3 for help-guix@gnu.org; Wed, 21 Oct 2020 09:37:49 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7E846A30; Wed, 21 Oct 2020 09:37:45 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Wed, 21 Oct 2020 09:37:45 -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:content-transfer-encoding; s=fm1; bh=YprPh VlBLOn+vAwLd0gmI1xtOCqPjAZPYkvYMnUV7dw=; b=mYiqdG0WWTqjGF2R/Qlkp k1nbaYRuWKbey3bcYQSFCJWdzXHWbJbyfMvsN4onpWmerL3Z7mi8Dds7+A7I3hrX LB0H1e8CD9vhvtHuZL6VdT3G0AAFxjS7sRKxzDXFy4JG7RRkH2rkQZOlFL3lipTB O6TckSdS1l7nY1vx8DY89QRR7wwxc5L6KI5c471gkuIdqMR6j70c3HHqwPlcnC11 sOuteSp6kWeahdBUgdmvTItu08BtAKZuXICbgVCuMHxQEoip96EcgNtshls+yjbG 3U3OWFatWKy2qTJwhr0zNjVnejcVRiT18tzSuZTLR67oWOapWQgmz7/yI2bQ7Qqp A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=YprPhVlBLOn+vAwLd0gmI1xtOCqPjAZPYkvYMnUV7 dw=; b=hwN748V7RbFIIvrkd4op7W6K44whfsQl5ut3kQhaR7X4pxr0IcEpufhae Bs9CqrIj23eKtPfpUQI1wFPrJdILkMjcWBLVkN8Jt+uVu0+tHNlu6Qacumkv1cRO 2my1OD8tiCkH7RRKqkRSxVoOt8FkaFv8KcqEii8pBEQEleY8avfqz9UM9X6DXGDe 4tOXURQ4kkrEgCN8ZooQ72GihedUnuTV6+IZiJ7WUCFlM/lm26c7wcJ/UILsvwuF EMjHrrxfvcAQvLe6uqj4puYsdUBi9Sor0zUJPU4537M8+oBBHVLnIOIkj+lKWztn AnIgMnDbIMvM+KKZAo344uGwbx7qA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeehgdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfjrghm iigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgrshgrjhhpohhurhesphgrnhhthhgvrh igrdhorhhgqeenucggtffrrghtthgvrhhnpeffuedvjeekhfffveefffdvfedutdevhedu geeijedvjefgieeghfetvdeiveeuheenucffohhmrghinhepshgtmhdrhihouhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghsrghj phhouhhrsehprghnthhhvghrgidrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id ABAA65C0099; Wed, 21 Oct 2020 09:37:44 -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: <4843d763-1d30-4428-adc5-eaecf1530785@www.fastmail.com> In-Reply-To: References: Date: Wed, 21 Oct 2020 17:07:24 +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;charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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=mYiqdG0W; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=hwN748V7; 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: 2.20 X-TUID: d6H4uHm1mxtn Hello John, Thanks for your quick reply. But as you see in `Cargo.toml`, this feature mentioned and I think it's = needed. In the other side setting the `OPENSSL_DIR` didn't resolve my is= sue. Do you have any other suggestion? Can I repackage `rust-openssl-sys-0.9` and remove this line in the packa= ge definition? (Sorry I'm not expert in rust and I don't know what's the= `vendored` feature, but I need this package urgently - `etebasepy` ) ``` (patches (search-patches "rust-openssl-sys-no-vendor.patch")) ```=20 Regards, Hamzeh On Wed, Oct 21, 2020, at 4:16 PM, John Soo wrote: > Hello Hamzeh, >=20 > Take a look at gnu/packages/crates-io.scm for other examples of=20 > rust-openssl. We try to avoid vendored sources. Recent versions of=20 > rust-openssl-sys also complicate this by requiring particular versions= =20 > of openssl. While it=E2=80=99s nice that they are explicit about the=20= > dependency, we don=E2=80=99t have them in the package set.=20 >=20 > Finally and probably most immediately useful to you, check out=20 > gnu/packages/rust-apps.scm. You may need to set the OPENSSL_DIR=20 > environment variable to the location of the openssl dependency. >=20 > I see the =E2=80=9Cvendored=E2=80=9D feature in the Cargo.toml that ma= kes me think this=20 > may not work, but that would be where I start.=20 >=20 > Good luck, >=20 > John