unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
       [not found] <handler.73864.B.172926426718316.ack@debbugs.gnu.org>
@ 2024-10-21 18:08 ` Brennan Vincent
  2024-10-21 20:34   ` Brennan Vincent
  2024-10-22  7:31   ` Divya
  0 siblings, 2 replies; 9+ messages in thread
From: Brennan Vincent @ 2024-10-21 18:08 UTC (permalink / raw)
  To: divya; +Cc: guix-devel, efraim

Note that we already have Rust 1.81 in rust-team, and I have already
sent a patch to update to 1.82 (the latest stable). Usually Efraim
reviews these updates.

-------------------- Start of forwarded message --------------------
From: help-debbugs@gnu.org (GNU bug Tracking System)
To: Brennan Vincent <brennan@umanwizard.com>
Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
Date: Fri, 18 Oct 2024 15:12:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@gnu.org

If you wish to submit further information on this problem, please
send it to 73864@debbugs.gnu.org.

Please do not send mail to help-debbugs@gnu.org unless you wish
to report a problem with the Bug-tracking system.

-- 
73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
-------------------- End of forwarded message --------------------



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-21 18:08 ` Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82) Brennan Vincent
@ 2024-10-21 20:34   ` Brennan Vincent
  2024-10-22  6:42     ` R: " Marco Fortina
  2024-10-22  7:31   ` Divya
  1 sibling, 1 reply; 9+ messages in thread
From: Brennan Vincent @ 2024-10-21 20:34 UTC (permalink / raw)
  To: divya; +Cc: guix-devel, efraim

By the way, if you want to use Rust 1.82.0 before it gets accepted for
the default guix channel, you can use my channel (and install
`rust-next`, `rust-next:cargo`, and `rust-next:tools`):

https://github.com/umanwizard/guix-rust-next

"Brennan Vincent" <brennan@umanwizard.com> writes:

> Note that we already have Rust 1.81 in rust-team, and I have already
> sent a patch to update to 1.82 (the latest stable). Usually Efraim
> reviews these updates.
>
> -------------------- Start of forwarded message --------------------
> From: help-debbugs@gnu.org (GNU bug Tracking System)
> To: Brennan Vincent <brennan@umanwizard.com>
> Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
> Date: Fri, 18 Oct 2024 15:12:01 +0000
>
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 73864@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> -- 
> 73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
> -------------------- End of forwarded message --------------------



^ permalink raw reply	[flat|nested] 9+ messages in thread

* R: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-21 20:34   ` Brennan Vincent
@ 2024-10-22  6:42     ` Marco Fortina
  2024-10-22 11:57       ` Brennan Vincent
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Fortina @ 2024-10-22  6:42 UTC (permalink / raw)
  To: Brennan Vincent, divya@subvertising.org
  Cc: guix-devel@gnu.org, efraim@flashner.co.il

[-- Attachment #1: Type: text/plain, Size: 2234 bytes --]

Is there any plan to add rustup to the package as well? This is useful for adding targets for cross-compilation.

Cheers,
Marco
________________________________
Da: guix-devel-bounces+marco_fortina=hotmail.it@gnu.org <guix-devel-bounces+marco_fortina=hotmail.it@gnu.org> per conto di Brennan Vincent <brennan@umanwizard.com>
Inviato: lunedì 21 ottobre 2024 22:34
A: divya@subvertising.org <divya@subvertising.org>
Cc: guix-devel@gnu.org <guix-devel@gnu.org>; efraim@flashner.co.il <efraim@flashner.co.il>
Oggetto: Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)

By the way, if you want to use Rust 1.82.0 before it gets accepted for
the default guix channel, you can use my channel (and install
`rust-next`, `rust-next:cargo`, and `rust-next:tools`):

https://github.com/umanwizard/guix-rust-next

"Brennan Vincent" <brennan@umanwizard.com> writes:

> Note that we already have Rust 1.81 in rust-team, and I have already
> sent a patch to update to 1.82 (the latest stable). Usually Efraim
> reviews these updates.
>
> -------------------- Start of forwarded message --------------------
> From: help-debbugs@gnu.org (GNU bug Tracking System)
> To: Brennan Vincent <brennan@umanwizard.com>
> Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
> Date: Fri, 18 Oct 2024 15:12:01 +0000
>
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 73864@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
> -------------------- End of forwarded message --------------------



