From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KPK2EAFV/mLf6gAAbAwnHQ (envelope-from ) for ; Thu, 18 Aug 2022 17:04:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UMbYEAFV/mI/ZwEA9RJhRA (envelope-from ) for ; Thu, 18 Aug 2022 17:04:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6B1EE45755 for ; Thu, 18 Aug 2022 17:04:23 +0200 (CEST) Received: from localhost ([::1]:48324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOh4I-00075v-IE for larch@yhetil.org; Thu, 18 Aug 2022 11:04:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOh0w-0003at-6D for help-guix@gnu.org; Thu, 18 Aug 2022 11:00:58 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:45706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOh0u-00047C-5v for help-guix@gnu.org; Thu, 18 Aug 2022 11:00:53 -0400 Received: by mail-wm1-x329.google.com with SMTP id bd26-20020a05600c1f1a00b003a5e82a6474so1064948wmb.4 for ; Thu, 18 Aug 2022 08:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc; bh=KTHYpOV8ZmDBbZsPp79GR3gdpCP1L4a8Pe7Z8G4RdDs=; b=D3MWJSvJ7rAsBbihv8P8PiMZBRxyn6S58Jc2FXewn4WpSIeXz2I17oqjALaSkxSqun n1EIX4/yPyhIFelGRJRAk9Fj/P7gVGtpG5nDr2QW4U0pWsMRki7JDBspc6l64khNVjXm +ZOUuMAdqQXdexnfzEkczo7mUUdhk6Q3AygG5C950GX3DnhxzooZcnXDUdtVqZT+P/Tk RRRNOKNS/JHq6C693Qi3wPuh3GqTGjmMZXIA2TTkKBpcpTPqOnY5jbprH2XQwEKsVBH1 pk2G2RCHHTjm2UiEGZ8n00OHBXu9Q8SFqJpv16YS8+YmbTwKgtwvKapI/gj//adWKuqq 5Stw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc; bh=KTHYpOV8ZmDBbZsPp79GR3gdpCP1L4a8Pe7Z8G4RdDs=; b=jny3JROUDQAk6eXXX5x8YtQTcAG/9QHcgOrOga+2tYCbLzyPwF6XnsKuR4B9zz1oUA fz3N63+otu7f7riFIHgzUfUp9AvXCgR9he9kzluTeH7PIUVZ9orBHoA0L2VqdiO8u5KW 1i232gypptWUyqjEM+K2M9G0kGOfSdGWJNW/asrpknX93E28CTsH1WwBQ6H8gXqmEEbZ OiNmEuPnP57l1Xq2scus2H0Jhy2Xk/16+m17B/b6P6TaAJs++1MIvX3WFs4ujAf2ETO5 n8zGget2ZV8EC4ktX5loeOJXhlUmQcGZGsL+65y7V5bR96JEMAWfLAz2hWxBfDud4AEK VADQ== X-Gm-Message-State: ACgBeo0ZnqXbPZ1PW1VUX/Iz7Iw5zEwOfLyAkNbrgYsbrZb1yJfoDJ9j UphPnjcNhJpdzyy/TymbVMEVFgCkRGk= X-Google-Smtp-Source: AA6agR70qldxYXf1wT9YGdl8iqWkI4fi4xmaZZsIvA+SnrhpAf5WC5rwGLc8uC8eGo2iEY8N7MZnJg== X-Received: by 2002:a1c:4b01:0:b0:3a5:94e8:948e with SMTP id y1-20020a1c4b01000000b003a594e8948emr2174873wma.197.1660834850563; Thu, 18 Aug 2022 08:00:50 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e15-20020a05600c4e4f00b003a62400724bsm2696255wmq.0.2022.08.18.08.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 08:00:50 -0700 (PDT) From: zimoun To: Saku Laesvuori , help-guix@gnu.org Subject: Re: Substitute not being used In-Reply-To: <20220725180100.x6gfih3xx6gbcq77@X-kone> References: <20220725180100.x6gfih3xx6gbcq77@X-kone> Date: Thu, 18 Aug 2022 12:43:07 +0200 Message-ID: <87lerl7ryc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660835063; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KTHYpOV8ZmDBbZsPp79GR3gdpCP1L4a8Pe7Z8G4RdDs=; b=UHQIOHenUJvuFqF0nFQjXY5bleaqNOiiuvWDfl/FXQdbjF7wbF0DKveVkHPcRK7vW/qEvu K+fUUj4ZbIxedwkkJ9iEIagmniLeRe8Sctnqtzk3dpEUEFQ7kcQ36aZGgDwRJCtP/RGO4X Ba+WY8B6XyrGnYEuroIv6XNJ9pTqnDpsAxPGP6tWRjJLYdPpnowHrx+a+Lm4ep67J7EktZ AEPWoFZqyZzHbREzlKBNILWgOZvf01xZLL8moaKbZcvjPr04/pd7Dp0gpNUzVGAlsHuYvo DROXKM1LLSzDEV0veGDAPeMZMN/8RjZ42XR16bpYGyWkYTckkOAJWNmCkijd1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660835063; a=rsa-sha256; cv=none; b=lDGI9VWzAXRtxCGWIE19XwEdAt2LxBt3AMdATs4MZaLMsQlbS7+JE6lVJuDVDsSUpfeYpH MBV08/7yEvvIzy9lKXoRBD9UD9lJ+OiQQ5+w044lRoTnFscrO9P9XvgBIv0a/UEry8FJUN bX75voy4LcXXr7VD4KJQzzSE6Mo2PJB9q6sVzt9h5N6lXg4o5xRKX1CUioIxayzWdWuvss KlXb0+nUakT47mCLE4klqWJI0epbp/LWb4HjAybqtqQ6YjY8caMcTgIayuVyVCRUzw8qEc 8+huDC00ZEWo1bKZiJMVhcQU+joUdMGh+y+Srwif7xbEZEzCWvThLBxwFpntew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=D3MWJSvJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=D3MWJSvJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6B1EE45755 X-Spam-Score: -5.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: S5WIGA1ZGn6X Hi, On lun., 25 juil. 2022 at 21:42, Saku Laesvuori wrote: > I'm trying to install telegram-desktop and I *think* guix should be able > to substitute it, but instead it tries to build it. (which then > consistently fails, which is why I started looking into it) Do you have allowed substitutes? > $ guix describe > Generation 11 Jul 25 2022 10:15:41 (current) > guix 2367469 > repository URL: https://git.savannah.gnu.org/git/guix.git > commit: 236746900f062b34c857c4aab21709bcf1448ac7 > > There is a build for telegram-desktop for x86_64-linux > (https://ci.guix.gnu.org/build/1119886/details) that is part of an > evaluation on the same commit that my guix is on. --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D2367469 -- weather telegram-desktop computing 1 package derivations for x86_64-linux... looking for 1 store items on https://ci.guix.gnu.org... https://ci.guix.gnu.org 100.0% substitutes available (1 out of 1) at least 44,6 MiB of nars (compressed) 100,2 MiB on disk (uncompressed) at least 1=E2=80=AF000 queued builds powerpc64le-linux: 990 (99.0%) i686-linux: 6 (.6%) x86_64-linux: 4 (.4%) build rate: 28.06 builds per hour x86_64-linux: 11.92 builds per hour aarch64-linux: 7.26 builds per hour i686-linux: 5.42 builds per hour powerpc64le-linux: 6.34 builds per hour looking for 1 store items on https://bordeaux.guix.gnu.org... https://bordeaux.guix.gnu.org 100.0% substitutes available (1 out of 1) 21,6 MiB of nars (compressed) 100,2 MiB on disk (uncompressed) (continuous integration information unavailable) --8<---------------cut here---------------end--------------->8--- > One confusing thing I've noticed while looking into this is that when > guix starts building telegram-desktop it says it's building > > /gnu/store/aqhqhza58lzkvzxrspzbf8v9ssqvkxri-telegram-desktop-2.9.3.drv > > but the derivation on ci.guix.gnu.org is > > /gnu/store/gz50dz1rfaik7s33d22r2lmyzwd7f7bm-telegram-desktop-2.9.3.drv > > Can someone explain what's happening here and what I have misunderstood? --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D2367469 -- build telegram-desktop -n -d The following derivation would be built: /gnu/store/aqhqhza58lzkvzxrspzbf8v9ssqvkxri-telegram-desktop-2.9.3.drv $ guix time-machine --commit=3D2367469 -- build telegram-desktop -n -d --no= -grafts /gnu/store/gz50dz1rfaik7s33d22r2lmyzwd7f7bm-telegram-desktop-2.9.3.drv --8<---------------cut here---------------end--------------->8--- However, as you noticed, the ungrafted version seems substituable and not the grafted one. I agree it is confusing that =E2=80=9Cguix weather=E2=80=9D reports an avai= bility when it is not the case for =E2=80=9Cguix build=E2=80=9D. Maybe, it can be cons= idered as a bug. Cheers, simon