From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0Aa7DpckuWWthgAAqHPOHw:P1 (envelope-from ) for ; Tue, 30 Jan 2024 17:32:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0Aa7DpckuWWthgAAqHPOHw (envelope-from ) for ; Tue, 30 Jan 2024 17:32:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=J1dT5rRg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706632343; 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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=G/RMozWIoAWr+/n+rptls2LF9OB7WccQW/o0X6CaOTc=; b=bWvCN5puJZZYtJ9EFjEygNcPfVsJvtbsKYKGcAx+FDE/OxlQDhwpsQebIw5ymfAkmWJeuT Dt7DaiKSAeU8CgJ0656iN1EXG/DlV/ItEaKvceXoVeuZPKg0l91g5X1Sn90CNNquegLyI7 XYfad5zRTrMWUTsQUB+Jp8aGT+cxvNB/lXyxAJX/biqnFl9r5DNdw2EUN5TwNsFemAnwct Tpguih3U6DZaLjd8S4ekCihaJdsknoY+2YJZOwdYHxSOuVrv1YgQtqUJClibecYUCDWplW 07+vMWM1dXCKWtEYFn901mevVxPIPFEdYQfNZWue6tKRk7qdiXKOdjYM6/s9bQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=J1dT5rRg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706632343; a=rsa-sha256; cv=none; b=U6OYNWfQD7hFh00EitXXzoyFOpNZD8XxM6849XmgS0XU13sXNgful+g415/BFgJ5zhuLWi YpBht+0KtMlQpEwLGeT6kXirTQ35R2Xqnyr8g4uxrsxk1k5OYZvUDBtwMaMi5SPZ5Yk0r7 ob3LcbkPRmR7m4TyTOPHY1opdUvJE+9LHpB5cPBPBNDMjZi1x9i6LqWpoyU4SAYPiVg0pW KBHVM5uVh8fpA4eZcYyu75yLoD/LUydKRoG47wOX/sl4wE/HBm8Wc3gO3eRnFwXFXSdfHQ eJ7dp5dRZxKocjLuwttqAjJlG1MwjeioAc0FETfciw3nQdyS+/UgVZlVhxcoEw== 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 071AC18BA5 for ; Tue, 30 Jan 2024 17:32:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUr1f-0007Ij-Lk; Tue, 30 Jan 2024 11:31:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUr1d-0007IS-MP for bug-guix@gnu.org; Tue, 30 Jan 2024 11:31:54 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUr1d-0004VD-Dm for bug-guix@gnu.org; Tue, 30 Jan 2024 11:31:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUr1m-0001HY-Bs for bug-guix@gnu.org; Tue, 30 Jan 2024 11:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68822: Channel dependencies picked at the wrong commit Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Jan 2024 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68822 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68822@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17066323154909 (code B ref -1); Tue, 30 Jan 2024 16:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2024 16:31:55 +0000 Received: from localhost ([127.0.0.1]:36578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUr1e-0001H6-G5 for submit@debbugs.gnu.org; Tue, 30 Jan 2024 11:31:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUr1c-0001Gq-Ci for submit@debbugs.gnu.org; Tue, 30 Jan 2024 11:31:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUr1C-000744-1v for bug-guix@gnu.org; Tue, 30 Jan 2024 11:31:30 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUr15-0004Jy-8H for bug-guix@gnu.org; Tue, 30 Jan 2024 11:31:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=G/RMozWIoAWr+/n+rptls2LF9OB7WccQW/o0X6CaOTc=; b=J1dT5rRgpB3b/mjO87WXeyNozr8HTzFlOLZaGNbb4dmSCCNaHwobF40X Z0MUFI38HbdxQDyX7LVB7J9h0ZUIhe/f93nXbibDMczSDZo7nz0Gp8uLL 2+UxNm/JBH/i04NgxnloZ+4nFK9EJJGEgugTgZdG5ui10FLf68wRDyLmK k=; X-IronPort-AV: E=Sophos;i="6.05,230,1701126000"; d="scan'208";a="149453919" Received: from unknown (HELO ribbon) ([193.50.110.61]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jan 2024 17:31:15 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 11 =?UTF-8?Q?Pluvi=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de =?UTF-8?Q?l'Ell=C3=A9bore?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 30 Jan 2024 17:31:15 +0100 Message-ID: <87r0hykcks.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.13 X-Spam-Score: 2.13 X-Migadu-Queue-Id: 071AC18BA5 X-Migadu-Scanner: mx12.migadu.com X-TUID: adk01cfFeecc When a channel is specified both implicitly, as the dependency of another channel, and explicitly, in the user-provided channels file, the =E2=80=9Cmost specific=E2=80=9D one wins=E2=80=94the one that has a non-#f = =E2=80=98commit=E2=80=99 field. However, the dependencies of that channel may be read from the wrong one=E2=80=94the least-specific one. And they can be wrong. Here=E2=80=99s an example that illustrates this corner case with =E2=80=98g= uix time-machine=E2=80=99 taken from current Guix (ca. 65dc2d40cb113382fb98796f1d04099f28cab355). --8<---------------cut here---------------start------------->8--- $ guix time-machine -C channels.pinned.scm -- describe Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Updating channel 'guix-hpc-non-free' from Git repository at 'https://gitlab= .inria.fr/guix-hpc/guix-hpc-non-free.git'... Updating channel 'guix-hpc' from Git repository at 'https://gitlab.inria.fr= /guix-hpc/guix-hpc.git'... Updating channel 'guix-science-nonfree' from Git repository at 'https://git= hub.com/guix-science/guix-science-nonfree.git'... Updating channel 'guix-science' from Git repository at 'https://github.com/= guix-science/guix-science.git'... Updating channel 'guix-past' from Git repository at 'https://gitlab.inria.f= r/guix-hpc/guix-past'... Updating channel 'guix-science-nonfree' from Git repository at 'https://git= hub.com/guix-science/guix-science-nonfree.git'... Updating channel 'guix-past' from Git repository at 'https://gitlab.inria.f= r/guix-hpc/guix-past'... Updating channel 'guix-hpc' from Git repository at 'https://gitlab.inria.fr= /guix-hpc/guix-hpc.git'... Computing Guix derivation for 'x86_64-linux'... / substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 10= 0.0% substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'... 1= 00.0% The following derivations will be built: /gnu/store/m54f7d5prrnilnlkp6iqr9h0wqb70pk2-profile.drv /gnu/store/4bkkgq25zgc93iz8d1rzjf63y394ya9d-guix-science-nonfree.drv /gnu/store/cnqz5j3mp0qahwvlhv0ykq5bc3m5knnx-inferior-script.scm.drv /gnu/store/5agf7bgp7k4sddi5ll6g972cyv5jaksq-module-import-compiled.drv /gnu/store/8aql4dp23w2k4dvz26dbkxxix6l2rx7v-guix-past.drv /gnu/store/zzb5g3lfvmhmbw9vf6zzz1pdjmy5zikl-inferior-script.scm.drv /gnu/store/w8ga4919913v1s3flg21pij60hwsndg4-guix-hpc-non-free.drv /gnu/store/lj20q8hc772fm9kh148lxi0zxdral7bv-inferior-script.scm.drv /gnu/store/lvmnbdl4d008dyjdf8i4dbzrd5lvbn2m-module-import-compiled.drv /gnu/store/yykh03drscwzra0fjnc0657c3fhjn7bh-guix-science.drv /gnu/store/7s850hb4zv0wn9hclpsq3gykmxmcrcbc-profile.drv /gnu/store/as87m36426pk6bfx7f2aix4kdsk1ials-inferior-script.scm.drv builder for `/gnu/store/pjrgzdpndm31m0kg6jgrlmkzxnbhp0pz-guix-science' fail= ed previously (cached) build of /gnu/store/yykh03drscwzra0fjnc0657c3fhjn7bh-guix-science.drv failed View build log at '/var/log/guix/drvs/yy/kh03drscwzra0fjnc0657c3fhjn7bh-gui= x-science.drv.gz'. $ cat channels.pinned.scm (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "597f1cd1c46ffb92c3e0145de0071545a4c64865") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) (channel (name 'guix-hpc-non-free) (url "https://gitlab.inria.fr/guix-hpc/guix-hpc-non-free.git") (branch "master") (commit "372c5f471448b32c9204f79c1d46e9b984d03c07")) (channel (name 'guix-science-nonfree) (url "https://github.com/guix-science/guix-science-nonfree.git") (branch "master") (commit "9a3f3824d8ed289832d706679410edadac1202ae") (introduction (make-channel-introduction "58661b110325fd5d9b40e6f0177cc486a615817e" (openpgp-fingerprint "CA4F 8CF4 37D7 478F DA05 5FD4 4213 7701 1A37 8446")))) (channel (name 'guix-past) (url "https://gitlab.inria.fr/guix-hpc/guix-past") (branch "master") (commit "1e25b23faa6b1716deaf7e1782becb5da6855942") (introduction (make-channel-introduction "0c119db2ea86a389769f4d2b9c6f5c41c027e336" (openpgp-fingerprint "3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5")))) (channel (name 'guix-hpc) (url "https://gitlab.inria.fr/guix-hpc/guix-hpc.git") (branch "master") (commit "3ffe8f79a2f128111785fb1107d5f803e00bf00c"))) $ zcat /var/log/guix/drvs/yy/kh03drscwzra0fjnc0657c3fhjn7bh-guix-science.dr= v.gz (repl-version 0 1 1) WARNING: (guix-science build bazel-build-system): imported module (guix bui= ld utils) overrides core binding `delete' (exception unbound-variable (value #f) (value "Unbound variable: ~S") (valu= e (python-nr-stream)) (value #f)) --8<---------------cut here---------------end--------------->8--- The bug here is this: =E2=80=98guix-science-nonfree=E2=80=99 is pulling =E2= =80=98guix-science=E2=80=99 as a dependency, even though it was not a dependency as of commit 9a3f3824d8ed289832d706679410edadac1202ae. Interesting, no? Ludo=E2=80=99.