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 +Nk/Ahg/OV8rYwAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 14:13:44 +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 iIm0ORc/OV91bAAA1q6Kng (envelope-from ) for ; Sun, 16 Aug 2020 14:13:43 +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 7394E940606 for ; Sun, 16 Aug 2020 14:13:43 +0000 (UTC) Received: from localhost ([::1]:41448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7JPq-0004W3-6u for larch@yhetil.org; Sun, 16 Aug 2020 10:13:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7JPC-00047j-Ay for guix-patches@gnu.org; Sun, 16 Aug 2020 10:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7JPC-00027E-1W for guix-patches@gnu.org; Sun, 16 Aug 2020 10:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7JPB-0007ux-S9 for guix-patches@gnu.org; Sun, 16 Aug 2020 10:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42888] [PATCH] gnu: rust: Fix install phase for non-x86_64 platforms. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Aug 2020 14:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42888 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42888@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.159758713730353 (code B ref -1); Sun, 16 Aug 2020 14:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2020 14:12:17 +0000 Received: from localhost ([127.0.0.1]:58076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7JOT-0007tT-EH for submit@debbugs.gnu.org; Sun, 16 Aug 2020 10:12:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:42992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7JOR-0007tL-1i for submit@debbugs.gnu.org; Sun, 16 Aug 2020 10:12:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7JOQ-00044c-Rb for guix-patches@gnu.org; Sun, 16 Aug 2020 10:12:14 -0400 Received: from mout.gmx.net ([212.227.17.22]:54709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7JOO-00022N-PX for guix-patches@gnu.org; Sun, 16 Aug 2020 10:12:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1597587129; bh=uqWgFOnSh58YYasyCbF7giXacIfpMuobhz5Go5vVoeU=; h=X-UI-Sender-Class:From:To:Subject:Date; b=PFVgRRJ6QcdffJk0g/8SFSs2fNhvqfNNA7e61jITlYg8V9X0iSb5+7MmYQMYonvXE 8G7fZ1FB/EyB/V8Vj9sx3LM+6+T4fRKCCBMj48JYn2GJFBGIEigS/wuWFUlLxlVNR+ 7YMipINBNy2kvrjQOjpQBMdVN0vOja1f7Mn+j1zQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MzhnN-1ktciW0UDp-00vj78 for ; Sun, 16 Aug 2020 16:12:09 +0200 User-agent: mu4e 1.4.13; emacs 26.3 From: Pierre Langlois Date: Sun, 16 Aug 2020 15:12:08 +0100 Message-ID: <87d03qptmv.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:fXx+Qk58K7VIqxgKS7dktabcBYulPBUGlSE9KM7dkEdIhQHZZ4a HRngdlOcG1E9Nwjr43SGgUqM5jZ/yxe8zK6wAe2fs+IgTfBuZh25EXd1d7dS4q5OWm+K6y4 Xzv+zuWUuMwGIdQk6Gr21Z13eaeHytG4ulBnTY4RwBh5iytQb3f1YHjoI8fRICBnJxUuk1d vTjj5j74nZeEjQKIzeF7A== X-UI-Out-Filterresults: notjunk:1;V03:K0:pXyEe+NsVlc=:+w3LI/977kLMrUhyVWVxh+ aBnUaRtXkOBbwTccSDRNaWfhAB9HBCxlwUOrnNHYnVlb5JserRXeQ08SxN62unNP3FrqR6CaB gtiofiIRRaWCxN3U3mmrinUdmsh2fFgZRChbVwVDnV1dqAf7C1hQsDn4/mQ9VBuw3cpyZGqRR QkOhyIxRYHPPc5ec4uT7jF+s+vEG3lDqMfGLnLUW6dKbZp6OhQ4hqwGvrOHUB/3vvx8YwDn+q X/vYd9DYx2rPfAbXyZhbAlH5tUOornk4mdgqvTQ3f2B7rASIsekTYbemyyNNrSPHQhShvupks bGUJCyUwqI+SxetaDcG/TArX1oZSBiBOC6g+0iKbsPg+rrpUdQubJIBshE9FtCVB/mZCWWpah on671C0A3BaFYC+qvh03xqfh1M5/xkerfFJV7tO8/8WUNDHnsFmQIBvuMvHc62mlv24TuzjTL /BtZvqHr5QsYYxZPpGcqbgTz7FLLZHy0Is9LUEv0ZNYKEjBsRrj/mCSRPcVph4smzwNaV1zXP 1BLnSIaQKl5gcy2kwXLpZvxkmKerdtQ5dfRUPS3QRlaR4VZKfejwWWVJR31MvxYRiUhyg7Q02 AIYDmRZWhyU6d7bFBxb376r1IuVA6Q1ww9bV0HbB5o8ZDj4eZn+nt4V9IXp/i/gLpFx5MN6uY ikto8o+AeyTfmjuB8p6oOGKYqnzv99rGpK68dgn/kRz6ahAUVnLYRxf05aNVO1xqTSx/vlFwH UUSxvhUSGWGR8maqRHAkPswMnERza9hCU4iGtisIvbVy7dNTdF0S1m/NRx4vFMXWZ47Cb3XTy jFcCb7qFSxfkVh4AxF5XVBdK32mxCOb/5GvkrghGChG8nk8py+wSrRtmPVate4TATQF1SRqBk pABqHAATQbLsT91IjlpKdZuEisLjbc/LHkKU/J+nOrF5JY4seIkLU3yeEZjiOGRPiDklOTvXW /6ap4uMXCN5Dbv1MPs0a8f8/fjcqai3j2l556uVVl5SdS+EKSpphi7DXpqlW6IS+5ABP+xRMA PxPXGRTgq7dVgHu2uAC6Bw6fDsDFza/rfQAH2Mg3Uf+1OHwoCJbFh0HZQGwzeiSrsHgJ8yJch oy1I2aQuBr8E71DJAipiAHQUb4GozwyzMrJODR2m5plPw1bTpHNoS6CbRELWFIwqsbsgE7vgJ V7jBmPSylry18QHOy1bEJJa/GMv4bTtdRvLs/Hiw6p/ReEPdDP/PxOzs8wM24Dya7onLrC3ma HuF0Z9ik5nn/R8ipk6S66qz21fj56PZRF84WOKg== Received-SPF: pass client-ip=212.227.17.22; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/16 10:12:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=PFVgRRJ6; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: jhy7e1zXEB95 --=-=-= Content-Type: text/plain Hello Guix! In an optimistic attempt to eventually have Icecat on a Pinebook Pro, I thought I'd try and get rust building on aarch64. Here's a fix for the post-install phase that had an x86 triplet hardcoded. With this we're able to start off the bootstrap chain! That being said, each step takes ~5 hours on this machine so this is going to take a while :-), it's currently working on 1.23. So, I suppose this should go into either core-updates or staging? WDYT? Thanks! Pierre --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-rust-Fix-install-phase-for-non-x86_64-platforms.patch Content-Transfer-Encoding: quoted-printable =46rom ac0415f8f724ec56022b526ade68c1aa708d51ea Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sun, 16 Aug 2020 12:17:18 +0100 Subject: [PATCH] gnu: rust: Fix install phase for non-x86_64 platforms. * gnu/packages/rust.scm (rust-1.20)[arguments]: Replace hardcoded x86_64 triplet with nix-system->gnu-triplet-for-rust in 'delete-install-logs phas= e. =2D-- gnu/packages/rust.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 778aeaab05..a031683ea5 100644 =2D-- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -612,9 +612,10 @@ jemalloc =3D \"" jemalloc "/lib/libjemalloc_pic.a" "\= " (cargo-out (assoc-ref outputs "cargo"))) (for-each (lambda (file) (delete-manifest-file out file)) - '("install.log" + `("install.log" "manifest-rust-docs" - "manifest-rust-std-x86_64-unknown-linux-gnu" + ,,(string-append "manifest-rust-std-" + (nix-system->gnu-triplet-for-rust= )) "manifest-rustc")) (for-each (lambda (file) (delete-manifest-file cargo-out file)= ) =2D- 2.28.0 --=-=-=--