From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AMJIO0vGumScGwEASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 19:54:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sARNOkvGumQdiQAAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 19:54:19 +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 7285C5D97A for ; Fri, 21 Jul 2023 19:54:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=livBftLR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689962059; 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=MMcW+mVTqL21dQ6c3FVqzihnu3X1pyBj2w8C/XKJHs4=; b=d3ng6c1dSk54qww4lyaFVmNSlNfYmspQT5kVIPMuxUW1j55tWrj1afOh2X4ieyPuSXYLBj GbbiEO5JORz6estrH5rKQdMwEvN5s13Ulq3Etx14tupJ5sV1AUAdoAYgqCwmSjZBAOL61N 7ZvI+MbnasRmiY4NrqsIn1AG1duJpCrMN3rWJFNNTxRlRMsswHf2zuIFv9Dx0obuaPsH6d 969gFX6w8UZgCnXpxTXZ6tlQ1SxjDhf4ZmnGCuoD91XUVwH8CE1qSS3ZzFYTQxi2RmQLJo nFyirMT4OqYIk0QfTwX4NIOTKRvzNjqFqSGko+OGDHmgm/B7FYNr3sb5NmcqgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=livBftLR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689962059; a=rsa-sha256; cv=none; b=OPkRO3WJExPI9dPY5p25BR6nBvstlpxzj/6f6VlLuLzeJ2WHohwL8dz2bjFT6ytkS76+qo F73/Dcq4vD3i/+65lbYgpI+A35opHVjVjND/Jqi+2qa99M766q0TZEDW/JmSS++qAYmKRz YwfnjkkJdiMnUFiqPltpi+h7h6Wak22jCNMTwKzmgaZMyGweghwlB0cit8VzbvjkywLUvu 2cYytgukfRb/qmLpdMKWam+1B3sgH/7e5qv7zey2MgOp8Cad0HMc+DCepHoGoWDJYezJlf 0yyslPxTtbp6J3Y7lhAG8cn0S1jI7xvbsEGaiDfPeR01gHprk05+Pav4KXAa9A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMuKM-0001bw-M5; Fri, 21 Jul 2023 13:54:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMuKI-0001bP-9i for guix-patches@gnu.org; Fri, 21 Jul 2023 13:54:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMuKI-0003Df-1m for guix-patches@gnu.org; Fri, 21 Jul 2023 13:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMuKH-0000sA-To for guix-patches@gnu.org; Fri, 21 Jul 2023 13:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64737] [PATCH 2/2] scripts: time-machine: Error when attempting to visit too old commits. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 17:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64737@debbugs.gnu.org Cc: Simon Tournier X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16899619863286 (code B ref -1); Fri, 21 Jul 2023 17:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 17:53:06 +0000 Received: from localhost ([127.0.0.1]:34831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMuJN-0000qr-QI for submit@debbugs.gnu.org; Fri, 21 Jul 2023 13:53:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMuJJ-0000qD-Hj for submit@debbugs.gnu.org; Fri, 21 Jul 2023 13:53:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMuJE-0001SM-3r for guix-patches@gnu.org; Fri, 21 Jul 2023 13:52:56 -0400 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMuJB-00033v-Tz for guix-patches@gnu.org; Fri, 21 Jul 2023 13:52:55 -0400 Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-40398ccdaeeso15758151cf.3 for ; Fri, 21 Jul 2023 10:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689961973; x=1690566773; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=MMcW+mVTqL21dQ6c3FVqzihnu3X1pyBj2w8C/XKJHs4=; b=livBftLR2y+EZvHCmeP8QKbR/ZayTWBulf88D5AymWs9HZLZltC/ddXdv1OTcShVEw R+LDzmovlkANf34nIPvQys+Q3xAQUJDV0fdNAChhIlct1jM5TueSzUa5nMUBlyShTrUO uWpOY0J9ZNxmRDuF/nGT5GQuxtIa3fimDNj4D9xWq3TttjGVxjhnU/W7mIbtXjG5GwIx 1SN40TCbuNXVgsQi8o/zbRdfcQh3QTlkg3hXYnsoXBK92zzFiR83+84MH5d+zX1/iQdZ xW53xbSITHcDgb0v35ZjFjRqtpgohto9wiMYK8IV91eShVKs3qGHjsLVZGfOLPHaOJRb tU4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689961973; x=1690566773; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MMcW+mVTqL21dQ6c3FVqzihnu3X1pyBj2w8C/XKJHs4=; b=F+C+s/R/j4dq0vjtnSVL5WuSsXKzQHsNmJURy3DjBmXszOBLGgKiLhnU0LYDxUlHHr HIXngB8OnSW9cMfqWnzdw6QbhTf5Tx9w/uch6UtN1ZUfOgA/dHejjQyjnp/VvMtUnt3V 64nZn9SPag+B1PrVhdUF8tgsCD0eX+X41nsR3Y+nfWcp9t63M4l7ne2Lg6lZW71DD5gO 90zQ8kEOWM6NNvEx10D/qEpvf5tBEjMGN5WtV0IRobl6yHk0ewcfdVIs+ANv3dCpYF4E Ib0fXX6KY7heb949KlsbtxqbtrWF8sa83dY1Ii+fypvwtPeScSgA+CdDBqTJzNZoKQ78 mu4A== X-Gm-Message-State: ABy/qLZZtgAr7025M5b9A7MC/Q2faBMqj+c9X1iFqXpYN0I76m9O+Ccg cK0qwOZGXb7vRx5jdx8U4Ag= X-Google-Smtp-Source: APBJJlHFv5anDFE5YOC5xC5dUl6G4sNipCYaWhLEmda8WNfjEOfMf0L5p9NymtF69GCFf3kSwybHhw== X-Received: by 2002:ac8:5f93:0:b0:400:a2b8:1c97 with SMTP id j19-20020ac85f93000000b00400a2b81c97mr892819qta.17.1689961972674; Fri, 21 Jul 2023 10:52:52 -0700 (PDT) Received: from hurd (dsl-10-135-166.b2b2c.ca. [72.10.135.166]) by smtp.gmail.com with ESMTPSA id l3-20020ac87243000000b003f394decd08sm1384827qtp.62.2023.07.21.10.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 10:52:52 -0700 (PDT) From: Maxim Cournoyer References: Date: Fri, 21 Jul 2023 13:52:51 -0400 In-Reply-To: (Maxim Cournoyer's message of "Wed, 19 Jul 2023 23:28:51 -0400") Message-ID: <87351hi230.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x830.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 4.35 X-Migadu-Queue-Id: 7285C5D97A X-Migadu-Spam-Score: 4.35 X-Migadu-Scanner: mx0.migadu.com X-TUID: YxBe7t67LCXG Hi, Maxim Cournoyer writes: > * doc/guix.texi (Invoking guix time-machine): Document limitation. > * guix/scripts/time-machine.scm (%oldest-possible-commit): New variable. > (guix-time-machine): Raise an error when the channel commit is too old. So I did the following test: $ guix time-machine --commit=3D2ca299caf -- shell hello -- hello which after building Guile 2.2.4 crashed with: --8<---------------cut here---------------start------------->8--- construction de /gnu/store/rj2g4x23lqyaq16471qm94xp90slxp3h-compute-guix-de= rivation.drv... |d=C3=A9chargement de la construction de /gnu/store/rj2g4x23lqyaq16471qm94x= p90slxp3h-compute-guix-derivation.drv sur =C2=AB 10.0.0.7 =C2=BB Computing Guix derivation for 'x86_64-linux'... Backtrace: - 5 (primitive-load "/gnu/store/b70mihsj9xx0xxp6izliqb5vm4=E2=80= =A6") In ice-9/eval.scm: 155:9 4 (_ _) 159:9 3 (_ #(#(#(#(#(#(#(#(#(#(#(=E2=80=A6) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) = =E2=80=A6)) 173:47 2 (_ #(#(#(#(#(#(#(#(#(#(#(=E2=80=A6) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) = =E2=80=A6)) In ./guix/self.scm: 932:4 1 (guix-derivation "/gnu/store/yfn2s94i5bvwr7j7r6xcnivwg=E2=80= =A6" =E2=80=A6) 903:2 0 (guile-for-build "3.0") ./guix/self.scm:903:2: In procedure guile-for-build: Throw to key `match-error' with args `("match" "no matching pattern" "3.0")= '. Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 659:37 18 (thunk) In guix/status.scm: 839:4 17 (call-with-status-report _ _) In guix/store.scm: 1298:8 16 (call-with-build-handler # =E2=80=A6) 2168:25 15 (run-with-store # =E2=80= =A6) In guix/inferior.scm: 927:8 14 (_ _) In guix/channels.scm: 982:2 13 (_ _) 924:2 12 (_ _) In ./guix/monads.scm: 487:9 11 (_ _) In guix/store.scm: 1996:8 10 (_ _) In guix/channels.scm: 675:14 9 (_ #) In guix/store.scm: 2168:25 8 (run-with-store # =E2=80= =A6) 1298:8 7 (call-with-build-handler _ _) 1298:8 6 (call-with-build-handler # =E2=80=A6) In guix/channels.scm: 690:14 5 (_) In guix/store.scm: 2168:25 4 (run-with-store # =E2=80= =A6) In ice-9/eval.scm: 191:27 3 (_ #(#(# #) = =E2=80=A6)) In ice-9/boot-9.scm: 2007:7 2 (error _ . _) 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: invalid build result (# /gnu/store/b70mihsj9xx0xxp6izliqb5vm46= 2yifl-compute-guix-derivation 7fbf5bf82c30> "") --8<---------------cut here---------------end--------------->8--- Thoughts? --=20 Thanks, Maxim