Received: (at 48008) by debbugs.gnu.org; 30 Apr 2021 15:53:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 11:53:47 2021 Received: from localhost ([127.0.0.1]:59637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lcVSc-00071G-QM for submit <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:53:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lcVSb-000713-4d for 48008 <at> debbugs.gnu.org; Fri, 30 Apr 2021 11:53:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49975) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lcVSU-000200-06; Fri, 30 Apr 2021 11:53:38 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40498 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lcVSS-0000vK-Qo; Fri, 30 Apr 2021 11:53:37 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Oleg Pykhalov <go.wigust@HIDDEN> Subject: Re: bug#48008: guix time-machine: error: Git error: the requested type does not match the type in the ODB References: <87h7jv2xi7.fsf@HIDDEN> Date: Fri, 30 Apr 2021 17:53:35 +0200 In-Reply-To: <87h7jv2xi7.fsf@HIDDEN> (Oleg Pykhalov's message of "Sun, 25 Apr 2021 00:17:20 +0300") Message-ID: <87eeerbwg0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48008 Cc: 48008 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Oleg, Oleg Pykhalov <go.wigust@HIDDEN> skribis: > guix time-machine fails for 5b7a1cb0 (doesn't fail for the parent commit > baab87ac). > > $ mv ~/.cache/guix/checkouts ~/.cache/guix/checkouts.1 > > $ guix time-machine --commit=3D5b7a1cb077931a020c0b7e3b12f12a7bda221d96 -= - build hello > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.= org/git/guix.git'... > guix time-machine: error: Git error: the requested type does not match th= e type in the ODB What =E2=80=98guix=E2=80=99 is trying to tell us is that 5b7a1cb077931a020c0b7e3b12f12a7bda221d96 is not a =E2=80=9Ccommit=E2=80=9D = object: it=E2=80=99s a =E2=80=9Ctag=E2=80=9D (or =E2=80=9Cannotated tag=E2=80=9D) object. Instead, you should run: guix time-machine --commit=3Dd68de958b60426798ed62797ff7c96c327a672ac -- \ build hello=20 =E2=80=A6 where d68de958b60426798ed62797ff7c96c327a672ac is the commit this= tag points to (v1.0.1). That said, as a user, one certainly doesn=E2=80=99t care about this subtlet= y. It would be nice if (guix git) could automatically dereference annotated tags, though it doesn=E2=80=99t seem to be that simple (there are places wh= ere we explicitly ask for a commit object and we need to keep some sort of =E2=80=9Ctype checks=E2=80=9D on Git objects). Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#48008
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Apr 2021 21:17:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 24 17:17:31 2021 Received: from localhost ([127.0.0.1]:41606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1laPed-0008EH-9u for submit <at> debbugs.gnu.org; Sat, 24 Apr 2021 17:17:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:50766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <go.wigust@HIDDEN>) id 1laPeb-0008EA-Uq for submit <at> debbugs.gnu.org; Sat, 24 Apr 2021 17:17:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>) id 1laPeb-0006FN-PJ for bug-guix@HIDDEN; Sat, 24 Apr 2021 17:17:29 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:47003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <go.wigust@HIDDEN>) id 1laPea-0003NG-6K for bug-guix@HIDDEN; Sat, 24 Apr 2021 17:17:29 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 12so82278991lfq.13 for <bug-guix@HIDDEN>; Sat, 24 Apr 2021 14:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Rzekn7CwjId2Z3JbuoyLG8krHjHcGS+QV15ONYoI0QI=; b=LCmSdncWU+WHmHUu87znfVh3i24h28MZi3WESyK/ibnick/XHuWnC4kohzknaUEOd2 HIRVXrlI3yJ7LsGYGU1ogO0qQfB8Sy7TDHCKblSdXseIM5prDEE16c2j7qLyzx25v1iF n7MEsbqSO/jj/0z4aVYoBlMp/bpcopvvGs3jmjNB/rHpsNe9qBzXqmSYvqOAItBTMs3B dnV8Z0LVmJaHhZR0m//txxPtfe4zbwqoRpwlrwXDhmy4ITtF00JDwXIN5UZ6AQkP+Dtv qPaxSVnUfxcgNJmm9y8ZTj/OGifyPt20phLaO8LjhVg6/g6ZqF4G6FufeBopS3Cehj2I FJEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Rzekn7CwjId2Z3JbuoyLG8krHjHcGS+QV15ONYoI0QI=; b=BJIY0vPTViXV6DyQAv+S3wHgIqVJUxmlg+QmogVUETraRvietkLWXcPfc+IgpV3j6D vQ7vJMg92Pn+nRXUmCWVNl0JHVBGbr7a1lNUzSy9rRD5iIDYgA2K48rb99X6qFBfk7GP RZGTWGZhrPMLdzCDJdzquXZfZEP0FV/X6xBk9U2BFSeGspMn66xgQkVIrcrlLNCVTPUC /WZcvzMe/wUVy3QP84uNVakAtVgLseuuajfk3eaGr0bsACM2LrryozPFVjWruWqlj7DI RxrTn03ig3oJwteF4762EegdthvLaynRQtJJCP2C+ZQosQnQ7wcVSx9DHJmY1eopEIMC 7aJw== X-Gm-Message-State: AOAM532dZDcLZMeIFc1rFUUxh/XncBAwl1lRU/NPLHIHtcElk/2zgVNN O4u1DFlcyEqBG+pqKVTKCAu9Kv1dQJ8= X-Google-Smtp-Source: ABdhPJzn+n1rMLsRXsw3Dr52BkwSXYIy8CfTRc4JYDXuEarZ9HAZKsIRvqEPuUfUqqDpjFSOhMgSGA== X-Received: by 2002:ac2:5fab:: with SMTP id s11mr6909273lfe.401.1619299044872; Sat, 24 Apr 2021 14:17:24 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id o12sm187666lfu.205.2021.04.24.14.17.24 for <bug-guix@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Apr 2021 14:17:24 -0700 (PDT) From: Oleg Pykhalov <go.wigust@HIDDEN> To: bug-guix <bug-guix@HIDDEN> Subject: guix time-machine: error: Git error: the requested type does not match the type in the ODB Date: Sun, 25 Apr 2021 00:17:20 +0300 Message-ID: <87h7jv2xi7.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=go.wigust@HIDDEN; helo=mail-lf1-x12a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain guix time-machine fails for 5b7a1cb0 (doesn't fail for the parent commit baab87ac). $ mv ~/.cache/guix/checkouts ~/.cache/guix/checkouts.1 $ guix time-machine --commit=5b7a1cb077931a020c0b7e3b12f12a7bda221d96 -- build hello Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix time-machine: error: Git error: the requested type does not match the type in the ODB --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmCEiuAUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pzIgxAArfb0HQlSEfnHl2GCOnWaUQpc3MJY YaIaduCDWkMh5iZgFW9tszN/Vzo+ro2wCFZM2bHLyqkAltz+/LYowB0N9aWou62T oSgy1wMYfSwhDB0t9AIgXgpjTTediGrhuPVwH8JqrSHjidJmy/T5k5963lMPvefu 1Rl2kvCr/Wqw2vXFY92VibiBtlMQBbVqWLVhkeKAKh3OhSy2ZwFEfdpawwjm6Zwf 835U95mPU9cOCeA/8OgdRY+NwrMDma/6tLkrwF5UchsBNVOKoMjTQoxhKzK/Gjv3 SQ36a3435QquDA1iHVfJm/X7iM/SKfcJa21mnp8mKL+yq/4USz7h211J38CDuPdL 1+Y5nG6ns12nQXycmGcpiWCbTHsx8eeOZ+CsF6JONKAvuTzvtCPCR3GrZso2tYof syTlxC2nMCsYQ/exXnpM+ntq2WlBvqMG3g+hrLgSIGesKXPc4DuxtKDVh6q+vd4h AMJcBog/7xhLbNLNKR4VkUC3zqNt90plxMAUsoQ3yL6eyl/xbSWgASLC59qkO851 0jN+pIu8+hlVg+rv/mCIxUc9a6hvlhEx/52vPef/qAfMrvjjae3xdntyk3h0Iblk GHq4KBdZYpr/CQ9XMkUy7lEHWh5OTyhJ03gqtpzH8Ybvou5kubssW0faJ4oI1ppt EyffqnaIyyj1l6U= =p7cf -----END PGP SIGNATURE----- --=-=-=--
Oleg Pykhalov <go.wigust@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#48008
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.