From unknown Wed Aug 20 05:15:40 2025 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=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr 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-Spam-Score: -0.0 (/) 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.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 30 12:18:19 2024 Received: (at control) by debbugs.gnu.org; 30 Jan 2024 17:18:19 +0000 Received: from localhost ([127.0.0.1]:36620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUrkZ-0005E8-G0 for submit@debbugs.gnu.org; Tue, 30 Jan 2024 12:18:19 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:16227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUrkX-0005Dr-9S for control@debbugs.gnu.org; Tue, 30 Jan 2024 12:18:17 -0500 Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.05,230,1701126000"; d="scan'208";a="149464935" 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 18:18:02 +0100 Date: Tue, 30 Jan 2024 18:18:02 +0100 Message-Id: <87cytikaet.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #68822 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control 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: -2.3 (--) severity 68822 important quit From unknown Wed Aug 20 05:15:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#68822: closed (Re: bug#68822: Channel dependencies picked at the wrong commit) Message-ID: References: <87h6itj4wn.fsf@gnu.org> <87r0hykcks.fsf@inria.fr> X-Gnu-PR-Message: they-closed 68822 X-Gnu-PR-Package: guix Reply-To: 68822@debbugs.gnu.org Date: Wed, 31 Jan 2024 08:15:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1706688902-27700-1" This is a multi-part message in MIME format... ------------=_1706688902-27700-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #68822: Channel dependencies picked at the wrong commit which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 68822@debbugs.gnu.org. --=20 68822: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68822 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1706688902-27700-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 68822-done) by debbugs.gnu.org; 31 Jan 2024 08:14:55 +0000 Received: from localhost ([127.0.0.1]:37390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV5kF-0007CN-Dc for submit@debbugs.gnu.org; Wed, 31 Jan 2024 03:14:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV5kA-0007C6-GL for 68822-done@debbugs.gnu.org; Wed, 31 Jan 2024 03:14:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV5jv-0007kl-Ae for 68822-done@debbugs.gnu.org; Wed, 31 Jan 2024 03:14:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=9wT0ulU2nusVjC6kRjvQ3rS4MTBHMEmODS+GaSMrOuI=; b=laVjQUUVmJMqI9zTdp7E 6vOpuLmmC3x/wiGthYKYPLZvvxIkkdxldVJ0H1MAWvrYPHH6tVZ3KWp2BBdHsVflkPqndxoaJY3uW LP8UpCzXgqs7zkdMt4yoFobvdzB/upmfTUwVVKo3FaLBA1N1B7bb0S9xU6yNvhkB3NuwtwjpI69ga okKgx641wX8u32M8vhkXyUy1uWL1frUYalnmN1fQA3smtXImrJj6FSfyS29Up+zRMD1AA3U4dcdes xdurc94Davmnw4pbddpnfxN5jpv/MPPEY5qWAPx0ygfLWr2oE0tUXg38yRzp5N/rgp2NF0pdWQexN isbEjTkV2NdQfw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 68822-done@debbugs.gnu.org Subject: Re: bug#68822: Channel dependencies picked at the wrong commit In-Reply-To: <87r0hykcks.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Tue, 30 Jan 2024 17:31:15 +0100") References: <87r0hykcks.fsf@inria.fr> Date: Wed, 31 Jan 2024 09:14:32 +0100 Message-ID: <87h6itj4wn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68822-done 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: -3.3 (---) Ludovic Court=C3=A8s skribis: > 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. This is fixed by 323b58ac18af8417d5b206288d09d9bb9385d7ae. The patch changes the order in which channels and their dependencies are traversed from depth-first to breadth-first. That gives more precedence to user-supplied channels, which are likely more specific than what appears in =E2=80=98.guix-channel=E2=80=99 files. So the fix kinda sideste= ps the issue but I think it makes sense to do it that way. Ludo=E2=80=99. ------------=_1706688902-27700-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: Channel dependencies picked at the wrong commit 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=2C?= 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit 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.0 (-) 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. ------------=_1706688902-27700-1--