all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Tomas Volf <~@wolfsden.cz>
Cc: 69170@debbugs.gnu.org, 69169@debbugs.gnu.org
Subject: [bug#69169] [bug#69170] [PATCH rust-team 00/46] Add netavark
Date: Tue, 20 Feb 2024 09:50:23 +0200	[thread overview]
Message-ID: <ZdRZvwsyr2DXgNdw@3900XT> (raw)
In-Reply-To: <ZdIOXAXbLi7-6FiE@ws>

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

On Sun, Feb 18, 2024 at 03:04:12PM +0100, Tomas Volf wrote:
> On 2024-02-18 14:39:23 +0200, Efraim Flashner wrote:
> > I pushed the patches to the rust-team branch without the change for
> > cargo-native-inputs and without the snippet for prost-build.  I also
> > adjusted some of the patches so that the packages built.
> 
> Well I am just happy it was merged, so no complains here, but I have to admit I
> am curious.  Is it really expected that every user of prost-build will need to
> add protobuf into native-inputs?

Only in situations where it is needed.  In actuality we only needed it
in prost-build itself and in netavark.

> What if, in some new version, it starts requiring some-other-package instead of
> protobuf?  All the downstream users will need to be adjusted as well.  That
> seems somewhat sub-optimal.  So I am trying to understand the reasoning here.

The patch you sent hardcoded the path to protobuf into the source of
prost-build, which we try not to do.  Also, using something like
cargo-native-inputs is (to me) a little "too magical" to make sure that
we have the required native-inputs in future builds.  However! Don't let
me nay-say it, if you feel strongly about it then do continue to push
for it. Ideally we'd have a true graph of the dependencies among the
rust packages rather than cargo-inputs and cargo-development-inputs, but
we still don't have anything like the antioxidant-build-system yet.

Another package which had to have an included perl dependency everywhere
was the rust-ring packages. In the end I ended up going and rebuilding
nearly all the pre-generated files in the sources so that we would have
a ready-to-use source tarball without the need for perl everywhere.
Seeing that protobuf was only needed in these two packages I don't think
prost-build needs that currently, but it's also an option.

> Thanks and have a nice day,
> Tomas Volf
> 
> --
> There are only two hard things in Computer Science:
> cache invalidation, naming things and off-by-one errors.



-- 
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 --]

      reply	other threads:[~2024-02-20  7:52 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 20:25 [bug#69170] [PATCH rust-team 00/46] Add netavark Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 01/46] build-system: cargo: Add #:cargo-native-inputs argument Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 02/46] gnu: Add rust-pulldown-cmark-to-cmark-10 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 03/46] gnu: Add rust-sync-wrapper-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 04/46] gnu: Add rust-multer-2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 05/46] gnu: Add rust-iri-string-0.7 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 06/46] gnu: Add rust-tower-http-0.4 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 07/46] gnu: Add rust-axum-macros-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 08/46] gnu: Add rust-axum-core-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 09/46] gnu: Add rust-axum-0.6 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 10/46] gnu: rust-async-stream-impl-0.3: Update to 0.3.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 11/46] gnu: rust-async-stream-0.3: " Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 12/46] gnu: Add rust-sysctl-0.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 13/46] gnu: Add rust-prost-derive-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 14/46] gnu: Add rust-prost-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 15/46] gnu: Add rust-prost-types-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 16/46] gnu: Add rust-prost-build-0.12 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 17/46] gnu: Add rust-tonic-build-0.10 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 18/46] gnu: Add rust-tonic-0.10 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 19/46] gnu: Add rust-nftables-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 20/46] gnu: Add rust-netlink-sys-0.8 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 21/46] gnu: Add rust-netlink-packet-utils-0.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 22/46] gnu: Add rust-netlink-packet-core-0.7 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 23/46] gnu: Add rust-netlink-packet-generic-0.3 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 24/46] gnu: Add rust-netlink-packet-route-0.18 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 25/46] gnu: Add rust-netlink-packet-route-0.19 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 26/46] gnu: Add rust-netlink-proto-0.11 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 27/46] gnu: Add rust-genetlink-0.2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 28/46] gnu: Add rust-mptcp-pm-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 29/46] gnu: Add rust-rtnetlink-0.14 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 30/46] gnu: Add rust-ethtool-0.2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 31/46] gnu: Add rust-nispor-1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 32/46] gnu: Add rust-etherparse-0.13 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 33/46] gnu: Add rust-dhcproto-macros-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 34/46] gnu: Add rust-dhcproto-0.9 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 35/46] gnu: Add rust-mozim-0.2 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 36/46] gnu: Add rust-iptables-0.5 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 37/46] gnu: Add rust-env-filter-0.1 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 38/46] gnu: rust-anstyle-1: Update to 1.0.6 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 39/46] gnu: Add rust-env-logger-0.11 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 40/46] gnu: rust-rkyv-derive-0.7: Update to 0.7.44 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 41/46] gnu: rust-rkyv-0.7: " Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 42/46] gnu: Add rust-pure-rust-locales-0.8 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 43/46] gnu: Add rust-windows-metadata-0.52 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 44/46] gnu: Add rust-windows-bindgen-0.52 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 45/46] gnu: rust-chrono-0.4: Update to 0.4.34 Tomas Volf
2024-02-15 20:26 ` [bug#69170] [PATCH rust-team 46/46] gnu: Add netavark Tomas Volf
2024-02-18 12:39 ` [bug#69169] [bug#69170] [PATCH rust-team 00/46] " Efraim Flashner
2024-02-18 14:04   ` Tomas Volf
2024-02-20  7:50     ` Efraim Flashner [this message]

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=ZdRZvwsyr2DXgNdw@3900XT \
    --to=efraim@flashner.co.il \
    --cc=69169@debbugs.gnu.org \
    --cc=69170@debbugs.gnu.org \
    --cc=~@wolfsden.cz \
    /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.