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 MPSIDAdIqF9xcQAA0tVLHw (envelope-from ) for ; Sun, 08 Nov 2020 19:33:27 +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 oKpICAdIqF83PwAAbx9fmQ (envelope-from ) for ; Sun, 08 Nov 2020 19:33:27 +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 A7AB99404D3 for ; Sun, 8 Nov 2020 19:33:25 +0000 (UTC) Received: from localhost ([::1]:52568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbqRI-0002VE-M4 for larch@yhetil.org; Sun, 08 Nov 2020 14:33:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbqQs-0002V0-Hn for help-guix@gnu.org; Sun, 08 Nov 2020 14:33:00 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:50993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbqQq-0000dL-D9 for help-guix@gnu.org; Sun, 08 Nov 2020 14:32:58 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 709DB923 for ; Sun, 8 Nov 2020 14:32:49 -0500 (EST) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Sun, 08 Nov 2020 14:32:49 -0500 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=qgVt0WlhGZSJ4ndclGxAZoCKsQ9eSvz XCTH4osFxYcA=; b=Rdq0ZyJIRq94aovCb8ojKsolk4sLvmW7Ejf4Ho3pTdexudw e0WQFZrcYwrXzskqJfvyois/dZxfK6H9/+ZepJY5gp4id/DOjWkBdrqminbXKYpS 01sMuCjzvJOJ8uCLJSYJ+e0WEi93tBLd/gwudEUP8guOpdkwM/wcP0TCEGH/oSt1 Fpi+Gg12V8j31vDL8H+CmKg2mllG1gezwa0TMd3xmdLFPZUq6dIlj27n5NQgvp2V ADWziY805pSKWEviTnPDI6BeQFtnREBrg8D5XcLmsgG3F3S7yJaHHA8CpjEoT9Cn fqqgxmw7fj9xaIaJVYDZrKEQbwGNtzK8NGT/yBA== 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=qgVt0W lhGZSJ4ndclGxAZoCKsQ9eSvzXCTH4osFxYcA=; b=BTLU7s8QoDjT3AhH5+quRI 5HrYqvhB6REUHCUxUkFJBRPINbv5Io/EX8zDvOUJFB+OUuiFkfneDkb2TgWTmrtE FhpIkSMCQmM5OP1hG8GkjhL9Xk9YkUvA8OpI/bQEFxCuM/tKQBtlmzZWs2c55kej BdWJtVM7rxHDluG+121VhIOLZq73wm6647wYiPM5L8cyou7jLCuCyI4k7eaQGp0l VydmVEda9p5fWdtNMsj5zEfXw+PmtEsJ3C98lxBBqW6VDXwZKEJKIIFd6XJGRWdN +wkLYig99lmhtVt4sc7CKO3drohdafwQ0IXUdzBQqkMxhv5+Ni3GzJ5C+6Vy4T2g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddufedguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesth dtredtreerjeenucfhrhhomhepfdfjrghmiigvhhcupfgrshgrjhhpohhurhdfuceohhdr nhgrshgrjhhpohhurhesphgrnhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpe fhieelffefgfehhefgieelieelueeghffhiedttedtledtffdukefgteejhfdvleenucff ohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhephhdrnhgrshgrjhhpohhurhesphgrnhhthhgvrhigrdho rhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 881595C0099; Sun, 8 Nov 2020 14:32:48 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-570-gba0a262-fm-20201106.001-gba0a2623 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <47a7d80e-0e3f-45bb-80c7-d2b829ad0149@www.fastmail.com> <20201024194707.GA984@E5400> Date: Sun, 08 Nov 2020 23:02:10 +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/11/08 14:32:49 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.01, RCVD_IN_MSPIKE_WL=-0.01, 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: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pantherx.org header.s=fm1 header.b=Rdq0ZyJI; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=BTLU7s8Q; 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: rDuAITfteHMt Hi guys, Anybody has any solution? For now I face with this error in package installation: ``` ... Compiling etebase-python v0.30.0 (/tmp/guix-build-python-etebase-py-0.30.0.drv-0/etebase-0.30.0) error: unterminated double quote string --> src/lib.rs:63:44 | 63 | include!(concat!(env!("OUT_DIR"), "/glue.rs")); | ^^^^^ error: aborting due to previous error error: could not compile `etebase-python`. ``` This error is related to this line: https://github.com/etesync/etebase-py/blob/master/src/lib.rs#L62 Quick review: 1. I want to package `etebase-py`. 2. the build system for etebase-py tries to also build etebase-rs. 3. It's using the `setuptools-rust` for installing the rust dependencies. 4. So I packaged `etebase-py` with `cargo` build system, then I can patch the build system to installing the python files. In this step I faced with the above errors. This is my package definition: ``` (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 = \"^0.1.0\" #")) (substitute* "Cargo.toml" (("flapigen = " all) "flapigen = \"^0.6.0-pre7\" #")) (substitute* "Cargo.toml" (("0.10.30.*") "0.10.30\" }\n")) (substitute* "src/lib.rs" (("mod fixes*") "#![feature(inner_deref)]\" \nmod fixes {")) #t)))) (build-system cargo-build-system) (arguments `(#:tests? #f #:cargo-inputs (("rust-openssl" ,rust-openssl-0.10.30) ("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 'disable-rust-installation (lambda* (#:key inputs #:allow-other-keys) (let ((openssl (assoc-ref inputs "openssl")) (source (assoc-ref %build-inputs "source")) (libsodium (assoc-ref inputs "libsodium"))) (setenv "RUST_BACKTRACE" "full") (setenv "RUSTC_BOOTSTRAP" "1") ;(setenv "OPENSSL_DIR" openssl) (setenv "SODIUM_LIB_DIR" (string-append libsodium "/lib"))) #t)) ))) (native-inputs `(("libsodium" ,libsodium) ("python-msgpack" ,python-msgpack) ("openssl" ,openssl) ("perl" ,perl) ("pkg-config" ,pkg-config) ("python-setuptools-rust" ,python-setuptools-rust))) (inputs `(("python" ,python))) (home-page "https://github.com/etesync/etebase-py") (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))) ``` Any idea?