From: "Ludovic Courtès" <ludo@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: 58419@debbugs.gnu.org
Subject: bug#58419: Grafting order depends on store connection state
Date: Mon, 17 Oct 2022 12:28:51 +0200 [thread overview]
Message-ID: <87o7uaspzw.fsf@gnu.org> (raw)
In-Reply-To: <87wn92la9e.fsf@gnu.org> ("Ludovic Courtès"'s message of "Fri, 14 Oct 2022 17:01:33 +0200")
Hi,
Ludovic Courtès <ludo@gnu.org> skribis:
> If we squint a bit, we realize it’s the same thing but in a different
> order, which is good news: it’s functionally equivalent.
>
> The downside is obvious: it’s stupidly non-deterministic, and we can end
> up building the same grafts multiple times.
>
> The order differs in two places: in the definition of ‘%build-inputs’,
> and in the definition of the ‘mapping’ variable. This can be solved by
> sorting things in the right place, but that needs some thought.
I posted a patch series that fixes this as a side-effect of switching to
‘gexp->derivation’:
https://issues.guix.gnu.org/58579
That eliminates ‘%build-inputs’, which was one source of differences,
and the ‘mapping’ variable is now populated in a deterministic fashion,
though I must say it’s not entirely clear to me why this part has
changed.
Feedback welcome!
Ludo’.
prev parent reply other threads:[~2022-10-17 10:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 19:40 bug#58419: Grafting order depends on store connection state Josselin Poiret via Bug reports for GNU Guix
2022-10-14 15:01 ` Ludovic Courtès
2022-10-17 10:28 ` Ludovic Courtès [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=87o7uaspzw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=58419@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
/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.