[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dependence on an old version of a package.
From: |
Philippe Veber |
Subject: |
Re: Dependence on an old version of a package. |
Date: |
Thu, 21 Dec 2023 11:31:55 +0100 |
Thanks a lot for having a look at it!
So I'm guessing that even when the bug is corrected, it won't be possible
to depend on a commit prior to May 1st 2019, is that right?
Le mar. 19 déc. 2023 à 15:42, Simon Tournier <zimon.toutoune@gmail.com> a
écrit :
> Hi,
>
> On Sun, 10 Dec 2023 at 09:18, Philippe Veber <philippe.veber@gmail.com>
> wrote:
>
> > (define mychannels
> > (list (channel
> > (name 'guix)
> > (url "https://git.savannah.gnu.org/git/guix.git")
> > ;; Last commit that still has openmpi < 4.0.0
> > (commit
> > "1482531cd7d0f1f7e565207240affb68dd822e17"))))
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=1482531cd7d0f1f7e565207240affb68dd822e17 --
> help
> guix time-machine: error: cannot travel past commit `6298c3ffd965' from
> May 1st, 2019
> --8<---------------cut here---------------end--------------->8---
>
>
> > My question is this: should I just be patient and wait for it to
> > complete or I'm doing this wrong?
>
> You are trying to time-travel to something before the introduction of
> time-travel. Hence the unexpected behaviour, I guess.
>
> Thanks for reporting that something is missing. The inferior should
> stop and error out. It does not because ’cached-channel-instance’ is
> currently called with the argument ’#:validate-channels’ set to the
> default (const #t).
>
> Currently, the verification is only done in
> guix/scripts/time-machine.scm. Well, this issue seems being part of
> bug#65788 [1].
>
>
> 1: bug#65788: poor information when updating using “guix time-machine”
> Simon Tournier <zimon.toutoune@gmail.com>
> Wed, 06 Sep 2023 18:57:38 +0200
> id:87pm2vme7x.fsf@gmail.com
> https://issues.guix.gnu.org/65788
> https://issues.guix.gnu.org/msgid/87pm2vme7x.fsf@gmail.com
> https://yhetil.org/guix/87pm2vme7x.fsf@gmail.com
>
> Cheers,
> simon
>