GNU bug report logs - #48778
‘guix’ package loads all .scm files from its profile

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludovic.courtes@HIDDEN>; dated Tue, 1 Jun 2021 12:16:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Jun 2021 12:15:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 01 08:15:36 2021
Received: from localhost ([127.0.0.1]:35938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lo3J2-00067z-DU
	for submit <at> 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 <ludovic.courtes@HIDDEN>) id 1lo3J0-00067r-FO
 for submit <at> 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 <ludovic.courtes@HIDDEN>)
 id 1lo3Iy-0001u2-BL
 for bug-guix@HIDDEN; 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 <ludovic.courtes@HIDDEN>)
 id 1lo3Ii-00055k-98
 for bug-guix@HIDDEN; Tue, 01 Jun 2021 08:15:29 -0400
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3Atems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F9S+6jcSHtEqg8BDlPsfd84yoyiUFEX+EHC?=
 =?us-ascii?q?Cg50TsvQHgIajU9w47iLI5uZwj1nI867M0qB5kFj706iftM5oOmu9M3lcpQ3At?=
 =?us-ascii?q?INQ6pqDzjGEBRzhEJDtHpDUgkZXUXSfwmewZlNtKZkSd03SuMMzDtCeaVv2D3i?=
 =?us-ascii?q?XASn1IgSr0IgLnSTuZX9u3dhe9I87WcBiZP3zoDw2ApGhAME8ZQF2WZ3GRuq6Y?=
 =?us-ascii?q?R9fXe4jbVv68zWkT5LPBm3bByh+mMOkznRhjAvb8baXHCpkKbwczxgUzZjo9DX?=
 =?us-ascii?q?zG8=3D?=
X-IronPort-AV: E=Sophos;i="5.83,239,1616454000"; d="scan'208";a="383082545"
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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?B?4oCYZ3VpeOKAmQ==?= package loads all .scm files from its
 profile
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@HIDDEN>
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@HIDDEN;
 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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.




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48778; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 13 Jun 2021 10:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.