GNU bug report logs - #56545
guix time-machine/shell throws "unsupported manifest format" error

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 14 Jul 2022 00:55:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 56545 in the body.
You can then email your comments to 56545 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#56545; Package guix. (Thu, 14 Jul 2022 00:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 14 Jul 2022 00:55:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: guix time-machine/shell throws "unsupported manifest format" error
Date: Wed, 13 Jul 2022 20:53:54 -0400
Hi Guix,

I recently tried re-entering an older environment via:

$ guix describe
Generation 128  Jul 06 2022 14:50:39    (current)
  guix 17892c5
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 17892c5f9c5c5c93325884834a58cc2a4fafa51f
  sfl-packages 6385881
    repository URL: https://gitlab.com/Apteryks/sfl-guix-channel
    branch: master
    commit: 6385881124429016f750b0f562b70e07f592275e
    
$ guix time-machine -C channels.scm -- shell

with in the current directory the project manifest file:

--8<---------------cut here---------------start------------->8---
(packages->manifest
 (map specification->package
      (list
       ;; General utilities.
       "bash"
       "coreutils"
       "cpio"
       "cqfd"
       "findutils"
       "gawk"
       "git"
       "grep"
       "gzip"
       "info-reader"                   ;to generate the info dir entry
       "less"                          ;for a better git experience
       "make"
       "man-db"                     ;to generate the manpages database
       "pandoc"
       "pict"
       "sed"
       "openssh"                        ;for the SSH client used by git
       "tar"
       "tree"
       "wget"

       ;; Python and libraries.
       "python-matplotlib"
       "python-paramiko"
       "python-robotframework"
       "python-robotframework-datadriver"
       "python-robotframework-sshlibrary"
       "python-robotframework-stacktrace"
       "python-scp"
       "python-selenium"
       "python-tenacity"
       "python-wrapper"

       ;; Drivers
       "python-labjack"

       ;; Development tools.
       "python-flake8"
       "python-flake8-isort"
       "python-ipython"
       "python-ipython-documentation"
       ;; To use ipdb with Python's breakpoint():
       ;; 'export PYTHONBREAKPOINT=ipdb.sset_trace'
       ;; then set 'breakpoint()' in Python sources or
       ;; 'Evaluate breakpoint()' in RobotFramework sources.
       "python-ipdb"
       "python-isort"
       "python-pdbpp"                   ;for the 'sticky' mode
       "python-pylint"
       "python-robotframework-lint"

       ;; Browsers.
       "icecat"
       "ungoogled-chromium")))
--8<---------------cut here---------------end--------------->8---

and the channels.scm file:

--8<---------------cut here---------------start------------->8---
(list (channel
       (inherit %default-guix-channel)
       (commit
        "ceeb2bfcaeb4380e01d26c8425e28b94ac13558a"))) ;2022-06-07
--8<---------------cut here---------------end--------------->8---

and was surprised to be greeted with the following error:


--8<---------------cut here---------------start------------->8---
(repl-version 0 1 1)
(exception %exception (non-self-quoting 140737300283024 "#<&message message: \"unsupported manifest format\">"))
/var/log/guix/drvs/j8/0wjfx7s7nxhcn0wjxfysnnv2knx0c1-guix-package-cache.drv (END)
--8<---------------cut here---------------end--------------->8---

What does it mean?  Which manifest is it referring to?

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#56545; Package guix. (Sun, 17 Jul 2022 19:32:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 56545 <at> debbugs.gnu.org
Subject: Re: bug#56545: guix time-machine/shell throws "unsupported manifest
 format" error
Date: Sun, 17 Jul 2022 21:31:21 +0200
Hi!

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> scribes:

> and the channels.scm file:
>
> (list (channel
>        (inherit %default-guix-channel)
>        (commit
>         "ceeb2bfcaeb4380e01d26c8425e28b94ac13558a"))) ;2022-06-07
>
>
> and was surprised to be greeted with the following error:
>
> (repl-version 0 1 1)
> (exception %exception (non-self-quoting 140737300283024 "#<&message message: \"unsupported manifest format\">"))
> /var/log/guix/drvs/j8/0wjfx7s7nxhcn0wjxfysnnv2knx0c1-guix-package-cache.drv (END)
>
> What does it mean?  Which manifest is it referring to?

Commit 4ff12d1de7cd617b791996ee7ca1240660b4c20e introduced that bug,
which was fixed in c9fbd40785a99e13a59d8e530830ce85220a9871:

  https://issues.guix.gnu.org/56441

‘guix describe’ should show that you’re using a commit in that range.

The solution is to run ‘time-machine’ from a commit outside that range,
for instance with:

  guix time-machine -- time-machine -C channels.scm -- whatever

:-)

Ludo’.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 18 Jul 2022 11:05:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Mon, 18 Jul 2022 11:05:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 56545-done <at> debbugs.gnu.org
Subject: Re: bug#56545: guix time-machine/shell throws "unsupported manifest
 format" error
Date: Mon, 18 Jul 2022 07:04:25 -0400
Hi Ludovic,

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

> Hi!
>
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> scribes:
>
>> and the channels.scm file:
>>
>> (list (channel
>>        (inherit %default-guix-channel)
>>        (commit
>>         "ceeb2bfcaeb4380e01d26c8425e28b94ac13558a"))) ;2022-06-07
>>
>>
>> and was surprised to be greeted with the following error:
>>
>> (repl-version 0 1 1)
>> (exception %exception (non-self-quoting 140737300283024 "#<&message message: \"unsupported manifest format\">"))
>> /var/log/guix/drvs/j8/0wjfx7s7nxhcn0wjxfysnnv2knx0c1-guix-package-cache.drv (END)
>>
>> What does it mean?  Which manifest is it referring to?
>
> Commit 4ff12d1de7cd617b791996ee7ca1240660b4c20e introduced that bug,
> which was fixed in c9fbd40785a99e13a59d8e530830ce85220a9871:
>
>   https://issues.guix.gnu.org/56441
>
> ‘guix describe’ should show that you’re using a commit in that range.
>
> The solution is to run ‘time-machine’ from a commit outside that range,
> for instance with:
>
>   guix time-machine -- time-machine -C channels.scm -- whatever
>
> :-)

That's a happy resolution.  Thank you!

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Aug 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 226 days ago.

Previous Next


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