GNU bug report logs - #62184
[PATCH 0/3] Package recent Rust versions

Previous Next

Package: guix-patches;

Reported by: Matthew James Kraai <kraai <at> ftbfs.org>

Date: Tue, 14 Mar 2023 12:16:02 UTC

Severity: normal

Tags: patch

Done: Steve George <steve <at> futurile.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62184 in the body.
You can then email your comments to 62184 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62184; Package guix-patches. (Tue, 14 Mar 2023 12:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew James Kraai <kraai <at> ftbfs.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 14 Mar 2023 12:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthew James Kraai <kraai <at> ftbfs.org>
To: guix-patches <at> gnu.org
Cc: Matthew James Kraai <kraai <at> ftbfs.org>
Subject: [PATCH 0/3] Package recent Rust versions
Date: Tue, 14 Mar 2023 05:14:51 -0700
Package recent versions of Rust.

Matthew James Kraai (3):
  gnu: Add rust-1.66.
  gnu: Add rust-1.67.
  gnu: Add rust-1.68.

 gnu/packages/rust.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#62184; Package guix-patches. (Tue, 14 Mar 2023 12:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 62184 <at> debbugs.gnu.org (full text, mbox):

From: Matthew James Kraai <kraai <at> ftbfs.org>
To: 62184 <at> debbugs.gnu.org
Cc: Matthew James Kraai <kraai <at> ftbfs.org>
Subject: [PATCH 1/3] gnu: Add rust-1.66.
Date: Tue, 14 Mar 2023 05:21:18 -0700
*  (rust-1.66): New variable.
---
 gnu/packages/rust.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 133c46fb7c..eb3721a0c3 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov <at> gmail.com>
 ;;; Copyright © 2020, 2021 Jakub Kądziołka <kuba <at> kadziolka.net>
 ;;; Copyright © 2020 Pierre Langlois <pierre.langlois <at> gmx.com>
-;;; Copyright © 2020 Matthew James Kraai <kraai <at> ftbfs.org>
+;;; Copyright © 2020, 2023 Matthew James Kraai <kraai <at> ftbfs.org>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021 (unmatched parenthesis <paren <at> disroot.org>
 ;;; Copyright © 2022 Zheng Junjie <873216071 <at> qq.com>
@@ -653,6 +653,15 @@ (define rust-1.65
          (patches '())
          (patch-flags '("-p1")))))))
 
+(define rust-1.66
+  (rust-bootstrapped-package
+   ;; Verified that it *doesn't* build with 1.64. e.g.:
+   ;; * error[E0718]: `transmute_trait` language item must be applied to a trait with 6 generic arguments
+   ;; * error[E0522]: definition of an unknown language item: `transmute_opts`
+   ;; * error[E0093]: unrecognized intrinsic function: `ptr_mask`
+   ;; * error[E0232]: this attribute must have a valid value
+   rust-1.65 "1.66.1" "1fjr94gsicsxd2ypz4zm8aad1zdbiccr7qjfbmq8f8f7jhx96g2v"))
+
 ;;; Note: Only the latest versions of Rust are supported and tested.  The
 ;;; intermediate rusts are built for bootstrapping purposes and should not
 ;;; be relied upon.  This is to ease maintenance and reduce the time
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#62184; Package guix-patches. (Tue, 14 Mar 2023 12:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 62184 <at> debbugs.gnu.org (full text, mbox):

From: Matthew James Kraai <kraai <at> ftbfs.org>
To: 62184 <at> debbugs.gnu.org
Cc: Matthew James Kraai <kraai <at> ftbfs.org>
Subject: [PATCH 2/3] gnu: Add rust-1.67.
Date: Tue, 14 Mar 2023 05:21:19 -0700
*  (rust-1.67): New variable.
---
 gnu/packages/rust.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index eb3721a0c3..a4d9fa1593 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -662,6 +662,12 @@ (define rust-1.66
    ;; * error[E0232]: this attribute must have a valid value
    rust-1.65 "1.66.1" "1fjr94gsicsxd2ypz4zm8aad1zdbiccr7qjfbmq8f8f7jhx96g2v"))
 
+(define rust-1.67
+  (rust-bootstrapped-package
+   ;; Verified that it *doesn't* build with 1.65. e.g.:
+   ;; * error[E0277]: the trait bound `T: ~const Deref` is not satisfied
+   rust-1.66 "1.67.1" "0vpzv6rm3w1wbni17ryvcw83k5klhghklylfdza3nnp8blz3sj26"))
+
 ;;; Note: Only the latest versions of Rust are supported and tested.  The
 ;;; intermediate rusts are built for bootstrapping purposes and should not
 ;;; be relied upon.  This is to ease maintenance and reduce the time
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#62184; Package guix-patches. (Tue, 14 Mar 2023 12:22:03 GMT) Full text and rfc822 format available.

Message #14 received at 62184 <at> debbugs.gnu.org (full text, mbox):

From: Matthew James Kraai <kraai <at> ftbfs.org>
To: 62184 <at> debbugs.gnu.org
Cc: Matthew James Kraai <kraai <at> ftbfs.org>
Subject: [PATCH 3/3] gnu: Add rust-1.68.
Date: Tue, 14 Mar 2023 05:21:20 -0700
*  (rust-1.68): New variable.
---
 gnu/packages/rust.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index a4d9fa1593..18f6ea9096 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -668,6 +668,12 @@ (define rust-1.67
    ;; * error[E0277]: the trait bound `T: ~const Deref` is not satisfied
    rust-1.66 "1.67.1" "0vpzv6rm3w1wbni17ryvcw83k5klhghklylfdza3nnp8blz3sj26"))
 
+(define rust-1.68
+  (rust-bootstrapped-package
+   ;; Verified that it *doesn't* build with 1.66. e.g.:
+   ;; * error: cannot find a built-in macro with name `derive_const`
+   rust-1.67 "1.68.0" "0qkdm4naj729bl72pl513p0xxpmcwyskmd8gfyj358i3kyqxix7a"))
+
 ;;; Note: Only the latest versions of Rust are supported and tested.  The
 ;;; intermediate rusts are built for bootstrapping purposes and should not
 ;;; be relied upon.  This is to ease maintenance and reduce the time
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#62184; Package guix-patches. (Sat, 25 Mar 2023 21:08:01 GMT) Full text and rfc822 format available.

Message #17 received at 62184 <at> debbugs.gnu.org (full text, mbox):

From: Matthew James Kraai <kraai <at> ftbfs.org>
To: 62184 <at> debbugs.gnu.org
Cc: Matthew James Kraai <kraai <at> ftbfs.org>
Subject: [PATCH] gnu: Add rust-1.68.
Date: Sat, 25 Mar 2023 14:07:01 -0700
*  (rust-1.68): New variable.
---
 gnu/packages/rust.scm | 6 ++++++
 1 file changed, 6 insertions(+)

Here's an updated third patch that packages 1.68.1 instead of 1.68.0.

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index a4d9fa1593..b0b940f517 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -668,6 +668,12 @@ (define rust-1.67
    ;; * error[E0277]: the trait bound `T: ~const Deref` is not satisfied
    rust-1.66 "1.67.1" "0vpzv6rm3w1wbni17ryvcw83k5klhghklylfdza3nnp8blz3sj26"))
 
+(define rust-1.68
+  (rust-bootstrapped-package
+   ;; Verified that it *doesn't* build with 1.66. e.g.:
+   ;; * error: cannot find a built-in macro with name `derive_const`
+   rust-1.67 "1.68.1" "00sxlakbhbfx74zanp8nkc5flziywy1qymfhwf4cbm01azgm3c6c"))
+
 ;;; Note: Only the latest versions of Rust are supported and tested.  The
 ;;; intermediate rusts are built for bootstrapping purposes and should not
 ;;; be relied upon.  This is to ease maintenance and reduce the time
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#62184; Package guix-patches. (Tue, 04 Apr 2023 11:53:04 GMT) Full text and rfc822 format available.

Message #20 received at 62184 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Matthew James Kraai <kraai <at> ftbfs.org>, 62184 <at> debbugs.gnu.org
Cc: Matthew James Kraai <kraai <at> ftbfs.org>,
 Efraim Flashner <efraim <at> flashner.co.il>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: [bug#62184] [PATCH 0/3] Package recent Rust versions
Date: Tue, 04 Apr 2023 13:29:30 +0200
Hi,

On Tue, 14 Mar 2023 at 05:14, Matthew James Kraai <kraai <at> ftbfs.org> wrote:
> Package recent versions of Rust.
>
> Matthew James Kraai (3):
>   gnu: Add rust-1.66.
>   gnu: Add rust-1.67.
>   gnu: Add rust-1.68.

What is the point to add these packages?  Are they functional?  Because
as written elsewhere,

    rust != rust-1.60

because all the ’arguments’ field part of rust.

If the aim is to upgrade the Rust ecosystem, then it appears to me
better to do that in a dedicated branch instead of a work in progress
directly in the branch master.

Closing?


Cheers,
simon




bug closed, send any further explanations to 62184 <at> debbugs.gnu.org and Matthew James Kraai <kraai <at> ftbfs.org> Request was from Steve George <steve <at> futurile.net> to control <at> debbugs.gnu.org. (Tue, 08 Oct 2024 07:56:02 GMT) Full text and rfc822 format available.

Message sent on to Matthew James Kraai <kraai <at> ftbfs.org>:
bug#62184. (Tue, 08 Oct 2024 07:56:02 GMT) Full text and rfc822 format available.

Message #25 received at 62184-submitter <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: control <at> debbugs.gnu.org
Cc: 62184-submitter <at> debbugs.gnu.org
Subject: closing 62184
Date: Tue, 8 Oct 2024 08:55:19 +0100
close 62184 
Thanks Matthew, closing now as rust-team has integrated later versions.
thanks





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Nov 2024 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.