From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SKx7F8NKSmGPAAEAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 23:12:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2NUgE8NKSmGdMwAA1q6Kng (envelope-from ) for ; Tue, 21 Sep 2021 21:12:35 +0000 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 A44022CC52 for ; Tue, 21 Sep 2021 23:12:34 +0200 (CEST) Received: from localhost ([::1]:59096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSn45-000688-La for larch@yhetil.org; Tue, 21 Sep 2021 17:12:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSn3q-00065q-ON for guix-devel@gnu.org; Tue, 21 Sep 2021 17:12:18 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:44953) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSn3i-0003KF-Ng for guix-devel@gnu.org; Tue, 21 Sep 2021 17:12:15 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 9547D27BBE1; Tue, 21 Sep 2021 22:12:09 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c89bbced; Tue, 21 Sep 2021 21:12:09 +0000 (UTC) References: <86y27rc4lf.fsf@gmail.com> User-agent: mu4e 1.6.5; emacs 27.2 From: Christopher Baines To: zimoun Subject: Re: OBS substitutes Date: Tue, 21 Sep 2021 22:08:33 +0100 In-reply-to: <86y27rc4lf.fsf@gmail.com> Message-ID: <877df9y6om.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632258754; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=hbIjW3KqiYTG622CrHwjUrv0WYTuLK620P9NHwcNF1s=; b=GZ6xzV1P3DBbqcMNL33Ic9Jj01nUpfE/aW49tHJBe35VVtA6HlbohvOmvXn5pL24QUdBL2 yioB9VXBWjSTdcTCukc77FbW70i1pDi5OrrLNtxIa7vRFOo5DtOKYFNn0WjekPXMlNDvcS daqK9NvUgYoMt6c9rX9T0nUI8AXuPqwyAz5Lxc77ZhO/T8UQQbwZZ1mJ0O7j48+tq75L+J 4vRgvx2VdsOijBD45iBb1oXniFzcaP0pCG/F+wT2qNrR/JJb5tbR2GgZC+Tz/jM5CeBqPb aMn1Gc2PLoaybFdwyI6V6vunTkDaehLrWyolF8OQK47pt8CW20+fJhEqQ33sOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632258754; a=rsa-sha256; cv=none; b=Z0Q5PYgryzLqKXdSyuzbw08SoiVSbHBvrrJUU7pi4ciBj9XjT4TiN+1rKXauqDnhKoPsZ2 sYXzpuyozANnnzO4FBacuiaxKGZpw6jIAS/mqnL/MqdllCvldJ1TDhIfDBri7P2O5g4i+V mP0w942++9ULXzsuy+4NUuAqtz4SbIbbnP7LfadQGfKvINdswblg/PmPXpPMSeTYivtOCW l5YYJjFaI5gE8UXmG/mv1Sa2UmfKrfBUvj63scVr4a4DrB+5mm6fAAkTBS7njm0/0OTQE2 tlP0ivit5uA67bxr7qdMlMVN4Zp3IvZMGkzjIBbQRjc89hG+t9SsP+peuvA2Gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A44022CC52 X-Spam-Score: -4.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: WwcNCqsz9s9G --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable zimoun writes: > I am confused because using Guix fb32a38, I get: > > $ guix weather obs > computing 1 package derivations for x86_64-linux... > looking for 1 store items on https://ci.guix.gnu.org... > https://ci.guix.gnu.org > 0.0% substitutes available (0 out of 1) > unknown substitute sizes > 0.0 MiB on disk (uncompressed) > > 0.0% (0 out of 1) of the missing items are queued > at least 1,000 queued builds > powerpc64le-linux: 999 (99.9%) > i686-linux: 1 (.1%) > build rate: .00 builds per hour > powerpc64le-linux: 0.00 builds per hour > x86_64-linux: 0.00 builds per hour > i686-linux: 0.00 builds per hour > aarch64-linux: 0.00 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) > 4.0 MiB of nars (compressed) > 15.2 MiB on disk (uncompressed) > (continuous integration information unavailable) > > > well, I do not understand why it is not on Berlin. But why not. Then, > > $ guix build obs -n > The following derivations would be built: > /gnu/store/iz6yxr0jz312xz6494zc9wwv3w2lxzs5-obs-27.0.1.drv > /gnu/store/s4yg1apy5m3l2scqbd2v27bcs07c1b5j-obs-27.0.1.tar.xz.drv > /gnu/store/i9r2gwiqqr3ggyf63ad3k6ardiv68w1c-obs-27.0.1-checkout.drv > > > Hum, I am confused why Guix wants to build from source when it is > available on Bordeaux. I have checked my config, but why not if I > miss something. Explicitly, > > $ guix build obs --substitute-urls=3D"https://bordeaux.guix.gnu.org" > The following derivations will be built: > /gnu/store/iz6yxr0jz312xz6494zc9wwv3w2lxzs5-obs-27.0.1.drv > /gnu/store/s4yg1apy5m3l2scqbd2v27bcs07c1b5j-obs-27.0.1.tar.xz.drv > /gnu/store/i9r2gwiqqr3ggyf63ad3k6ardiv68w1c-obs-27.0.1-checkout.drv > building /gnu/store/i9r2gwiqqr3ggyf63ad3k6ardiv68w1c-obs-27.0.1-checkout.= drv... > guile: warning: failed to install locale > environment variable `PATH' set to `/gnu/store/v6f44zccwh9z5zk3pjlywjybbi= 8n2hjh-tar-1.32/bin:/gnu/store/ncydgq2znms5n1d2k5yqshhf58nsixwv-gzip-1.10/b= in:/gnu/store/i8h2pcxqdq07ijm3ibkka8f4smn1w48v-bzip2-1.0.8/bin:/gnu/store/9= 860f1abqj8wjjnwl8a9v54pdcc3bhgf-xz-5.2.4/bin:/gnu/store/60g7r3l01fd7c58yjbm= 6krgcwj1jkpwg-file-5.38/bin:/gnu/store/n4n560pfvvw50a9369axw5vj5rrqfj1n-dif= futils-3.7/bin:/gnu/store/cd5qf3kcnlq35p9k392pjdpdzpsnds70-patch-2.7.6/bin:= /gnu/store/hic7snhayfl7m6cpfqqr73nmm19bpqkg-findutils-4.7.0/bin:/gnu/store/= swqdvwri9dbv6zssg6v0by7l05hd6wxp-gawk-5.0.1/bin:/gnu/store/ishk7fswcs4gkwcp= 8mh788z4mvvl9bxh-sed-4.8/bin:/gnu/store/bhs4rj58v8j1narb2454raan2ps38xd8-gr= ep-3.4/bin:/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin:/= gnu/store/hm40bxnv8jxmbc1lpb7zfimii4xm9m81-make-4.3/bin:/gnu/store/pwcp239k= jf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin:/gnu/store/mpa04aq8lblbcvi= yxywxcsb1zbi0mf39-ld-wrapper-0/bin:/gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg= 3m4-binutils-2.34/bin:/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0= /bin:/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/bin' > hint: Using 'master' as the name for the initial branch. This default bra= nch name > hint: is subject to change. To configure the initial branch name to use i= n all > hint: of your new repositories, which will suppress this warning, call: > hint:=20 > hint: git config --global init.defaultBranch > hint:=20 > hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and > hint: 'development'. The just-created branch can be renamed via this comm= and: > hint:=20 > hint: git branch -m > Initialized empty Git repository in /gnu/store/86x4q8w68984r6n4j0wl00zw1z= q8xy96-obs-27.0.1-checkout/.git/ > C-c C-c > > Why? How is it possible that =E2=80=9Cguix weather=E2=80=9D reports that= the > substitute is available but then =E2=80=9Cguix build=E2=80=9D does not fe= tch it? guix weather just looks whether there's a substitute. When you run guix build, that substitute will only be used if it's signed by a key that is in your ACL. My guess here is that this isn't the case. On Guix Systems, if the substitute keys are left as the default, for recent revisions of Guix, the bordeaux.guix.gnu.org signing key will be included in the ACL by default. With Guix on foreign distributions, it needs adding manually. I think there's some room for improvement in the UI/UX here, in terms of telling users that there are substitutes available, if they trust a specific key (all the relevant information is in the narinfo). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmFKSqlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdF5BAAsLkLromCsUcf6iKGNmIULiKcAX64hSz1 St/PVgNVJyWjr6DNXDxj9QJnWIgKZXWnIzZcoy/aHzmLEUCxyAT18cAACZq+y0Os nY81gIsRnO1QBghUQc5lXHqwBC3hCe9dh4zJHf+zUIq6Z/nwGmH3QsRUmtzMKOLL vh0MnsJhvsM3PmNuoDqwXj+ZamINCaIJcWo9KBW4e2YvpmZXhOyfprQAoKO6WCUp zkEhKket+MOcuImaZcZFVgZUxAkp9V6rjx95r/6WeZyCUK4xYN6xFzkL53RiRDfA bsycvl2CjJhIo5+DWVcgqIsmu8VnHz6Uc+S7EJpcM2cBG3xqMaGdKf4RFM4m6GS1 LHjBTEK6FhMot8t9wtJr4/3rcGY9Zni6WA0Ey4h+ryNG9MpFL3RwT0quarNxSNKh hB7oNvRFkPpYqoD4/V6sQXVvi85x84eNVhSUrlbKk976SfPERnUHYZxU8wpg7PEX lKWHKR1pAy8xuIWcufrxgMgiFEupqcN7aDc5tnzaStl2TV5RtBQ5KPRdVC55H0bx 9PlLQjky7a+Zn2OrWqFX6zKJBomawJYHNKHlF5TlJ5A1UHQ19vyarMu74KCl1RR+ 89eOKiBmcUHANFBzLoNQs5v+6DazgqLsJxxYdV2eRZzNhP9BS3AKeyxLV4I7DZC1 eUn4QZRJRQY= =2Ory -----END PGP SIGNATURE----- --=-=-=--