Subject: bug#63230: closed (Re: bug#63230: ‘guix shell’ cache is system-independent)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 13 Jul 2023 22:43:02 +0000

Your bug report

#63230: ‘guix shell’ cache is system-independent

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
63230: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63230
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#63230: ‘guix shell’ cache is system-independent
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Fri, 14 Jul 2023 00:41:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> I just noticed that the ‘guix shell’ cache doesn’t take the system type
> into account, which is problematic:

Fixed in 9c513303156b418567b9d2cde9f8df66190051ac!

Ludo’.

Subject: ‘guix shell’ cache is system-independent
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Tue, 02 May 2023 09:58:46 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

I just noticed that the ‘guix shell’ cache doesn’t take the system type
into account, which is problematic:

--8<---------------cut here---------------start------------->8---
$ 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
--8<---------------cut here---------------end--------------->8---

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

Ludo’.