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

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 1 Jun 2021 12:16:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48778 in the body.
You can then email your comments to 48778 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#48778; Package guix. (Tue, 01 Jun 2021 12:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 01 Jun 2021 12:16:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: ‘guix’ package loads all .scm files from its
 profile
Date: Tue, 01 Jun 2021 14:15:08 +0200
Hi,

The ‘guix’ package, when installed in a “normal” 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: échec lors du chargement de « (cuirass base) » :
no code for module (fibers)
guix build: warning: échec lors du chargement de « (cuirass database) » :
no code for module (fibers)
guix build: warning: échec lors du chargement de « (cuirass http) » :
no code for module (squee)
guix build: warning: échec lors du chargement de « (cuirass mastodon) » :
no code for module (mastodon)
guix build: warning: échec lors du chargement de « (cuirass remote) » :
no code for module (simple-zmq)
guix build: warning: échec lors du chargement de « (cuirass scripts register) » :
no code for module (fibers)
guix build: warning: échec lors du chargement de « (cuirass scripts remote-server) » :
no code for module (simple-zmq)
guix build: warning: échec lors du chargement de « (cuirass scripts remote-worker) » :
no code for module (simple-zmq)
guix build: warning: échec lors du chargement de « (cuirass scripts web) » :
no code for module (fibers)
guix build: warning: échec lors du chargement de « (web server fiberized) » :
no code for module (fibers)
substitute: mise à jour des substituts depuis « https://ci.guix.gnu.org »... 100.0 %
36,9 Mo seront téléchargés :
   /gnu/store/z1b1aycydz049rfq8w9j8m4rigvj5603-guix-1.3.0-1.771b866
substitution de /gnu/store/z1b1aycydz049rfq8w9j8m4rigvj5603-guix-1.3.0-1.771b866...
téléchargement depuis https://ci.guix.gnu.org/nar/lzip/z1b1aycydz049rfq8w9j8m4rigvj5603-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        mcron     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       scheme    string        zlib
compat          gcrypt       gnutls.scm  io            match-bind.scm  search    term          zlib.scm
config          git          graph       json          math            shepherd  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 ‘guix’ package
is installed in a profile (previously ‘current-profile’ would return #f
because the executable was called ‘.guix-real’.)

Ludo’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 13 Jun 2021 10:25:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#48778; Package guix. (Sun, 13 Jun 2021 22:01:01 GMT) Full text and rfc822 format available.

Message #10 received at 48778 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 48778 <at> debbugs.gnu.org
Subject: Re: bug#48778: ‘guix’ package loads all .scm
 files from its profile
Date: Mon, 14 Jun 2021 00:00:51 +0200
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> The ‘guix’ package, when installed in a “normal” 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:

[...]

> I believe this is a side effect of
> c47f3fc13562d82edfd2d47342574154c452843a, which leads (@ (guix describe)
> current-profile) to provide the correct answer when the ‘guix’ package
> is installed in a profile (previously ‘current-profile’ would return #f
> because the executable was called ‘.guix-real’.)

Fixed in fb3927486ac163d11e3af7ca7c4fffcc4be06809.  (We still have to
update the ‘guix’ package for this to take effect.)

Thanks,
Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 22 Jun 2021 14:09:01 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
bug acknowledged by developer. (Tue, 22 Jun 2021 14:09:01 GMT) Full text and rfc822 format available.

Message #15 received at 48778-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 48778-done <at> debbugs.gnu.org
Subject: Re: bug#48778: ‘guix’ package loads all .scm
 files from its profile
Date: Tue, 22 Jun 2021 16:08:52 +0200
Ludovic Courtès <ludo <at> gnu.org> skribis:

> Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:
>
>> The ‘guix’ package, when installed in a “normal” 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:
>
> [...]
>
>> I believe this is a side effect of
>> c47f3fc13562d82edfd2d47342574154c452843a, which leads (@ (guix describe)
>> current-profile) to provide the correct answer when the ‘guix’ package
>> is installed in a profile (previously ‘current-profile’ would return #f
>> because the executable was called ‘.guix-real’.)
>
> Fixed in fb3927486ac163d11e3af7ca7c4fffcc4be06809.  (We still have to
> update the ‘guix’ package for this to take effect.)

‘guix’ was updated in ba575ee81452a5b45eb3807a1a1d32ba8fa8f3f0.

Closing!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Jul 2021 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 278 days ago.

Previous Next


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