GNU logs - #48008, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48008: guix time-machine: error: Git error: the requested type does not match the type in the ODB
Resent-From: Oleg Pykhalov <go.wigust@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 24 Apr 2021 21:18:01 +0000
Resent-Message-ID: <handler.48008.B.161929905131642 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 48008
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 48008 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.161929905131642
          (code B ref -1); Sat, 24 Apr 2021 21:18:01 +0000
Received: (at submit) by debbugs.gnu.org; 24 Apr 2021 21:17:31 +0000
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>
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-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-----
--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Oleg Pykhalov <go.wigust@HIDDEN>
Subject: bug#48008: Acknowledgement (guix time-machine: error: Git error:
 the requested type does not match the type in the ODB)
Message-ID: <handler.48008.B.161929905131642.ack <at> debbugs.gnu.org>
References: <87h7jv2xi7.fsf@HIDDEN>
X-Gnu-PR-Message: ack 48008
X-Gnu-PR-Package: guix
Reply-To: 48008 <at> debbugs.gnu.org
Date: Sat, 24 Apr 2021 21:18:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 48008 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
48008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48008
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48008: guix time-machine: error: Git error: the requested type does not match the type in the ODB
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 30 Apr 2021 15:54:01 +0000
Resent-Message-ID: <handler.48008.B48008.161979802726990 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 48008
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Oleg Pykhalov <go.wigust@HIDDEN>
Cc: 48008 <at> debbugs.gnu.org
Received: via spool by 48008-submit <at> debbugs.gnu.org id=B48008.161979802726990
          (code B ref 48008); Fri, 30 Apr 2021 15:54:01 +0000
Received: (at 48008) by debbugs.gnu.org; 30 Apr 2021 15:53:47 +0000
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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
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-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.





Last modified: Fri, 30 Apr 2021 16:00:02 UTC

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