Subject: bug#56545: closed (Re: bug#56545: guix time-machine/shell throws "unsupported manifest format" error)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 18 Jul 2022 11:05:01 +0000

Your bug report

#56545: guix time-machine/shell throws "unsupported manifest format" error

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].

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

Subject: Re: bug#56545: guix time-machine/shell throws "unsupported manifest format" error
From: Maxim Cournoyer <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Mon, 18 Jul 2022 07:04:25 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Ludovic,

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

> Hi!
>
> Maxim Cournoyer <[email-masked]> 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

Subject: guix time-machine/shell throws "unsupported manifest format" error
From: Maxim Cournoyer <[email-masked]>
To: bug-guix <[email-masked]>
Date: Wed, 13 Jul 2022 20:53:54 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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