From unknown Sun Jul 27 00:55:53 2025 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: Fri, 11 Dec 2020 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45173 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45173@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160767899325605 (code B ref -1); Fri, 11 Dec 2020 09:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Dec 2020 09:29:53 +0000 Received: from localhost ([127.0.0.1]:39973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knekL-0006eu-6D for submit@debbugs.gnu.org; Fri, 11 Dec 2020 04:29:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:39352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knekK-0006en-4B for submit@debbugs.gnu.org; Fri, 11 Dec 2020 04:29:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knekJ-0002F7-Mn for bug-guix@gnu.org; Fri, 11 Dec 2020 04:29:51 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:56317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knekG-00045j-1b for bug-guix@gnu.org; Fri, 11 Dec 2020 04:29:51 -0500 X-IronPort-AV: E=Sophos;i="5.78,411,1599516000"; d="scan'208";a="367317631" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2020 10:29:43 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Frimaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Fri, 11 Dec 2020 10:29:42 +0100 Message-ID: <87ft4c8zcp.fsf@inria.fr> 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 Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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 (--) When a single channel is in use, =E2=80=98guix search=E2=80=99 understandab= le traverses nothing but gnu/packages/*.scm: --8<---------------cut here---------------start------------->8--- $ strace -o /tmp/,,s guix search sdfsdf $ grep gnu/services /tmp/,,s $ echo $? 1 --8<---------------cut here---------------end--------------->8--- But with multiple channels, all of the guile-module-union directory is traversed, and that includes *everything*: --8<---------------cut here---------------start------------->8--- $ /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/g= uile/site/3.0/gnu/services.scm", {st_mode=3DS_IFREG|0444, st_size=3D41045, = ...}) =3D 0 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/gui= le/3.0/site-ccache/gnu/services.go", {st_mode=3DS_IFREG|0444, st_size=3D420= 021, ...}) =3D 0 openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-u= nion/lib/guile/3.0/site-ccache/gnu/services.go", O_RDONLY|O_CLOEXEC) =3D 14 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/g= uile/site/3.0/gnu/services/shepherd.scm", {st_mode=3DS_IFREG|0444, st_size= =3D23156, ...}) =3D 0 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/gui= le/3.0/site-ccache/gnu/services/shepherd.go", {st_mode=3DS_IFREG|0444, st_s= ize=3D405997, ...}) =3D 0 openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-u= nion/lib/guile/3.0/site-ccache/gnu/services/shepherd.go", O_RDONLY|O_CLOEXE= C) =3D 14 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/g= uile/site/3.0/gnu/services/herd.scm", {st_mode=3DS_IFREG|0444, st_size=3D10= 387, ...}) =3D 0 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/gui= le/3.0/site-ccache/gnu/services/herd.go", {st_mode=3DS_IFREG|0444, st_size= =3D188509, ...}) =3D 0 openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-u= nion/lib/guile/3.0/site-ccache/gnu/services/herd.go", O_RDONLY|O_CLOEXEC) = =3D 14 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/g= uile/site/3.0/gnu/services/base.scm", {st_mode=3DS_IFREG|0444, st_size=3D11= 0305, ...}) =3D 0 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/gui= le/3.0/site-ccache/gnu/services/base.go", {st_mode=3DS_IFREG|0444, st_size= =3D2203613, ...}) =3D 0 openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-u= nion/lib/guile/3.0/site-ccache/gnu/services/base.go", O_RDONLY|O_CLOEXEC) = =3D 14 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/g= uile/site/3.0/gnu/services/admin.scm", {st_mode=3DS_IFREG|0444, st_size=3D1= 2494, ...}) =3D 0 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/gui= le/3.0/site-ccache/gnu/services/admin.go", {st_mode=3DS_IFREG|0444, st_size= =3D416133, ...}) =3D 0 openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-u= nion/lib/guile/3.0/site-ccache/gnu/services/admin.go", O_RDONLY|O_CLOEXEC) = =3D 14 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/g= uile/site/3.0/gnu/services/mcron.scm", {st_mode=3DS_IFREG|0444, st_size=3D7= 667, ...}) =3D 0 stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/gui= le/3.0/site-ccache/gnu/services/mcron.go", {st_mode=3DS_IFREG|0444, st_size= =3D187549, ...}) =3D 0 openat(AT_FDCWD, "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-u= nion/lib/guile/3.0/site-ccache/gnu/services/mcron.go", O_RDONLY|O_CLOEXEC) = =3D 14 --8<---------------cut here---------------end--------------->8--- This was reported by bdju on #guix, who were getting the new SSH password warning while running =E2=80=98guix search=E2=80=99. Ludo=E2=80=99. From unknown Sun Jul 27 00:55:53 2025 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: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Dec 2020 12:47:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 45173@debbugs.gnu.org Received: via spool by 45173-submit@debbugs.gnu.org id=B45173.160769076828766 (code B ref 45173); Fri, 11 Dec 2020 12:47:01 +0000 Received: (at 45173) by debbugs.gnu.org; 11 Dec 2020 12:46:08 +0000 Received: from localhost ([127.0.0.1]:40347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knhoF-0007Tu-S2 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 07:46:08 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:53761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knhoD-0007T8-Er for 45173@debbugs.gnu.org; Fri, 11 Dec 2020 07:46:06 -0500 Received: by mail-wm1-f48.google.com with SMTP id k10so7455870wmi.3 for <45173@debbugs.gnu.org>; Fri, 11 Dec 2020 04:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=2lZBWtC1aoDT27Y1lyt8Wi1MM+GDZc07pKA+KhuXOyc=; b=C0kFSneZoiqA2FIS5wldr7+PfYCBC5U/eQa8vzUsN/CvARBfkBvQ5HXyIZYO2TQTDv YcIqFi+mXsry86jdHcEXCO/E7f5eSQUFcJaueyPuMWYp3hSwOV+skUGmVIle+auLLZZz 5AcD0MNaIYqK4u10Y1BMPXjrcgIpZmvs8SiuyET8zdg2P+RFNlwy5R8VFMt1u/g5e3xD SDmBApOi2sXO4MV4vBC2oBRgSsrhU9HE2N2g1MzX7SrHyH9kjKc/aQTRR0gcL/lRdfnk wngHWy1dlXamEHUmdhEVmjS6w1fe9UINVqyzxP25lb6Qd+oMQmd2xpIeXLc2QB0obhjS LObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=2lZBWtC1aoDT27Y1lyt8Wi1MM+GDZc07pKA+KhuXOyc=; b=nYgD3j5rohirqKSDvAHjKxo6EqpFnL5YfuNU4Q9W77DaVBjud2lunY9JOek/t7qJuU L/Su/W0W1LStcfZK0IOhXAnf3N/kEmM7L27bK1DFXCQ0zs2a+U6TXiDKTONKuINfPyyf GK54E86nLM5oDhyD5oi07ZJZWQrXiqjj8pYqoayo0suUTz/JwS3YPKjhkzOGhqQZmSV9 OAc00wE0VcShwUvid484Kdt5py8+tLnCh+ghrHRiUQh2055nxiaAIhyZkWaq/ExCC1xi I2149gcAtQ3ZjOgxGPajdYBbL2uLnbRlWj9bgDpB9xaZdgracdbiGarRY3onKGhDlQqs gsIg== X-Gm-Message-State: AOAM533WLIJS+LeFchbiGJJhEmQz07wzol6fSqXvqBWlqwr2vrLlJ+P0 9kAf+7qQf8zchWIt0v1jr63BpRj56Vg= X-Google-Smtp-Source: ABdhPJzvBWFa0uNEb7n8tonGAK+svBgC+XFklK1B0Jm3yd67u6O1/YBcynNq/FM8b+iWem8e9wH35Q== X-Received: by 2002:a1c:a185:: with SMTP id k127mr5605068wme.23.1607690759121; Fri, 11 Dec 2020 04:45:59 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id h9sm14326619wre.24.2020.12.11.04.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Dec 2020 04:45:58 -0800 (PST) From: zimoun In-Reply-To: <87ft4c8zcp.fsf@inria.fr> References: <87ft4c8zcp.fsf@inria.fr> Date: Fri, 11 Dec 2020 13:45:00 +0100 Message-ID: <86blf0h5pv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (-) Hi Ludo, On Fri, 11 Dec 2020 at 10:29, Ludovic Court=C3=A8s wrote: > --8<---------------cut here---------------start------------->8--- > $ strace -o /tmp/,,s guix search sdfsdf > $ grep gnu/services /tmp/,,s > $ echo $? > 1 > --8<---------------cut here---------------end--------------->8--- I do not know what is the point of the strace command, but this file contains a lot: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 50 Dec 01 2020 23:31:01 (current) guix f4450e8 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: f4450e8ca909530ee3432710b82f97e23acc7fef $ strace -o /tmp/,,s guix search sdfsdf=20=20=20=20 $ cat /tmp/,,s | grep ice-9 | wc -l 448 $ cat /tmp/,,s | grep srfi | wc -l 330 $ cat /tmp/,,s | grep 'guix/build' | wc -l 129 $ cat /tmp/,,s | grep 'guix/scripts' | wc -l 12 $cat /tmp/,,s | grep 'guix/import' | wc -l 9 --8<---------------cut here---------------end--------------->8--- But no =E2=80=99services=E2=80=99, indeed. The 3 first are expected since = they used somehow by files in =E2=80=99gnu/packages/=E2=80=99. I am surprised by =E2= =80=99guix/scripts=E2=80=99 or =E2=80=99guix/import=E2=80=99, the few I tried. And I note a variation with the option =E2=80=99-L=E2=80=99. --8<---------------cut here---------------start------------->8--- $ mkdir -p /tmp/foo $ ls /tmp/foo/ $ strace -o /tmp/,,l guix search sdfsdf -L /tmp/foo $ wc -l /tmp/,,l /tmp/,,s 10059 /tmp/,,l 8745 /tmp/,,s 18804 total $ grep services /tmp/,,l $ echo $? 1=20=20 --8<---------------cut here---------------end--------------->8--- Well, I am not sure to understand=E2=80=A6 And last, the bug: --8<---------------cut here---------------start------------->8--- $ strace -o /tmp/,,g guix search sdfsdf -L ~/src/guix/guix-past/modules $ cat /tmp/,,g | grep 'gnu/services' | wc -l 30 $ ag services ~/src/guix/guix-past/ $ echo $? 1 $ ls -1 ~/src/guix/guix/gnu/services/*.scm | wc -l 50 --8<---------------cut here---------------end--------------->8--- All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 11 09:15:43 2020 Received: (at control) by debbugs.gnu.org; 11 Dec 2020 14:15:44 +0000 Received: from localhost ([127.0.0.1]:40619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knjCx-0003aM-M5 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 09:15:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knjCv-0003Zs-1L for control@debbugs.gnu.org; Fri, 11 Dec 2020 09:15:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46577) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knjCp-0005mA-Q9 for control@debbugs.gnu.org; Fri, 11 Dec 2020 09:15:35 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35388 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knjCp-0002Eq-8q for control@debbugs.gnu.org; Fri, 11 Dec 2020 09:15:35 -0500 Date: Fri, 11 Dec 2020 15:15:34 +0100 Message-Id: <87k0to77jt.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #45173 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.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: -3.3 (---) severity 45173 important quit From unknown Sun Jul 27 00:55:53 2025 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: Fri, 11 Dec 2020 15:57:01 +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: zimoun Cc: 45173@debbugs.gnu.org Received: via spool by 45173-submit@debbugs.gnu.org id=B45173.160770219110179 (code B ref 45173); Fri, 11 Dec 2020 15:57:01 +0000 Received: (at 45173) by debbugs.gnu.org; 11 Dec 2020 15:56:31 +0000 Received: from localhost ([127.0.0.1]:42726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knkmU-0002e6-Qn for submit@debbugs.gnu.org; Fri, 11 Dec 2020 10:56:31 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:15084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knkmT-0002dk-27 for 45173@debbugs.gnu.org; Fri, 11 Dec 2020 10:56:30 -0500 X-IronPort-AV: E=Sophos;i="5.78,411,1599516000"; d="scan'208";a="367375600" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2020 16:56:21 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87ft4c8zcp.fsf@inria.fr> <86blf0h5pv.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Frimaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Fri, 11 Dec 2020 16:56:20 +0100 In-Reply-To: <86blf0h5pv.fsf@gmail.com> (zimoun's message of "Fri, 11 Dec 2020 13:45:00 +0100") Message-ID: <875z5872vv.fsf@inria.fr> 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-Spam-Score: -2.3 (--) 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 (---) Hi! zimoun skribis: > On Fri, 11 Dec 2020 at 10:29, Ludovic Court=C3=A8s wrote: > >> --8<---------------cut here---------------start------------->8--- >> $ strace -o /tmp/,,s guix search sdfsdf >> $ grep gnu/services /tmp/,,s >> $ echo $? >> 1 >> --8<---------------cut here---------------end--------------->8--- > > I do not know what is the point of the strace command, but this file > contains a lot: The point :-) is to show that things that should definitely not be loaded, such as gnu/services/*, are getting loaded when multiple channels are in use. Ludo=E2=80=99. From unknown Sun Jul 27 00:55:53 2025 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: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Dec 2020 16:47:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 45173@debbugs.gnu.org Received: via spool by 45173-submit@debbugs.gnu.org id=B45173.160770517415289 (code B ref 45173); Fri, 11 Dec 2020 16:47:01 +0000 Received: (at 45173) by debbugs.gnu.org; 11 Dec 2020 16:46:14 +0000 Received: from localhost ([127.0.0.1]:42787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knlYc-0003yV-3l for submit@debbugs.gnu.org; Fri, 11 Dec 2020 11:46:14 -0500 Received: from mail-ej1-f46.google.com ([209.85.218.46]:43397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knlYa-0003yG-0n for 45173@debbugs.gnu.org; Fri, 11 Dec 2020 11:46:12 -0500 Received: by mail-ej1-f46.google.com with SMTP id jx16so13206435ejb.10 for <45173@debbugs.gnu.org>; Fri, 11 Dec 2020 08:46:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=iZhjABnWqBXyD684FQQIJpxAWa21v0XOxeVXtpAAbpU=; b=gFfJDI0Zwm2nqSZeAxpRWlsUQv+ieS7O89h8yV2QnzZEQKV2JHU7frGTxr83ALlc9f 56yYHg3jFvnAnMWS5v4EB0Hy1odFX2Y62bsLHIxU7zmpNAbmIkScIDiXWJkqtglahY7i xKXHC5JlTjOcb6MondrUugzngT0v/P26JihZcGiDc7m6OdJNP7jVH8j0iIMaoqfPQ7Ti JIEmR7YZd85L5B/cXuKCMSkM0z404CQ7wpFuIC+wKrLo3VCkGvK1uP28MeTCkfyKXrzg WCGzh3XW6MKYGPSwUsL21chvpZILNgKY7rKfXndGn4dLahtbNgjkzcNco3zGtDMaZFd6 peIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=iZhjABnWqBXyD684FQQIJpxAWa21v0XOxeVXtpAAbpU=; b=g7qevOC64aDBPF1TUA+LzVrLpqYQCm6sCGbGbLqSwCpuRe0vzU6REYuag0CI51009T jOetQApIfHIq+nFcA+wQVLbnZm1DYi0GyjUVACD7hapdCpo6yaC4uCFz7KD2V3jyGoxe pwxll0V/FKxdeY+2+ctVAtFpHh6s8ohk/2G/XvTkLmqLUMl9xfkcGR9p0EC+zdOReZUF piSNedhfvHmheCPP3gF5HLYduxGpPqFLwqSWSUCpfIGHDWgnJkSP+nC73p9ZbBlHuTcc u94L+qsPitYWrC21KK6BomJQASdMM5IsliL8dlD+QeOtzI36jupMluPZzGZSyu3zxekd Qk/g== X-Gm-Message-State: AOAM5302zfCdodqo9oo6KvNXGvZhLFkyLO4HUvoDbe5odIICb9x1vKVW OlOKSyhyejc4+PUEVtIkSBhaWSPaWrw= X-Google-Smtp-Source: ABdhPJy1Fi5TRgCBfdxj6zeKKE74eP1opGidu8TInKyDH+k282Qaz3T0prdzRSteh0cB0x5gonGEmw== X-Received: by 2002:a17:906:1199:: with SMTP id n25mr11459734eja.293.1607705165950; Fri, 11 Dec 2020 08:46:05 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id cb21sm8293840edb.57.2020.12.11.08.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Dec 2020 08:46:05 -0800 (PST) From: zimoun In-Reply-To: <875z5872vv.fsf@inria.fr> References: <87ft4c8zcp.fsf@inria.fr> <86blf0h5pv.fsf@gmail.com> <875z5872vv.fsf@inria.fr> Date: Fri, 11 Dec 2020 17:44:12 +0100 Message-ID: <86zh2kfg2r.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (-) Hey, On Fri, 11 Dec 2020 at 16:56, Ludovic Court=C3=A8s wrote: > The point :-) is to show that things that should definitely not be > loaded, such as gnu/services/*, are getting loaded when multiple > channels are in use. What I have tried to show is that even with the default, =C2=ABthings that should definitely not be loaded, such as guix/scripts/* or guix/import/*=C2=BB are getting loaded. And worse, adding an empty =E2=80=9C--load-path=E2=80=9D adds burden. Multiple channels seems only on= e part of the story. :-) Cheers, simon From unknown Sun Jul 27 00:55:53 2025 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-Spam-Score: -2.3 (--) 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: > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 09:07:08 2021 Received: (at control) by debbugs.gnu.org; 26 Jan 2021 14:07:08 +0000 Received: from localhost ([127.0.0.1]:41109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4Ozs-00057i-7M for submit@debbugs.gnu.org; Tue, 26 Jan 2021 09:07:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4Ozr-00057B-1Y for control@debbugs.gnu.org; Tue, 26 Jan 2021 09:07:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50974) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Ozl-0001Ta-V4 for control@debbugs.gnu.org; Tue, 26 Jan 2021 09:07:01 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38320 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l4Ozl-00085z-Cf for control@debbugs.gnu.org; Tue, 26 Jan 2021 09:07:01 -0500 Date: Tue, 26 Jan 2021 15:07:00 +0100 Message-Id: <87o8hbzta3.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #45173 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.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: -3.3 (---) tags 45173 notabug close 45173 quit