From unknown Sun Jun 22 11:30:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47890 <47890@debbugs.gnu.org> To: bug#47890 <47890@debbugs.gnu.org> Subject: Status: [PATCH][CORE-UPDATES] gnu: rust: Re-use llvm versions. Reply-To: bug#47890 <47890@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:30:21 +0000 retitle 47890 [PATCH][CORE-UPDATES] gnu: rust: Re-use llvm versions. reassign 47890 guix-patches submitter 47890 Efraim Flashner severity 47890 normal tag 47890 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 19 07:31:12 2021 Received: (at submit) by debbugs.gnu.org; 19 Apr 2021 11:31:12 +0000 Received: from localhost ([127.0.0.1]:48555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYS7O-00015x-Ga for submit@debbugs.gnu.org; Mon, 19 Apr 2021 07:31:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:39872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYS7L-000132-MA for submit@debbugs.gnu.org; Mon, 19 Apr 2021 07:31:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYS7L-0001zg-G9 for guix-patches@gnu.org; Mon, 19 Apr 2021 07:31:03 -0400 Received: from flashner.co.il ([178.62.234.194]:54120) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYS7J-0000HL-9C for guix-patches@gnu.org; Mon, 19 Apr 2021 07:31:03 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 9732640363; Mon, 19 Apr 2021 11:30:28 +0000 (UTC) From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH][CORE-UPDATES] gnu: rust: Re-use llvm versions. Date: Mon, 19 Apr 2021 14:29:41 +0300 Message-Id: <20210419112941.10155-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/rust.scm (rust-1.35)[inputs]: Don't replace llvm. (rust-1.38)[inputs]: Same. (rust-1.44)[inputs]: Switch to llvm-10. (rust-1.45)[inputs]: Don't replace llvm. (rust-1.47)[inputs]: Same. --- gnu/packages/rust.scm | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 162371026c..cc056456e9 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 Nikita ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017, 2018 Nikolai Merinov -;;; Copyright © 2017, 2019, 2020 Efraim Flashner +;;; Copyright © 2017, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Danny Milosavljevic ;;; Copyright © 2019 Ivan Petkov @@ -157,6 +157,7 @@ `(("libcurl" ,curl) ("libssh2" ,libssh2) ;; Use llvm-7, which enables rust to be built reproducibly. + ;; Versions newer than 7 fail to compile. ("llvm" ,llvm-7) ("openssl" ,openssl) ("zlib" ,zlib))) @@ -546,8 +547,6 @@ safety and thread safety guarantees.") "0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas"))) (package (inherit base-rust) - (inputs - (alist-replace "llvm" (list llvm-8) (package-inputs base-rust))) (arguments (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) @@ -575,13 +574,8 @@ safety and thread safety guarantees.") (setenv "CARGO_HOME" cargo-home))))))))))) (define rust-1.38 - (let ((base-rust (rust-bootstrapped-package - rust-1.37 "1.38.0" - "101dlpsfkq67p0hbwx4acqq6n90dj4bbprndizpgh1kigk566hk4"))) - (package - (inherit base-rust) - (inputs - (alist-replace "llvm" (list llvm-9) (package-inputs base-rust)))))) + (rust-bootstrapped-package + rust-1.37 "1.38.0" "101dlpsfkq67p0hbwx4acqq6n90dj4bbprndizpgh1kigk566hk4")) (define rust-1.39 (let ((base-rust (rust-bootstrapped-package @@ -649,9 +643,15 @@ safety and thread safety guarantees.") (rust-bootstrapped-package rust-1.42 "1.43.0" "18akhk0wz1my6y9vhardriy2ysc482z0fnjdcgs9gy59kmnarxkm")) +;; This version needs llvm >= 8.0 and NOT 11 (define rust-1.44 - (rust-bootstrapped-package - rust-1.43 "1.44.1" "0ww4z2v3gxgn3zddqzwqya1gln04p91ykbrflnpdbmcd575n8bky")) + (let ((base-rust (rust-bootstrapped-package + rust-1.43 "1.44.1" + "0ww4z2v3gxgn3zddqzwqya1gln04p91ykbrflnpdbmcd575n8bky"))) + (package + (inherit base-rust) + (inputs + (alist-replace "llvm" (list llvm-10) (package-inputs base-rust)))))) (define rust-1.45 (let ((base-rust (rust-bootstrapped-package @@ -659,8 +659,6 @@ safety and thread safety guarantees.") "0273a1g3f59plyi1n0azf21qjzwml1yqdnj5z472crz37qggr8xp"))) (package (inherit base-rust) - (inputs - (alist-replace "llvm" (list llvm-10) (package-inputs base-rust))) (arguments (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) @@ -718,14 +716,9 @@ safety and thread safety guarantees.") (format #f "prefix = ~s" (assoc-ref outputs "rustfmt")))) (invoke "./x.py" "install" "rustfmt")))))))))) -(define-public rust-1.47 - (let ((base-rust (rust-bootstrapped-package - rust-1.46 "1.47.0" - "07fqd2vp7cf1ka3hr207dnnz93ymxml4935vp74g4is79h3dz19i"))) - (package - (inherit base-rust) - (inputs - (alist-replace "llvm" (list llvm-11) (package-inputs base-rust)))))) +(define rust-1.47 + (rust-bootstrapped-package + rust-1.46 "1.47.0" "07fqd2vp7cf1ka3hr207dnnz93ymxml4935vp74g4is79h3dz19i")) (define rust-1.48 (rust-bootstrapped-package base-commit: b66269db5f91ea79524505fdad018aac2055bd99 -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Tue May 04 08:25:25 2021 Received: (at 47890-done) by debbugs.gnu.org; 4 May 2021 12:25:25 +0000 Received: from localhost ([127.0.0.1]:52912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldu7A-00079F-UP for submit@debbugs.gnu.org; Tue, 04 May 2021 08:25:25 -0400 Received: from flashner.co.il ([178.62.234.194]:53576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldu78-000799-2S for 47890-done@debbugs.gnu.org; Tue, 04 May 2021 08:25:23 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id F38F040349 for <47890-done@debbugs.gnu.org>; Tue, 4 May 2021 12:25:15 +0000 (UTC) Date: Tue, 4 May 2021 15:25:08 +0300 From: Efraim Flashner To: 47890-done@debbugs.gnu.org Subject: Re: [PATCH][CORE-UPDATES] gnu: rust: Re-use llvm versions. Message-ID: Mail-Followup-To: Efraim Flashner , 47890-done@debbugs.gnu.org References: <20210419112941.10155-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8oGfnUVj4VBLyqZS" Content-Disposition: inline In-Reply-To: <20210419112941.10155-1-efraim@flashner.co.il> 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 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47890-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --8oGfnUVj4VBLyqZS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patch pushed --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --8oGfnUVj4VBLyqZS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmCRPRwACgkQQarn3Mo9 g1FLog/+NmmapLFk5c9nCYHtzvPLyKneWtOp+TOpsBa6YSr9ZxVBWvVr+bPRaDo8 R1h7391n8lpWPngp+54YE9LeNOU6Y2zvDUa8/xQwpfGM8PJznmu584P/5nCumdyB wyr9aYfDe45XeHHM4NpzfuWzM5QRD0ZzbhtpHzdEchz3QrSpO8X/xU/CHX1JzFW6 lCDHC2mi2TLVYQnK5B7selCFMkzfTr87OeupXKCDlDm9IaICATJ/RyrKeDUDRsmb U3lar5xRX+9sokoiaUjM0Qkh9DT9V4SPZzKWsJxyJvNRSjZu3ja+tldcuoe2blSU 77LNGZZCBpfJjzi/UhrUHHImFwZqTHx2yP7xVoSBmJoRu7fazAKqGf8DXVK8EAw6 J+hkzSE3nutk4Z6zG61HUL9g2pJWd8wIe/ESv5s4YReuHXTALn5psdrjxQov2vsx eVNX9BIL+OrgDc3lfcBUIdXKX9JTZmSs3J1VQEsqotZ9QWdYRqR4lsgKgJZe6Xuo 8W+lSZ+IjnKkixjpdI1grTaD/OXKjhRvB1hC5Q5HK1yk9f1zU3z8sCYb7GF1Oa/X OcL4KSbmAmvfnfJ0YApBjQSARbMth9UFPNkIN7qEiehUH+QKff1Pid+MIOpUeqO3 KQRpEt8g+sUpyOpYs31GIijzhhlsvzNZYKOykSQKtLzYeraN8V8= =HRmu -----END PGP SIGNATURE----- --8oGfnUVj4VBLyqZS-- From unknown Sun Jun 22 11:30:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 02 Jun 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator