From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22990: Grafts leads to inefficient substitute info retrieval Date: Sat, 12 Mar 2016 12:23:35 +0300 Message-ID: <87a8m4123s.fsf@gmail.com> References: <8737rxx8gk.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:4830:134:3::10]:40935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aefmH-00057j-Sc for bug-guix@gnu.org; Sat, 12 Mar 2016 04:24:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aefmD-0006st-S0 for bug-guix@gnu.org; Sat, 12 Mar 2016 04:24:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aefmD-0006sp-Np for bug-guix@gnu.org; Sat, 12 Mar 2016 04:24:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aefmD-0000Mm-JI for bug-guix@gnu.org; Sat, 12 Mar 2016 04:24:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737rxx8gk.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 11 Mar 2016 17:52:59 +0100") 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.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 22990@debbugs.gnu.org Ludovic Court=C3=A8s (2016-03-11 19:52 +0300) wrote: > As of right now (v0.9.0-2007-g66a30a3), =E2=80=98graft-derivation=E2=80= =99 works either by: > > 1. Fetching substitute info about the things being built so that it > can determine its references, which in turns allows it to determine > whether they need to be grafted. > > 2. Building stuff, as a last resort, so that it can determine its > references. I noticed that #1 is happening even with --no-substitutes option. Is it intended? I've tried this: $ guix build --dry-run --no-substitutes mutt substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100= .0% substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100= .0% substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100= .0% substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100= .0% substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100= .0% The following derivations would be built: /gnu/store/a2w22xlmfwkgwx4vw11dxc6zrdmww435-mutt-1.5.24.drv ... --=20 Alex