unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 40612@debbugs.gnu.org
Subject: bug#40612: guix build system --dry-run is broken
Date: Fri, 17 Apr 2020 15:50:23 -0400	[thread overview]
Message-ID: <87ftd1uc11.fsf@netris.org> (raw)
In-Reply-To: <87d088sn6j.fsf@gnu.org>

Hi Ludovic,

> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:
>
>> On Mon, 13 Apr 2020 17:31:56 -0400
>> Mark H Weaver <mhw@netris.org> wrote:
>>
>>> I guess this is related to the recent changes in graft handling, where
>>> --dry-run (a.k.a. -n) no longer implies --no-grafts.  It's not working
>>> well for me.  I hadn't updated my system since before those grafting
>>> changes were made, and there's a lot for me to rebuild (I don't use
>>> substitutes).  I was very surprised to see this small output:
>>
>> Hi Mark,
>>
>> I can confirm this behavior for "guix system". I'm on
>
> Yeah, it has to do with the new build handler and the lack of
> “parallelism” when building the system derivation:
>
>   https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00337.html
>
> I think we’ll improve it over time by introducing more parallelism
> there.
>
> Fundamentally though, we have to understand that ‘--dry-run’ can only
> print the first derivation plans, not those that are dynamically built
> as a function of build results.

Yes, of course, I agree that it's not possible to present a build plan
ahead of time when grafts are enabled.  That was the case before these
changes, and it's the case today.

The only part I don't understand is why you decided that "--dry-run"
should no longer imply "--no-grafts".  Does it work better for other
people?  For me, the "--dry-run" output has become utterly useless
unless "--no-grafts" is included.

Anyway, it's not that important to me.  I can just fix it in my own
private branch.  I filed this report because I thought it might benefit
other users to have this fixed upstream.

     Regards,
       Mark

  reply	other threads:[~2020-04-17 19:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 21:31 bug#40612: guix build system --dry-run is broken Mark H Weaver
2020-04-14 15:16 ` Björn Höfling
2020-04-15 16:56   ` Ludovic Courtès
2020-04-17 19:50     ` Mark H Weaver [this message]
2020-04-18 16:53       ` Ludovic Courtès
2020-04-19 21:50         ` Mark H Weaver
2020-04-21 14:48           ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87ftd1uc11.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=40612@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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 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).