GNU bug report logs - #64904
[WIP] rust-build-system proposition

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 27 Jul 2023 16:43:01 UTC

Severity: normal

Done: Nicolas Graves <ngraves <at> ngraves.fr>

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 64904 in the body.
You can then email your comments to 64904 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#64904; Package guix-patches. (Thu, 27 Jul 2023 16:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 27 Jul 2023 16:43:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Subject: [WIP] rust-build-system proposition
Date: Thu, 27 Jul 2023 18:42:04 +0200
This series of patches is my current work in progress to include the
antioxidant-build-system from Maxime Devos into Guix.

I have a lot of rust packages covered, but still a few more to work on,
this series is not really here for packages for now, but to get some
feedback to improve / make the build-system play nicely with Guix.

There are already quite a few changes that I made to the original
antioxidant-build-system, and I tried to record them in commits so that
Maxime or anyone interested can take a look and see / discuss some
choices I made. 

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#64904; Package guix-patches. (Sun, 30 Jul 2023 14:35:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: 64904 <at> debbugs.gnu.org, Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [WIP] rust-build-system proposition
Date: Sun, 30 Jul 2023 16:34:21 +0200
[Message part 1 (text/plain, inline)]
The patches are missing (see: https://issues.guix.gnu.org/64904).

Also, you'll need to put me in CC:.

Best regards,
Maxime Devos.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#64904; Package guix-patches. (Mon, 30 Dec 2024 06:25:01 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: 64904 <at> debbugs.gnu.org
Subject: [WIP] rust-build-system proposition
Date: Mon, 30 Dec 2024 00:24:13 -0600
[Message part 1 (text/plain, inline)]
Hi,

What's the status on this ticket?

-- 
all the best,
jgart
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#64904; Package guix-patches. (Mon, 30 Dec 2024 10:38:02 GMT) Full text and rfc822 format available.

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

From: ngraves <at> ngraves.fr
To: jgart <jgart <at> dismail.de>, 64904 <at> debbugs.gnu.org
Subject: Re: [bug#64904] [WIP] rust-build-system proposition
Date: Mon, 30 Dec 2024 11:37:01 +0100
On 2024-12-30 00:24, jgart via Guix-patches via wrote:

> Hi,
>
> What's the status on this ticket?

I most likely lost the data with my recent computer issues, such a shame
that was a lot of work (1-2 months part-time). 

As a record if someone wants to follow through, what I did from memory,
it worked well:
- moved antioxidant-build-system to rust-build-system
- rust-build-system was actually a rust-workspace-build-system, with the
logic that a single package was a workspace of one package
- I moved most of the state from antioxidant-build-system to arguments,
was finishing that, there was only 3-5 arguments left.
- for workspaces, an output was a package
- for some crates-gtk.scm or crates-crypto.scm, the whole file could be
summarized into one or two packages with multiple outputs. (This should
be a more general conversation, Go and Node have the same workspace
logic that we should be able to build on, and avoid managing in Guix was
can be done through workspaces. That was one of my blockers, not having
inputs on whether was I was doing would eventually be adopted due to
this).

The huge upside from all this was that our cargo-build-system rebuilds
everything for every package, while the declarative nature of guix
allows to avoid that.  Compiling all rust packages with
rust-build-system was actually doable on a good computer in less than a
day. Not possible with cargo-build-system.

-- 
Best regards,
Nicolas Graves




bug closed, send any further explanations to 64904 <at> debbugs.gnu.org and Nicolas Graves <ngraves <at> ngraves.fr> Request was from Nicolas Graves <ngraves <at> ngraves.fr> to control <at> debbugs.gnu.org. (Sun, 19 Jan 2025 09:58:01 GMT) Full text and rfc822 format available.

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

This bug report was last modified 25 days ago.

Previous Next


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