GNU bug report logs -
#55521
‘guix shell --export-manifest’ can yield incorrect results
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55521 in the body.
You can then email your comments to 55521 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#55521
; Package
guix
.
(Thu, 19 May 2022 11:44:02 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
.
(Thu, 19 May 2022 11:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
‘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’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#55521
; Package
guix
.
(Thu, 19 May 2022 11:53:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 55521 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:
> $ 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
Actually it looks like this was fixed in the meantime:
--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=2f170893719e6e9fc8e19cc5f0568e20a95d92b4 -- 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.
(specifications->manifest
(list "texlive-base" "rubber"))
--8<---------------cut here---------------end--------------->8---
I’m not sure what happened, but it’s a good surprise. :-)
Closing!
Ludo’.
bug closed, send any further explanations to
55521 <at> debbugs.gnu.org and Ludovic Courtès <ludovic.courtes <at> inria.fr>
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 19 May 2022 11:53:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#55521
; Package
guix
.
(Thu, 19 May 2022 13:08:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 55521 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Actually it looks like this was fixed in the meantime:
>
> $ guix time-machine
> --commit=2f170893719e6e9fc8e19cc5f0568e20a95d92b4 -- 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.
>
> (specifications->manifest
> (list "texlive-base" "rubber"))
>
> I’m not sure what happened, but it’s a good surprise. :-)
>
> Closing!
I think this issue is sporadic, rather than fixed. I've had it
happen and then fix itself, even with the same list of packages on
the same Guix commit. For instance, I don't encounter the issue
with the commit you were on:
$ 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.
(specifications->manifest
(list "texlive-base" "rubber"))
Maybe we could keep this bug open?
[signature.asc (application/pgp-signature, inline)]
Did not alter fixed versions and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 21 May 2022 16:32:01 GMT)
Full text and
rfc822 format available.
Severity set to 'important' from 'normal'
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 21 May 2022 16:34:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#55521
; Package
guix
.
(Sat, 21 May 2022 16:35:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 55521 <at> debbugs.gnu.org (full text, mbox):
Hi Dominic,
Dominic Martinez <dom <at> dominicm.dev> skribis:
> I think this issue is sporadic, rather than fixed. I've had it happen
> and then fix itself, even with the same list of packages on the same
> Guix commit. For instance, I don't encounter the issue with the commit
> you were on:
>
> $ 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.
>
> (specifications->manifest
> (list "texlive-base" "rubber"))
Uh, weird. I do encounter it like this:
--8<---------------cut here---------------start------------->8---
$ 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)
--8<---------------cut here---------------end--------------->8---
> Maybe we could keep this bug open?
Yes, done. That’ll need some investigation…
Thanks for the heads-up!
Ludo’.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 16 Jun 2022 22:00:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Courtès <ludovic.courtes <at> inria.fr>
:
bug acknowledged by developer.
(Thu, 16 Jun 2022 22:00:03 GMT)
Full text and
rfc822 format available.
Message #25 received at 55521-done <at> debbugs.gnu.org (full text, mbox):
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’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 15 Jul 2022 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.