From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 22 07:48:50 2020 Received: (at 28310-done) by debbugs.gnu.org; 22 Mar 2020 11:48:50 +0000 Received: from localhost ([127.0.0.1]:48662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFz61-0001YH-Vj for submit@debbugs.gnu.org; Sun, 22 Mar 2020 07:48:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFz5z-0001Y0-Rh for 28310-done@debbugs.gnu.org; Sun, 22 Mar 2020 07:48:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jFz5u-0003mB-Dv; Sun, 22 Mar 2020 07:48:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46748 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jFz5t-0007xc-NH; Sun, 22 Mar 2020 07:48:42 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andreas Enge Subject: Re: bug#28310: guix build -n misses package builds References: <20170831190334.GA6673@jurong> <87a82exbj7.fsf@gnu.org> Date: Sun, 22 Mar 2020 12:48:39 +0100 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") Message-ID: <87bloovcdk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28310-done Cc: 28310-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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.