[-- Attachment #2: Type: text/html, Size: 3797 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-21 18:08 ` Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82) Brennan Vincent
  2024-10-21 20:34   ` Brennan Vincent
@ 2024-10-22  7:31   ` Divya
  2024-10-22  8:57     ` Efraim Flashner
  1 sibling, 1 reply; 9+ messages in thread
From: Divya @ 2024-10-22  7:31 UTC (permalink / raw)
  To: Brennan Vincent; +Cc: guix-devel, efraim

[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]

On 21 October 2024 18:08:44 GMT, Brennan Vincent <brennan@umanwizard.com> wrote:
>Note that we already have Rust 1.81 in rust-team, and I have already
>sent a patch to update to 1.82 (the latest stable). Usually Efraim
>reviews these updates.
>
>-------------------- Start of forwarded message --------------------
>From: help-debbugs@gnu.org (GNU bug Tracking System)
>To: Brennan Vincent <brennan@umanwizard.com>
>Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
>Date: Fri, 18 Oct 2024 15:12:01 +0000
>
>Thank you for filing a new bug report with debbugs.gnu.org.
>
>This is an automatically generated reply to let you know your message
>has been received.
>
>Your message is being forwarded to the package maintainers and other
>interested parties for their attention; they will reply in due course.
>
>Your message has been sent to the package maintainer(s):
> guix-patches@gnu.org
>
>If you wish to submit further information on this problem, please
>send it to 73864@debbugs.gnu.org.
>
>Please do not send mail to help-debbugs@gnu.org unless you wish
>to report a problem with the Bug-tracking system.
>
>-- 
>73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
>GNU Bug Tracking System
>Contact help-debbugs@gnu.org with problems
>-------------------- End of forwarded message --------------------
>

Hello Brennan,

That sounds like good news then. It should be available in the guix channel soon then?

[-- Attachment #2: Type: text/html, Size: 1629 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-22  7:31   ` Divya
@ 2024-10-22  8:57     ` Efraim Flashner
  2024-10-22 11:51       ` Brennan Vincent
  0 siblings, 1 reply; 9+ messages in thread
From: Efraim Flashner @ 2024-10-22  8:57 UTC (permalink / raw)
  To: Divya; +Cc: Brennan Vincent, guix-devel

[-- Attachment #1: Type: text/plain, Size: 1989 bytes --]

On Tue, Oct 22, 2024 at 07:31:05AM +0000, Divya wrote:
> On 21 October 2024 18:08:44 GMT, Brennan Vincent <brennan@umanwizard.com> wrote:
> >Note that we already have Rust 1.81 in rust-team, and I have already
> >sent a patch to update to 1.82 (the latest stable). Usually Efraim
> >reviews these updates.
> >
> >-------------------- Start of forwarded message --------------------
> >From: help-debbugs@gnu.org (GNU bug Tracking System)
> >To: Brennan Vincent <brennan@umanwizard.com>
> >Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
> >Date: Fri, 18 Oct 2024 15:12:01 +0000
> >
> >Thank you for filing a new bug report with debbugs.gnu.org.
> >
> >This is an automatically generated reply to let you know your message
> >has been received.
> >
> >Your message is being forwarded to the package maintainers and other
> >interested parties for their attention; they will reply in due course.
> >
> >Your message has been sent to the package maintainer(s):
> > guix-patches@gnu.org
> >
> >If you wish to submit further information on this problem, please
> >send it to 73864@debbugs.gnu.org.
> >
> >Please do not send mail to help-debbugs@gnu.org unless you wish
> >to report a problem with the Bug-tracking system.
> >
> >-- 
> >73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
> >GNU Bug Tracking System
> >Contact help-debbugs@gnu.org with problems
> >-------------------- End of forwarded message --------------------
> >
> 
> Hello Brennan,
> 
> That sounds like good news then. It should be available in the guix channel soon then?

I'm not sure I have the time to do all the testing necessary for bumping
rust to 1.82 currently so right now I'm about to join the merge queue
with rust-1.81.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-22  8:57     ` Efraim Flashner
@ 2024-10-22 11:51       ` Brennan Vincent
  2024-10-22 14:18         ` Efraim Flashner
  0 siblings, 1 reply; 9+ messages in thread
From: Brennan Vincent @ 2024-10-22 11:51 UTC (permalink / raw)
  To: Efraim Flashner, Divya; +Cc: guix-devel

Efraim Flashner <efraim@flashner.co.il> writes:

> On Tue, Oct 22, 2024 at 07:31:05AM +0000, Divya wrote:
>> On 21 October 2024 18:08:44 GMT, Brennan Vincent <brennan@umanwizard.com> wrote:
>> >Note that we already have Rust 1.81 in rust-team, and I have already
>> >sent a patch to update to 1.82 (the latest stable). Usually Efraim
>> >reviews these updates.
>> >
>> >-------------------- Start of forwarded message --------------------
>> >From: help-debbugs@gnu.org (GNU bug Tracking System)
>> >To: Brennan Vincent <brennan@umanwizard.com>
>> >Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
>> >Date: Fri, 18 Oct 2024 15:12:01 +0000
>> >
>> >Thank you for filing a new bug report with debbugs.gnu.org.
>> >
>> >This is an automatically generated reply to let you know your message
>> >has been received.
>> >
>> >Your message is being forwarded to the package maintainers and other
>> >interested parties for their attention; they will reply in due course.
>> >
>> >Your message has been sent to the package maintainer(s):
>> > guix-patches@gnu.org
>> >
>> >If you wish to submit further information on this problem, please
>> >send it to 73864@debbugs.gnu.org.
>> >
>> >Please do not send mail to help-debbugs@gnu.org unless you wish
>> >to report a problem with the Bug-tracking system.
>> >
>> >-- 
>> >73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
>> >GNU Bug Tracking System
>> >Contact help-debbugs@gnu.org with problems
>> >-------------------- End of forwarded message --------------------
>> >
>> 
>> Hello Brennan,
>> 
>> That sounds like good news then. It should be available in the guix
>> channel soon then?

It will be available after (1) it is reviewed and merged to the
rust-team branch, and (2) the next time after that when rust-team is
merged to master.

I can't predict how long that will take, but it could be a few
months. If you urgently need Rust 1.82 faster than that, you need to
take another approach, for example, one of the following:

* Configure your system to use the rust-team branch rather than master,

* Use my guix-rust-next channel I linked in the other thread (note: not
  supported by the official Guix project, but it's working for me),

* If you're on a foreign distro, just install Rustup and don't use Guix
  for Rust stuff. (Less feasible if you're on GuixSD).

In general, Guix is not a distribution where major changes to packages
land immediately, so in cases like Rust where the language is
fast-moving enough that most developers want to use the latest version,
you have to get used to using some workaround.

>
> I'm not sure I have the time to do all the testing necessary for bumping
> rust to 1.82 currently so right now I'm about to join the merge queue
> with rust-1.81.

Efraim, let me know if/how I can help with testing/maintaining new Rust
releases. I've been sending the patches for new versions as they come
out but I'd also be able to help in other ways if you tell me more about
what your workflow is for merging them.

>
> -- 
> Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: R: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-22  6:42     ` R: " Marco Fortina
@ 2024-10-22 11:57       ` Brennan Vincent
  0 siblings, 0 replies; 9+ messages in thread
From: Brennan Vincent @ 2024-10-22 11:57 UTC (permalink / raw)
  To: Marco Fortina, divya@subvertising.org
  Cc: guix-devel@gnu.org, efraim@flashner.co.il

Marco Fortina <marco_fortina@hotmail.it> writes:

> Is there any plan to add rustup to the package as well? This is useful for adding targets for cross-compilation.
>

I don't have plans to add that in my channel (I don't use it), but if
someone packages it and gets it to work, I'd be happy to take a PR.

I doubt it will ever land in the main Guix channel since distributing
software whose sole purpose is to download and install software in
binary form seems to me to be contrary to the Guix philosophy. That
said, there is no good reason someone couldn't package it and include it
in another channel.

> Cheers,
> Marco
> ________________________________
> Da: guix-devel-bounces+marco_fortina=hotmail.it@gnu.org <guix-devel-bounces+marco_fortina=hotmail.it@gnu.org> per conto di Brennan Vincent <brennan@umanwizard.com>
> Inviato: lunedì 21 ottobre 2024 22:34
> A: divya@subvertising.org <divya@subvertising.org>
> Cc: guix-devel@gnu.org <guix-devel@gnu.org>; efraim@flashner.co.il <efraim@flashner.co.il>
> Oggetto: Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
>
> By the way, if you want to use Rust 1.82.0 before it gets accepted for
> the default guix channel, you can use my channel (and install
> `rust-next`, `rust-next:cargo`, and `rust-next:tools`):
>
> https://github.com/umanwizard/guix-rust-next
>
> "Brennan Vincent" <brennan@umanwizard.com> writes:
>
>> Note that we already have Rust 1.81 in rust-team, and I have already
>> sent a patch to update to 1.82 (the latest stable). Usually Efraim
>> reviews these updates.
>>
>> -------------------- Start of forwarded message --------------------
>> From: help-debbugs@gnu.org (GNU bug Tracking System)
>> To: Brennan Vincent <brennan@umanwizard.com>
>> Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
>> Date: Fri, 18 Oct 2024 15:12:01 +0000
>>
>> Thank you for filing a new bug report with debbugs.gnu.org.
>>
>> This is an automatically generated reply to let you know your message
>> has been received.
>>
>> Your message is being forwarded to the package maintainers and other
>> interested parties for their attention; they will reply in due course.
>>
>> Your message has been sent to the package maintainer(s):
>>  guix-patches@gnu.org
>>
>> If you wish to submit further information on this problem, please
>> send it to 73864@debbugs.gnu.org.
>>
>> Please do not send mail to help-debbugs@gnu.org unless you wish
>> to report a problem with the Bug-tracking system.
>>
>> --
>> 73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
>> GNU Bug Tracking System
>> Contact help-debbugs@gnu.org with problems
>> -------------------- End of forwarded message --------------------



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-22 11:51       ` Brennan Vincent
@ 2024-10-22 14:18         ` Efraim Flashner
  2024-10-22 15:16           ` Brennan Vincent
  0 siblings, 1 reply; 9+ messages in thread
From: Efraim Flashner @ 2024-10-22 14:18 UTC (permalink / raw)
  To: Brennan Vincent; +Cc: Divya, guix-devel

[-- Attachment #1: Type: text/plain, Size: 4984 bytes --]

On Tue, Oct 22, 2024 at 07:51:07AM -0400, Brennan Vincent wrote:
> Efraim Flashner <efraim@flashner.co.il> writes:
> 
> > On Tue, Oct 22, 2024 at 07:31:05AM +0000, Divya wrote:
> >> On 21 October 2024 18:08:44 GMT, Brennan Vincent <brennan@umanwizard.com> wrote:
> >> >Note that we already have Rust 1.81 in rust-team, and I have already
> >> >sent a patch to update to 1.82 (the latest stable). Usually Efraim
> >> >reviews these updates.
> >> >
> >> >-------------------- Start of forwarded message --------------------
> >> >From: help-debbugs@gnu.org (GNU bug Tracking System)
> >> >To: Brennan Vincent <brennan@umanwizard.com>
> >> >Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
> >> >Date: Fri, 18 Oct 2024 15:12:01 +0000
> >> >
> >> >Thank you for filing a new bug report with debbugs.gnu.org.
> >> >
> >> >This is an automatically generated reply to let you know your message
> >> >has been received.
> >> >
> >> >Your message is being forwarded to the package maintainers and other
> >> >interested parties for their attention; they will reply in due course.
> >> >
> >> >Your message has been sent to the package maintainer(s):
> >> > guix-patches@gnu.org
> >> >
> >> >If you wish to submit further information on this problem, please
> >> >send it to 73864@debbugs.gnu.org.
> >> >
> >> >Please do not send mail to help-debbugs@gnu.org unless you wish
> >> >to report a problem with the Bug-tracking system.
> >> >
> >> >-- 
> >> >73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
> >> >GNU Bug Tracking System
> >> >Contact help-debbugs@gnu.org with problems
> >> >-------------------- End of forwarded message --------------------
> >> >
> >> 
> >> Hello Brennan,
> >> 
> >> That sounds like good news then. It should be available in the guix
> >> channel soon then?
> 
> It will be available after (1) it is reviewed and merged to the
> rust-team branch, and (2) the next time after that when rust-team is
> merged to master.
> 
> I can't predict how long that will take, but it could be a few
> months. If you urgently need Rust 1.82 faster than that, you need to
> take another approach, for example, one of the following:
> 
> * Configure your system to use the rust-team branch rather than master,
> 
> * Use my guix-rust-next channel I linked in the other thread (note: not
>   supported by the official Guix project, but it's working for me),
> 
> * If you're on a foreign distro, just install Rustup and don't use Guix
>   for Rust stuff. (Less feasible if you're on GuixSD).
> 
> In general, Guix is not a distribution where major changes to packages
> land immediately, so in cases like Rust where the language is
> fast-moving enough that most developers want to use the latest version,
> you have to get used to using some workaround.
> 
> >
> > I'm not sure I have the time to do all the testing necessary for bumping
> > rust to 1.82 currently so right now I'm about to join the merge queue
> > with rust-1.81.
> 
> Efraim, let me know if/how I can help with testing/maintaining new Rust
> releases. I've been sending the patches for new versions as they come
> out but I'd also be able to help in other ways if you tell me more about
> what your workflow is for merging them.

Currently I first build the new version on the 3 supported architectures
for rust, x86_64, aarch64 and riscv64. I also try building the non-rust
package version, since we'll be using that one to build a future version
of rust.

After the rust package itself builds I normally try building something
simple like zoxide on each architecture, and I'll try cross-compiling it
too (only from x86_64) to test that the rust sysroot package doesn't
need changes. From there I can be pretty sure everything should be good
and I attempt to build the list of cargo-build packages which don't
start with "rust-" and fix those or their dependencies as needed. Then
I'll try building all the rust packages and fix those I can.

In terms of testing, for recent versions it's really only been a failed
test here or there for aarch64 and riscv64, so if the zoxide and cross
zoxide both build then that's pretty much everything.

Interesting tidbits:
In terms of cross building, on some versions the windows versions work
and on some they don't, they generally don't like that we strip out the
bundled libraries. The Hurd may or may not work, and a number of crates
still need some logic touch-ups to deal with it. 32-bit powerpc has some
quirks in rust that prevent some crates from working, but also makes a
good cross-target since it's such a niche target, being incredibly old
and big-endian. And I can actually test binaries built if necessary.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
  2024-10-22 14:18         ` Efraim Flashner
@ 2024-10-22 15:16           ` Brennan Vincent
  0 siblings, 0 replies; 9+ messages in thread
From: Brennan Vincent @ 2024-10-22 15:16 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Divya, guix-devel

Efraim Flashner <efraim@flashner.co.il> writes:

> On Tue, Oct 22, 2024 at 07:51:07AM -0400, Brennan Vincent wrote:
>> Efraim Flashner <efraim@flashner.co.il> writes:
>> 
>> > On Tue, Oct 22, 2024 at 07:31:05AM +0000, Divya wrote:
>> >> On 21 October 2024 18:08:44 GMT, Brennan Vincent <brennan@umanwizard.com> wrote:
>> >> >Note that we already have Rust 1.81 in rust-team, and I have already
>> >> >sent a patch to update to 1.82 (the latest stable). Usually Efraim
>> >> >reviews these updates.
>> >> >
>> >> >-------------------- Start of forwarded message --------------------
>> >> >From: help-debbugs@gnu.org (GNU bug Tracking System)
>> >> >To: Brennan Vincent <brennan@umanwizard.com>
>> >> >Subject: bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82)
>> >> >Date: Fri, 18 Oct 2024 15:12:01 +0000
>> >> >
>> >> >Thank you for filing a new bug report with debbugs.gnu.org.
>> >> >
>> >> >This is an automatically generated reply to let you know your message
>> >> >has been received.
>> >> >
>> >> >Your message is being forwarded to the package maintainers and other
>> >> >interested parties for their attention; they will reply in due course.
>> >> >
>> >> >Your message has been sent to the package maintainer(s):
>> >> > guix-patches@gnu.org
>> >> >
>> >> >If you wish to submit further information on this problem, please
>> >> >send it to 73864@debbugs.gnu.org.
>> >> >
>> >> >Please do not send mail to help-debbugs@gnu.org unless you wish
>> >> >to report a problem with the Bug-tracking system.
>> >> >
>> >> >-- 
>> >> >73864: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73864
>> >> >GNU Bug Tracking System
>> >> >Contact help-debbugs@gnu.org with problems
>> >> >-------------------- End of forwarded message --------------------
>> >> >
>> >> 
>> >> Hello Brennan,
>> >> 
>> >> That sounds like good news then. It should be available in the guix
>> >> channel soon then?
>> 
>> It will be available after (1) it is reviewed and merged to the
>> rust-team branch, and (2) the next time after that when rust-team is
>> merged to master.
>> 
>> I can't predict how long that will take, but it could be a few
>> months. If you urgently need Rust 1.82 faster than that, you need to
>> take another approach, for example, one of the following:
>> 
>> * Configure your system to use the rust-team branch rather than master,
>> 
>> * Use my guix-rust-next channel I linked in the other thread (note: not
>>   supported by the official Guix project, but it's working for me),
>> 
>> * If you're on a foreign distro, just install Rustup and don't use Guix
>>   for Rust stuff. (Less feasible if you're on GuixSD).
>> 
>> In general, Guix is not a distribution where major changes to packages
>> land immediately, so in cases like Rust where the language is
>> fast-moving enough that most developers want to use the latest version,
>> you have to get used to using some workaround.
>> 
>> >
>> > I'm not sure I have the time to do all the testing necessary for bumping
>> > rust to 1.82 currently so right now I'm about to join the merge queue
>> > with rust-1.81.
>> 
>> Efraim, let me know if/how I can help with testing/maintaining new Rust
>> releases. I've been sending the patches for new versions as they come
>> out but I'd also be able to help in other ways if you tell me more about
>> what your workflow is for merging them.
>
> Currently I first build the new version on the 3 supported architectures
> for rust, x86_64, aarch64 and riscv64. I also try building the non-rust
> package version, since we'll be using that one to build a future version
> of rust.
>

How are you building for riscv64 ? Do you have access to an actual
risc64 machine or are you using an emulator? Or do you cross-compile
from x86 or arm?

> After the rust package itself builds I normally try building something
> simple like zoxide on each architecture, and I'll try cross-compiling it
> too (only from x86_64) to test that the rust sysroot package doesn't
> need changes. From there I can be pretty sure everything should be good
> and I attempt to build the list of cargo-build packages which don't
> start with "rust-" and fix those or their dependencies as needed. Then
> I'll try building all the rust packages and fix those I can.
>
> In terms of testing, for recent versions it's really only been a failed
> test here or there for aarch64 and riscv64, so if the zoxide and cross
> zoxide both build then that's pretty much everything.
>
> Interesting tidbits:
> In terms of cross building, on some versions the windows versions work
> and on some they don't, they generally don't like that we strip out the
> bundled libraries. The Hurd may or may not work, and a number of crates
> still need some logic touch-ups to deal with it. 32-bit powerpc has some
> quirks in rust that prevent some crates from working, but also makes a
> good cross-target since it's such a niche target, being incredibly old
> and big-endian. And I can actually test binaries built if necessary.
>
> -- 
> Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-22 15:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <handler.73864.B.172926426718316.ack@debbugs.gnu.org>
2024-10-21 18:08 ` Fwd: [GNU bug Tracking System] bug#73864: Acknowledgement ([PATCH] gnu: rust: update to 1.82) Brennan Vincent
2024-10-21 20:34   ` Brennan Vincent
2024-10-22  6:42     ` R: " Marco Fortina
2024-10-22 11:57       ` Brennan Vincent
2024-10-22  7:31   ` Divya
2024-10-22  8:57     ` Efraim Flashner
2024-10-22 11:51       ` Brennan Vincent
2024-10-22 14:18         ` Efraim Flashner
2024-10-22 15:16           ` Brennan Vincent

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).