‘guix shell’ cache is system-independent

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 2 May 2023 09:58
‘guix shell’ cache is system-independent
(address . bug-guix@gnu.org)
875y9b9nbd.fsf@inria.fr
I just noticed that the ‘guix shell’ cache doesn’t take the system type
into account, which is problematic:

Toggle snippet (35 lines)
$ guix shell -s aarch64-linux guile guile-fibers -- guile -q
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> %host-type
$1 = "i686-unknown-linux-gnu"
scheme@(guile-user)> ,q
$ guix shell -s powerpc64le-linux guile guile-fibers -- guile -qGNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> %host-type
$1 = "i686-unknown-linux-gnu"
scheme@(guile-user)> ,q
$ guix describe
Generation 259 May 01 2023 23:40:54 (current)
guix 39ba8a1
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 39ba8a10971f15264966823e8696d63c2995df86
shepherd 6a2b366
repository URL: https://git.savannah.gnu.org/git/shepherd.git
branch: master
commit: 6a2b36635d1588a07660403e137134fddf5b4923

One can work around it by passing ‘--rebuild-cache’.

Ludo’.
L
L
Ludovic Courtès wrote on 14 Jul 2023 00:41
(address . 63230-done@debbugs.gnu.org)
87jzv3xwll.fsf@gnu.org
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

Toggle quote (3 lines)
> I just noticed that the ‘guix shell’ cache doesn’t take the system type
> into account, which is problematic:

Fixed in 9c513303156b418567b9d2cde9f8df66190051ac!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 63230@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63230
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch