From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oEENNAwltmBKGQAAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 14:16:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ELFGLwwltmBlJwAAbx9fmQ (envelope-from ) for ; Tue, 01 Jun 2021 12:16:12 +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 0DDA717D92 for ; Tue, 1 Jun 2021 14:16:12 +0200 (CEST) Received: from localhost ([::1]:60920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo3Ja-0002ev-NY for larch@yhetil.org; Tue, 01 Jun 2021 08:16:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3JS-0002dz-5X for bug-guix@gnu.org; Tue, 01 Jun 2021 08:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lo3JR-0005iQ-TQ for bug-guix@gnu.org; Tue, 01 Jun 2021 08:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lo3JR-00068j-P7 for bug-guix@gnu.org; Tue, 01 Jun 2021 08:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48778: =?UTF-8?Q?=E2=80=98guix=E2=80=99?= package loads all .scm files from its profile Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Jun 2021 12:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48778 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48778@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162254973623563 (code B ref -1); Tue, 01 Jun 2021 12:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jun 2021 12:15:36 +0000 Received: from localhost ([127.0.0.1]:35938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lo3J2-00067z-DU for submit@debbugs.gnu.org; Tue, 01 Jun 2021 08:15:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:47436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lo3J0-00067r-FO for submit@debbugs.gnu.org; Tue, 01 Jun 2021 08:15:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3Iy-0001u2-BL for bug-guix@gnu.org; Tue, 01 Jun 2021 08:15:34 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:62305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3Ii-00055k-98 for bug-guix@gnu.org; Tue, 01 Jun 2021 08:15:29 -0400 IronPort-HdrOrdr: A9a23:temsR6s59RwXc+N/lZ9jYSXV7skCZYEji2hC6mlwRA09TyX5rauTdTogtSMc+wxhP03I+OrwXJVoLkmsl6KdjbN+AV7AZnichILLFvAA0WKK+VSJcUCOi9K1s50NT0EXMqy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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; 01 Jun 2021 14:15:08 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Prairial 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: Tue, 01 Jun 2021 14:15:08 +0200 Message-ID: <87y2bt233n.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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=unavailable 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622549772; 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; bh=T8lWyYlMCEpZ3L/NYgRfmzWYAq2AgwQc/nVzCBx1lws=; b=lAx8PwTrEGkrvsTlKrkE9XoINdmEUgarvahJyuUC4n8WXth3yWscfyouUPtD4nztRxX5A4 9q1SQSEFu1w9Xpn4BsK++mS8VXillBkrnu71j4FwQyVfDvepiCK9nqhyhZ0b1X7PW4UsxI tJB1gl2mo69jtYsrYROUlCM1wfsBTtDytOO3BXVsEaMRZ+u5kQ6S3111NvVhVMtMWvFmYr SU5M5Yck9MfbQFF3WpxjsFGYhx9J3xLDfQERMtYi3UDw4uwm2XJmCjVFltWzQZlLNHq3he N0M4JzMUp6yopZGpULGJqSw0NGtizuMlroNwdtgvPV0vLkWUPJ0QITywEqz7qg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622549772; a=rsa-sha256; cv=none; b=IPVVNrOoHyzINH+qJZTKIiR1vH03aEFh77OdDy8yVWEq3JEH3I/cCo+KtfwLdhF9menMti tCp0DQmqVfCzNz7suu8fuy1MJ2FQm2TDuZIrMDNdtg1utJndwL/9o4L5r/9b4vohhDoLvV x9anhtxm6dyNDC8QlsZeq/5X1XZpqz6ATvNWmqCB/92m/kecS+kfKeRk8Lr8tNrHwaMmhK ZS6rNQBeHOAD19OmyOROJt8HPnIK5IIDraxQJwmubyWOB/R4pufvQ9T0/Cf2/Tvjhr6/v9 BQ5pXCq1Pas1zhLc1E516lkx8w7glKI4TYhs+Q7zeyMkYuGHQj/PwYqaehe+HQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 0DDA717D92 X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: hLsc6GBdD+hV Hi, The =E2=80=98guix=E2=80=99 package, when installed in a =E2=80=9Cnormal=E2= =80=9D profile such as /run/current-system/profile, ends up traversing all the .scm files in that profile, including those that have nothing to do with it: --8<---------------cut here---------------start------------->8--- ~$ type -P guix /run/current-system/profile/bin/guix ~$ guix build guix -d guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = base)=C2=A0=C2=BB : no code for module (fibers) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = database)=C2=A0=C2=BB : no code for module (fibers) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = http)=C2=A0=C2=BB : no code for module (squee) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = mastodon)=C2=A0=C2=BB : no code for module (mastodon) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = remote)=C2=A0=C2=BB : no code for module (simple-zmq) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = scripts register)=C2=A0=C2=BB : no code for module (fibers) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = scripts remote-server)=C2=A0=C2=BB : no code for module (simple-zmq) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = scripts remote-worker)=C2=A0=C2=BB : no code for module (simple-zmq) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(cuirass = scripts web)=C2=A0=C2=BB : no code for module (fibers) guix build: warning: =C3=A9chec lors du chargement de =C2=AB=C2=A0(web serv= er fiberized)=C2=A0=C2=BB : no code for module (fibers) substitute: mise =C3=A0 jour des substituts depuis =C2=AB=C2=A0https://ci.g= uix.gnu.org=C2=A0=C2=BB... 100.0 % 36,9 Mo seront t=C3=A9l=C3=A9charg=C3=A9s : /gnu/store/z1b1aycydz049rfq8w9j8m4rigvj5603-guix-1.3.0-1.771b866 substitution de /gnu/store/z1b1aycydz049rfq8w9j8m4rigvj5603-guix-1.3.0-1.77= 1b866... t=C3=A9l=C3=A9chargement depuis https://ci.guix.gnu.org/nar/lzip/z1b1aycydz= 049rfq8w9j8m4rigvj5603-guix-1.3.0-1.771b866... guix-1.3.0-1.771b866 35.2MiB = 7.8MiB/s 00:01 [### ] 18.6%^C ~$ ls /run/current-system/profile/share/guile/site/3.0/ apicheck.scm container git.scm guix json.scm mcro= n shepherd.scm text zstd.scm avahi cuirass gnu guix.scm logging md5.= scm sqlite3.scm unit-test.scm avahi.scm cuirass.scm gnu.scm htmlprag.scm lzlib os = ssh web bytestructures debugging gnutls ice-9/ lzlib.scm sche= me string zlib compat gcrypt gnutls.scm io match-bind.scm sear= ch term zlib.scm config git graph json math shep= herd texinfo zstd --8<---------------cut here---------------end--------------->8--- I believe this is a side effect of c47f3fc13562d82edfd2d47342574154c452843a, which leads (@ (guix describe) current-profile) to provide the correct answer when the =E2=80=98guix=E2=80= =99 package is installed in a profile (previously =E2=80=98current-profile=E2=80=99 wou= ld return #f because the executable was called =E2=80=98.guix-real=E2=80=99.) Ludo=E2=80=99.