all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: me@jeandudey.tech, 57111@debbugs.gnu.org
Subject: [bug#57111] [PATCH 00/56] gnu: crates-io: Allow build of various rust packages.
Date: Wed, 10 Aug 2022 20:32:30 +0200	[thread overview]
Message-ID: <4b00077f-2939-3094-6fd6-c1baa2513c6c@telenet.be> (raw)
In-Reply-To: <zL3FF0tz70-22vGCL_3QsD8r6KPwAi71ftRNQ_HtEXsimU_tWYrKu6F9nqaPDRmsUj7LplbVD8SPLk8NJjnV2x4ie2F_UHYFqbIT8XZtBjM=@jeandudey.tech>


[-- Attachment #1.1.1: Type: text/plain, Size: 2013 bytes --]


On 10-08-2022 13:48, Jean Pierre De Jesus DIAZ wrote:
> This patch series allows cargo-build-system to fully build and test
> some of these packages. These are small rust packages though.
>
> Probably were added without verifying if the crate could get built or
> not. So these patches are mostly one liners removing `#:skip-build? #t'.
> [...]
> Maxime I've CCed you as this could relate to antioxidant (as it
> requires crates to build, am I right?).

We currently skip-build? #t to reduce build time with the inefficient 
cargo-build-system. To avoid wasting energy, I recommend delaying such 
patches until we have a matching _efficient_ build system.

In antioxidant, I've noticed there are often missing dependencies 
(test-only or otherwise), I have a list '%extra-inputs' that contains 
the required information for adding them Small sample:

;; TODO: add these (upstream) or teach "guix style" to add them.
;; Keep it sorted to find things in it easily!
(define %extra-inputs
   `(("alacritty" ; forgot the reason for adding the dependency
      (("rust-structopt" ,(p rust-structopt-0.3))))
     ("castor" ;; TODO: add them in upstream Guix
      (("rust-gio" ,(@ (gnu packages crates-gtk) rust-gio-0.14))
       [...]))
    [...]))

Currently, 95% of the rust packages compile (and test successfully, 
except for tests I've manually disabled), according to the antiox jobset 
at ci.guix.gnu.org.

As such, you are kind of duplicating work already done.

If you want to help with fixing the build inputs, I recommend using the 
information (currently 1498 lines) I've already gathered in 
antioxidant-packages.scm (%extra-inputs), by teaching "guix style" to 
automatically add dependencies listed in %extra-inputs. Also keep 
%removed-dependencies and %disable-tests in mind, sometimes crates must 
_not_ be added, to avoid cycles (those cycles are resolved in 
cargo-build-system, but cannot be in antioxidant).

Greetings,
Maxime.



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  parent reply	other threads:[~2022-08-10 18:33 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10 11:48 [bug#57111] [PATCH 00/56] gnu: crates-io: Allow build of various rust packages Jean Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:05 ` [bug#57111] [PATCH 01/56] gnu: rust-ab-glyph-rasterizer-0.1: Allow build Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:05   ` [bug#57111] [PATCH 02/56] gnu: rust-adaptive-barrier-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:05   ` [bug#57111] [PATCH 03/56] gnu: rust-aead-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 04/56] gnu: rust-aes-0.3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 05/56] gnu: rust-aliasable-deref-trait-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 06/56] gnu: rust-aliasable-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 07/56] gnu: rust-always-assert-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 08/56] gnu: rust-anymap-0.12: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 09/56] gnu: rust-approx-0.3: Allow build.Allow build Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 10/56] gnu: rust-arbitrary-1: Allow build Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 11/56] gnu: rust-arbitrary-0.4: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 12/56] gnu: rust-arc-swap-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 13/56] gnu: rust-argh-shared-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 14/56] gnu: rust-argh-derive-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 15/56] gnu: rust-array-macro-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:06   ` [bug#57111] [PATCH 16/56] gnu: rust-arrayvec-0.7: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 17/56] gnu: rust-arrayvec-0.5: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 18/56] gnu: rust-arrayvec-0.4: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 19/56] gnu: rust-ascii-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 20/56] gnu: rust-ascii-0.8: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 21/56] gnu: rust-ascii-utils-0.9: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 22/56] gnu: rust-assert-0.7: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 23/56] gnu: rust-assert-approx-eq-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 24/56] gnu: rust-assert-impl-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 25/56] gnu: rust-async-datagram-3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 26/56] gnu: rust-atomic-polyfill-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 27/56] gnu: rust-atty-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 28/56] gnu: rust-bare-metal-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:07   ` [bug#57111] [PATCH 29/56] gnu: rust-base64-0.13: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 30/56] gnu: rust-base-x-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 31/56] gnu: rust-beef-0.5: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 32/56] gnu: rust-bigdecimal-0.3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 33/56] gnu: rust-bitfield-0.13: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 34/56] gnu: rust-bitstream-io-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 35/56] gnu: rust-bitstream-io-0.8: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 36/56] gnu: rust-blobby-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 37/56] gnu: rust-block-buffer-0.10: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 38/56] gnu: rust-block-buffer-0.3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 39/56] gnu: rust-block-buffer-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 40/56] gnu: rust-block-cipher-trait-0.6: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 41/56] gnu: rust-boxfnonce-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 42/56] gnu: rust-buf-redux-0.8: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:08   ` [bug#57111] [PATCH 43/56] gnu: rust-buffered-reader-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 44/56] gnu: rust-bugreport-0.4: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 45/56] gnu: rust-bugreport-0.3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 46/56] gnu: rust-byte-tools-0.3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 47/56] gnu: rust-bytecheck-0.5: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 48/56] gnu: rust-bytemuck-derive-1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 49/56] gnu: rust-calloop-0.6: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 50/56] gnu: rust-calloop-0.4: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 51/56] gnu: rust-capnpc-0.13: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 52/56] gnu: rust-cassowary-0.3: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 53/56] gnu: rust-cast-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 54/56] gnu: rust-cfg-aliases-0.1: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 55/56] gnu: rust-chrono-humanize-0.2: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 12:09   ` [bug#57111] [PATCH 56/56] gnu: rust-chrono-tz-0.6: " Jean-Pierre De Jesus DIAZ via Guix-patches via
2022-08-10 18:32 ` Maxime Devos [this message]
2022-08-11 12:48   ` [bug#57111] [PATCH 00/56] gnu: crates-io: Allow build of various rust packages Jean Pierre De Jesus DIAZ via Guix-patches via
2024-04-02 11:36 ` bug#57111: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b00077f-2939-3094-6fd6-c1baa2513c6c@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=57111@debbugs.gnu.org \
    --cc=me@jeandudey.tech \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.