From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#28310: guix build -n misses package builds Date: Sun, 22 Mar 2020 12:48:39 +0100 Message-ID: <87bloovcdk.fsf@gnu.org> References: <20170831190334.GA6673@jurong> <87a82exbj7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43080) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFz6G-0006oL-26 for bug-guix@gnu.org; Sun, 22 Mar 2020 07:49:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFz6E-0003sl-N4 for bug-guix@gnu.org; Sun, 22 Mar 2020 07:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFz6E-0003se-Jt for bug-guix@gnu.org; Sun, 22 Mar 2020 07:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFz6E-0001Yo-JA for bug-guix@gnu.org; Sun, 22 Mar 2020 07:49:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87a82exbj7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 02 Sep 2017 01:08:12 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Andreas Enge Cc: 28310-done@debbugs.gnu.org Hello, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Andreas Enge skribis: > >> I am right now in the process of updating pari-gp to version 2.9.3. >> After building it on a git check-out of three days ago, which went smoot= hly, >> I rebased my patch on today's master and was pleased to see that no rebu= ild >> was needed: >> >> $ ./pre-inst-env guix build pari-gp -n >> outputs nothing. >> >> However, once the -n dropped, the gd package gets built. >> And then it is starting ruby, which has no connection to pari-gp: >> Downloading https://mirror.hydra.gnu.org/guix/nar/229n3pzp5bdmbdvwslg0dx= liysas92k5-ruby-2.4.1.tar.xz... >> ruby-2.4.1.tar.xz 9.5MiB = 22KiB/s 00:06 [ = ] 1.3%^ > > =E2=80=9C-n=E2=80=9D now implies =E2=80=9C--no-grafts=E2=80=9D (commit > fd59105c49965db956fac73c68d8b00d068f5d5c). This was motivated by the > need to have -n really perform a dry run. > > The downside is that with -n we now see only half of the build plan, and > when we remove -n, we start with the other half of the build plan, > grafting. This is now fixed with this patch series: https://issues.guix.gnu.org/issue/40130 It does mean that =E2=80=9CThe following derivations will be built=E2=80=9D= can be printed several times during a build. That=E2=80=99s a natural consequence= of having dynamic dependencies (grafts) in the graph: we can=E2=80=99t always statically determine what=E2=80=99s going to be built. > The =E2=80=9Cbuild continuation=E2=80=9D idea of =E2=80=98wip-gexp-grafts= =E2=80=99, discussed in > , could in theory help with that. =E2=80=98with-build-handler=E2=80=99 also has to do with continuations, onl= y in a different way. :-) Ludo=E2=80=99.