From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MNyeCRsiEGBMUgAA0tVLHw (envelope-from ) for ; Tue, 26 Jan 2021 14:07:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IGxaBRsiEGB8MwAAbx9fmQ (envelope-from ) for ; Tue, 26 Jan 2021 14:07:23 +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 89FCD94029C for ; Tue, 26 Jan 2021 14:07:22 +0000 (UTC) Received: from localhost ([::1]:49998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4P03-0002Yy-1M for larch@yhetil.org; Tue, 26 Jan 2021 09:07:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Ozm-0002YU-U8 for bug-guix@gnu.org; Tue, 26 Jan 2021 09:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4Ozm-0001Uj-MF for bug-guix@gnu.org; Tue, 26 Jan 2021 09:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4Ozm-00057F-HI for bug-guix@gnu.org; Tue, 26 Jan 2021 09:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45173: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?search=E2=80=99?= traverses all the modules when extra channels are used Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jan 2021 14:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45173 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45173@debbugs.gnu.org Received: via spool by 45173-submit@debbugs.gnu.org id=B45173.161167001819652 (code B ref 45173); Tue, 26 Jan 2021 14:07:02 +0000 Received: (at 45173) by debbugs.gnu.org; 26 Jan 2021 14:06:58 +0000 Received: from localhost ([127.0.0.1]:41105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4Ozh-00056t-Va for submit@debbugs.gnu.org; Tue, 26 Jan 2021 09:06:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4Ozh-00056g-6O for 45173@debbugs.gnu.org; Tue, 26 Jan 2021 09:06:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50973) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Ozc-0001Ql-3V for 45173@debbugs.gnu.org; Tue, 26 Jan 2021 09:06:52 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38312 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l4Ozb-0007Mx-Kb for 45173@debbugs.gnu.org; Tue, 26 Jan 2021 09:06:51 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87ft4c8zcp.fsf@inria.fr> Date: Tue, 26 Jan 2021 15:06:49 +0100 In-Reply-To: <87ft4c8zcp.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 11 Dec 2020 10:29:42 +0100") Message-ID: <87pn1rztae.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 89FCD94029C X-Spam-Score: -2.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: YCnINtutV2bl Ludovic Court=C3=A8s skribis: > But with multiple channels, all of the guile-module-union directory is > traversed, and that includes *everything*: > > $ /tmp/past/bin/guix describe > Generacio 1 Dec 11 2020 10:26:58 (nuna) > guix-past 829923f > repository URL: https://gitlab.inria.fr/guix-hpc/guix-past > branch: master > commit: 829923f01f894f1e687735627025ada26230832f > guix f765577 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: f765577dec0340d035021d030f17b54a3a5fd6b1 > $ strace -o /tmp/,,s /tmp/past/bin/guix search sdfsdf > $ grep gnu/services /tmp/,,s > stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share= /guile/site/3.0/gnu/services.scm", {st_mode=3DS_IFREG|0444, st_size=3D41045= , ...}) =3D 0 > stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/g= uile/3.0/site-ccache/gnu/services.go", {st_mode=3DS_IFREG|0444, st_size=3D4= 20021, ...}) =3D 0 > openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module= -union/lib/guile/3.0/site-ccache/gnu/services.go", O_RDONLY|O_CLOEXEC) =3D = 14 > stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share= /guile/site/3.0/gnu/services/shepherd.scm", {st_mode=3DS_IFREG|0444, st_siz= e=3D23156, ...}) =3D 0 False alarm! This was caused by a #:use-module (gnu) statement in one of the Guix-Past modules, fixed here: https://gitlab.inria.fr/guix-hpc/guix-past/-/commit/4f5856f85578a04991dc6= 46a06279d51f85973bf Ludo=E2=80=99.