GNU bug report logs - #55521
‘guix shell --export-manifest’ can yield incorrect results

Previous Next

Package: guix;

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

Date: Thu, 19 May 2022 11:44:02 UTC

Severity: important

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#55521: closed (‘guix shell
 --export-manifest’ can yield incorrect results)
Date: Thu, 16 Jun 2022 22:00:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 16 Jun 2022 23:59:42 +0200
with message-id <877d5gjmlt.fsf <at> gnu.org>
and subject line Re: bug#55521: ‘guix shell --export-manifest’ can yield incorrect results
has caused the debbugs.gnu.org bug report #55521,
regarding ‘guix shell --export-manifest’ can yield incorrect results
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
55521: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55521
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: ‘guix shell --export-manifest’ can yield incorrect results
Date: Thu, 19 May 2022 13:42:50 +0200
‘guix shell --export-manifest’ behaves in a strange way:

--8<---------------cut here---------------start------------->8---
$ guix shell rubber --export-manifest
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.

(specifications->manifest (list "rubber"))
$ guix shell texlive-base --export-manifest
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.

(specifications->manifest (list "texlive-base"))
$ guix shell texlive-base rubber --export-manifest
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.
(concatenate-manifests)
$ guix describe
Generation 214	May 02 2022 21:44:14	(current)
  guix 6b588da
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 6b588da368c77cde82ea2f22ca315116228777ad
--8<---------------cut here---------------end--------------->8---

Something breaks when combining ‘rubber’ with other packages.

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Dominic Martinez <dom <at> dominicm.dev>
Cc: 55521-done <at> debbugs.gnu.org
Subject: Re: bug#55521: ‘guix shell --export-manifest’ can yield incorrect results
Date: Thu, 16 Jun 2022 23:59:42 +0200
Hi,

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

> Uh, weird.  I do encounter it like this:
>
> $  guix time-machine --commit=6b588da368c77cde82ea2f22ca315116228777ad -- shell --export-manifest texlive-base rubber
> ;; What follows is a "manifest" equivalent to the command line you gave.
> ;; You can store it in a file that you may then pass to any 'guix' command
> ;; that accepts a '--manifest' (or '-m') option.
> (concatenate-manifests)

Turns out the problem occurs if the given environment has been cached by
a previous invocation (thanks to Marek Felšöci for putting me on the
right track!).

Fixed in 925a57c5d04553ff6c514867348e7d3c5c22ca66.

Ludo’.


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

Previous Next


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