From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QET6OgSN3WG73gAAgWs5BA (envelope-from ) for ; Tue, 11 Jan 2022 14:58:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ICFtOASN3WEK9AAA9RJhRA (envelope-from ) for ; Tue, 11 Jan 2022 14:58:28 +0100 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 6D7B3202F6 for ; Tue, 11 Jan 2022 14:58:27 +0100 (CET) Received: from localhost ([::1]:44172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7HfO-0007m3-0m for larch@yhetil.org; Tue, 11 Jan 2022 08:58:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7HIK-0003FS-Jh for help-guix@gnu.org; Tue, 11 Jan 2022 08:34:38 -0500 Received: from flashner.co.il ([178.62.234.194]:51592) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7HII-0002vX-T0 for help-guix@gnu.org; Tue, 11 Jan 2022 08:34:36 -0500 Received: from localhost (unknown [141.226.10.247]) by flashner.co.il (Postfix) with ESMTPSA id EFB6040268; Tue, 11 Jan 2022 13:34:32 +0000 (UTC) Date: Tue, 11 Jan 2022 15:34:00 +0200 From: Efraim Flashner To: Maxim Cournoyer Subject: Re: Aarch64 build of rust-1.39.0 fails Message-ID: Mail-Followup-To: Maxim Cournoyer , Denis 'GNUtoo' Carikli , phodina via References: <03dH3EelmiQdYTJqTSLQYf_eB7j9uheDFeDNQS66yUacJ7XXjRyHwLU23SQzAhvT0I1xQ1m40P2DPKa5S7SbfQrAsqGCjzg-niw-rOLgo50=@protonmail.com> <87k0g02deu.fsf@gmail.com> <20220104002112.7928301e@primary_laptop> <871r1nv5ig.fsf@gmail.com> <20220104184100.0eb20290@primary_laptop> <87h7ajta45.fsf@gmail.com> <20220109221318.0784d8fd@primary_laptop> <877db7p9py.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tNKLJY93ExUSvzCe" Content-Disposition: inline In-Reply-To: <877db7p9py.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: phodina via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641909507; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=8dnkcM7GE8BO8b6RmPCm0nVQeyjoWegzh8GTHnOLSPs=; b=HDu11J2JAqI2S4U4eU3+m9GdYKVjyfsgrkByOyBjkcr8i7E8/7K0SP2r9rj/jbEVsv/DEe fJCV/0NtcjAmyZY/mCit2SOv3N6BfoWrfWZMKY343AMcGa/zBCNnNyHscGVRc3Qr80DXLl xCADCoFoo2L/ekEqxQXLICQ/qZbWNIF02GR+liV8vaU+KH7EUzSW7knmlsTuSR2C1Dsrj1 afcQth/GD1cdSaAW03K5JrYgz98bGQkKiwzd7yJA3ndzID8M3K7t6GLYGHFyx5lB4KkNG4 nL2ncQj37n66AAOuEnzXTFq1H+Z+w4pkYuLLqAnQdgHO26CTNuxY3CWsLCA1EQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641909507; a=rsa-sha256; cv=none; b=F3Lyr4L4DWLVp3qRnsoZFwS55YwdZXZu5UFRK4J6sHS6uHAJBjTv8QOY7pIVOdOukKvAbi 0MhlVEBgx/NTeZdz4E3QoIXcACvxIUJJOOqI29Ag8gIOCzpYGgQkgmqrhFLSQCc3ej9uHx bAyznjJA/or4H6Ayc1mMmpjINud76aFUBbyk5hAx1jS2D4kL2BBKuxnZOCD86RbArUC80d gYq6gU7FxXjf3M36PV4ziDAronUvutdNQnS5fRpY5uFPYov+99uleItkpjE7OKv8zuT25G NSf8jyCCS2DN/xkCSADyYo71I+N9cfgTReaOv1SX+3G00yCabA0lc5ELqJPk1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6D7B3202F6 X-Spam-Score: -6.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: dwYEHMZFq6eQ --tNKLJY93ExUSvzCe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 10, 2022 at 04:22:17PM -0500, Maxim Cournoyer wrote: > Hi Denis, >=20 > Denis 'GNUtoo' Carikli writes: >=20 > > On Tue, 04 Jan 2022 17:22:02 -0500 > > Maxim Cournoyer wrote: > > > >> Hi Denis, > > Hi, > > > >> Note that you'll want to use the latest commit available of mrustc, or > >> something recent enough like this in (gnu packages rust) as it > >> includes recent fixes to the (still failing) i686 build: > > With ./build-1.39.0.sh in mrustc, some help from #mrustc, and some local > > patches, I was able to get it build under 4GiB of RAM per process with > > an x86_64 kernel (by removing -O2 and -g), but it fails for 3GiB of RAM > > per process (i686 kernel) no mater what options are passed to it. >=20 > Thank you for doing the experiment and sharing the result! I've relayed > it to mrustc's author here: > https://github.com/thepowersgang/mrustc/issues/78, I hope you don't > mind. >=20 > > My issue is that claws-mail now depend on rust (it didn't before). As > > several other pakcages also fails on i686 (failing tests), and that I > > also hit a Guix bug, it's hard for me to fix it as everything is > > broken and I need to do workarounds on workarounds. >=20 > The situation with Rust on Guix is far from satisfactory, and the usage > of Rust continues to expand, we'll have to find solutions. GCC-rust > seems like a good candidate to help us bootstrap for more platforms, but > it isn't ready yet. mrustc is the current best option; cross-building > rust could be another thing to do (there's a wip-cross-built-rust branch > that I had started to explore doing this), but it's a messier path. >=20 > > What do I need to revert (locally?) to make claws-mail not depend on > > rust (for i686)? >=20 > I don't see this relationship locally: >=20 > $ guix graph --path claws-mail rust > $ guix describe > 5b95cad85018e64f2a34ef950dd2e5434d07cfc0 >=20 > But looking at the package definition, it explicitly depends on librsvg, > which is a Rust-powered library. You could try to make this input > conditional (e.g., add it only when the system is x86_64), if claws-mail > can be built without it. Specifically, try replacing librsvg with librsvg-for-system --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --tNKLJY93ExUSvzCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHdh0UACgkQQarn3Mo9 g1GbJA/+LmeI8bZZWFizZVV7ulETHkuM3qyuRiZ9guQ00q6h93irX9u5/TEr6c/s qTQF1PF2p1nWrbywCfPYErfIfqM4j0bKyanKaNtDepX44o35w33FSMBNo9UK+bv1 5joWdW8/GJAbxSCzBHn3LKZ7BYdm/HC0YXp0Ta+9cqL5LU4V7Mo7rXNrA2AV5RjC 7iUq2eXJ4RZvTlzEvOoD3LfJIZTm9vaA/T+oT5SDLmMgsivuDNq0zrgqFGsJ7zId QzAcKme0H54cOpv/NWp3ajx9rIrhXCZ4GWJr9B2V5mJkQ5lzXrNXkwie8oLrUL8y +yHHojd7stBpjta8sQxcnLjlvgIAFA8QzR4GUZa0jANLV/qbXkqGvJn+CYUHty9p Bw9tFApqHNdMOkofteMHW4VLHaSL3qzKFrxhcbUcojTAben0BmdQJyX7IvtMRzZM /awGhtdrHKUrw2khyikYOjk0JQqA5FWq+NRzILb6O4GRcXvgm+YtGuLRI/02/q0i 7S5aHBasl6oXkgM3T0EbWjkZtgZIdAg9GkNVOrKRz2sq3uvSN34PRRo03L37kkGv WaRQJxUwEmuLdU5RS3McJyZySVnw9yABZrFARRrq/wZK3ZOXWwoXo+DbrxN6ZXrN baIT0keQ/E/hiJYRRFkGkHj5bhdu6Y44sRr6pq9dAiHQ260RORk= =XaGo -----END PGP SIGNATURE----- --tNKLJY93ExUSvzCe--