From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wNXCBgwUDWP03AAAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 21:31:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cAbEBgwUDWOIhAAAauVa8A (envelope-from ) for ; Mon, 29 Aug 2022 21:31:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BF993260F0 for ; Mon, 29 Aug 2022 21:31:23 +0200 (CEST) Received: from localhost ([::1]:39272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSkTh-0006da-NB for larch@yhetil.org; Mon, 29 Aug 2022 15:31:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSkSR-0006My-DB for bug-guix@gnu.org; Mon, 29 Aug 2022 15:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSkSR-0007Wr-2q for bug-guix@gnu.org; Mon, 29 Aug 2022 15:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSkSQ-0003ur-SM for bug-guix@gnu.org; Mon, 29 Aug 2022 15:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57306: guix pull to old commit fails due to unsupported manifest format Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 Aug 2022 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57306 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Arun Isaac , 57306@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 57306-submit@debbugs.gnu.org id=B57306.166180139415000 (code B ref 57306); Mon, 29 Aug 2022 19:30:02 +0000 Received: (at 57306) by debbugs.gnu.org; 29 Aug 2022 19:29:54 +0000 Received: from localhost ([127.0.0.1]:33879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSkS4-0003tb-6m for submit@debbugs.gnu.org; Mon, 29 Aug 2022 15:29:54 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:42568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSkRx-0003t1-Ps for 57306@debbugs.gnu.org; Mon, 29 Aug 2022 15:29:34 -0400 Received: by mail-wr1-f47.google.com with SMTP id m16so11402426wru.9 for <57306@debbugs.gnu.org>; Mon, 29 Aug 2022 12:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=ZTe4vXITGBULRzMCtlP3RH6IR8ZKqtTqPOt9YMXaQo0=; b=UA+sntnyzipTuLiotLhnJTdXCqLxkpNGJHjkq4ghLVIh4s/Pzlw7SIy4WLVS7Dq6Kf dKcLxt21Dr2iRrkG9FQ7C/EoZ3QhChl9k/rqrhjhFday5+k/+oKOoBlUcRk3RIewHxNb 5c+vB3IRVG+henvZBPTC22p6pOATbkFolzZ0sYglMLQtvvsU1E8KKLZuaco4wikOLLS8 4P273ip7NrxzmJHSYbnKRVn3VSxl5nXweLnBV1ZxB+QU7cNDJiE13w5qCJwLTpRRo8oz lJv/pkvosMG42l0xJwu/QHQ2htggEuNhpEOfRWnJOuO5VJoF7s7A5fkxBFmA6HfO3x2F Dn9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=ZTe4vXITGBULRzMCtlP3RH6IR8ZKqtTqPOt9YMXaQo0=; b=NwCXbywMkTU94CCA5zMOdkBvOuNzKV2jaK4/kLR8Xat15ddKAhJuZyYWGdalr5MLTk 1FAgJMQZpdmUeqvhgkTXXkaTi/lAcbuW8qNUjSNFHHyqw7gSpFP7x/zJj0E12ujtQDin 6S/8miKcCfa4PWhEz/tTdpHLJDcelbA/zrsnSvUfp9FjpkFhdZu8ksCTkX/J7jGU8PXX p/dow0yNctRaSsWP0tJhopSSAPnXyFRB+Wwdq1QlPa6K6ZI2iTRM9u378Hu9u2GYI+4a Nn6C9R5n1sDACifaAN5UFwcLqEOD4MZcXt2X5YF03RoZwMux4c4Y/GHIgPyQKEt1/C57 pkEw== X-Gm-Message-State: ACgBeo0FyVzhi2JkFJzmEJuAl4gpbS1jeziy6oy63U/sJO9J4w1aFRK9 hxh7ChbEgXkuPQHuq3Ufc3E2uy9w3Tk= X-Google-Smtp-Source: AA6agR7uGTyai2+AqBUv9J90YnHwecKok+gU649fu+gXUgGWqYKAbn3yk5qQFNm72OTPSdxu77cUEQ== X-Received: by 2002:a5d:6a85:0:b0:226:d8d9:20ab with SMTP id s5-20020a5d6a85000000b00226d8d920abmr4329446wru.514.1661801368131; Mon, 29 Aug 2022 12:29:28 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id i16-20020adffc10000000b002253af82fa7sm9602590wrr.9.2022.08.29.12.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 12:29:27 -0700 (PDT) From: zimoun In-Reply-To: <87k0735k84.fsf@systemreboot.net> References: <87k0735k84.fsf@systemreboot.net> Date: Mon, 29 Aug 2022 16:59:36 +0200 Message-ID: <87v8qbumcn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661801483; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZTe4vXITGBULRzMCtlP3RH6IR8ZKqtTqPOt9YMXaQo0=; b=Ei8G2o00O3gSNf0o/Hi4jssCUMM36EA5jX6bdGjNzPjxyOdZl5ZGitFHvvk8hhu4ADKU13 FA3xFdbVZWMjCigoTbQFCuKKspuC2HiSr9YxF8Ho6jp2JdFP6JGAJLHVqV3Fl3H78sclNF vvR/Fs76jQhRUHfTcpUiuK9ir0BhFOIh7wXc9nkCdRCVvLCAXx79rrix4pNQWE6nJELsqh LFK5T4QRrVhDg66LWSjXrFuf1xgMHGgVYBGVEBiGgxxfBYRTMJsYeMY4w/itAmPlVsxF9A 0Ik1Dv1c+BhtDqHS7UHDl1UegW0Dc51mHfR3LfnzRWMKY0T7JlzQChiKSW+fFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661801483; a=rsa-sha256; cv=none; b=AdcblXHdQJsMlaocPfFV9nPz7XLr76ZSpsemkjkH78NkV/eDOe2M+chYDswgeIv6jDdYtx 5yqZGV+7NTZh5MxpBEQP+myJebeFyaBg/soCJNT9BGMYPNEePlUuO3y+/lfb078cUEFgrT 55yUI3/X7T4EBH7DEUMGO4e9MLj9kzvWTfMjcZkKtTFQYEwwgtAtess0gQWr9oyXybjfUo egW2Hi0Q5EhzMY/beZ4U+HsgvOUAQkPKyUvrXeG+yqeQcD8C9/UxY6uCTLQ7xmVsRT6/wx euf78y2Pp/HWrfg3OZXZwOSAVorpjcFCOjs7r/vWppumbVdxOSraofdIuSNSdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=UA+sntny; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=UA+sntny; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BF993260F0 X-Spam-Score: 6.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: J0d544OeV3jh Hi Arun, On sam., 20 ao=C3=BBt 2022 at 15:07, Arun Isaac wrote: > When I guix pull to 6f75565b4ec3b8a7247699c327a3b3196c787f76, activate > the profile and run guix describe, it fails with an "unsupported > manifest format" error. > > --8<---------------cut here---------------start------------->8--- > $ guix pull --commit=3D6f75565b4ec3b8a7247699c327a3b3196c787f76 -p > /tmp/test > $ source /tmp/test/etc/profile > $ guix describe > guix describe: error: unsupported manifest format > --8<---------------cut here---------------end--------------->8--- > > This happens because my guix-daemon writes a version 4 manifest and the > guix from commit 6f75565b4ec3b8a7247699c327a3b3196c787f76 only > understands a version 3 manifest. I do not think it is related to guix-daemon and I think it is expected; indeed it could be considered as a bug. The command-line, guix pull --commit=3Dxyz -p /tmp/test writes /tmp/test/manifest using the current Guix (say manifest 4) and not using Guix at commit xyz (say manifest 3). Contrary to =E2=80=9Cguix time-machine --commit=3Dxyz=E2=80=9D. --8<---------------cut here---------------start------------->8--- $ cat ~/.cache/guix/inferiors/cfcv5rt7xiax6pvdqwoad3hdrsqrpl34z2tufvtcb7nsp= eum5cba/manifest ;; This file was automatically generated and is for internal use only. ;; It cannot be passed to the '--manifest' option. ;; Run 'guix package --export-manifest' if you want to export a file ;; suitable for '--manifest'. (manifest (version 3) (packages (("guix" "6f75565" "out" "/gnu/store/3nfgbg6nd6vq9im8fp97h6h5zm1rvhzh-guix-6f75565b4" (propagated-inputs ()) (search-paths ()) (properties (source (repository (version 0) (url "https://git.savannah.gnu.org/git/guix.git") (branch #f) (commit "6f75565b4ec3b8a7247699c327a3b3196c787f76") (name guix) (introduction (channel-introduction (version 0) (commit "9edb3f66fd807b096b48283debdcddccfea34bad") (signer "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))= ))))) --8<---------------cut here---------------end--------------->8--- Cheers, simon