unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56545: guix time-machine/shell throws "unsupported manifest format" error
@ 2022-07-14  0:53 Maxim Cournoyer
  2022-07-17 19:31 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2022-07-14  0:53 UTC (permalink / raw)
  To: 56545

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#56545: guix time-machine/shell throws "unsupported manifest format" error
  2022-07-14  0:53 bug#56545: guix time-machine/shell throws "unsupported manifest format" error Maxim Cournoyer
@ 2022-07-17 19:31 ` Ludovic Courtès
  2022-07-18 11:04   ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2022-07-17 19:31 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 56545

Hi!

Maxim Cournoyer <maxim.cournoyer@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’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#56545: guix time-machine/shell throws "unsupported manifest format" error
  2022-07-17 19:31 ` Ludovic Courtès
@ 2022-07-18 11:04   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2022-07-18 11:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 56545-done

Hi Ludovic,

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

> Hi!
>
> Maxim Cournoyer <maxim.cournoyer@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-18 11:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14  0:53 bug#56545: guix time-machine/shell throws "unsupported manifest format" error Maxim Cournoyer
2022-07-17 19:31 ` Ludovic Courtès
2022-07-18 11:04   ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).