From unknown Sun Aug 17 01:00:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66850: %inferior-packages fails with match error Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 31 Oct 2023 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66850 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66850@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169876997514532 (code B ref -1); Tue, 31 Oct 2023 16:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2023 16:32:55 +0000 Received: from localhost ([127.0.0.1]:49049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxrfi-0003mJ-Nm for submit@debbugs.gnu.org; Tue, 31 Oct 2023 12:32:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxrfe-0003m2-Mq for submit@debbugs.gnu.org; Tue, 31 Oct 2023 12:32:54 -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 1qxrf0-0003PY-SB for bug-guix@gnu.org; Tue, 31 Oct 2023 12:32:11 -0400 Received: from sender3-of-o57.zoho.com ([136.143.184.57]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxret-0004uf-Va for bug-guix@gnu.org; Tue, 31 Oct 2023 12:32:10 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1698769919; cv=none; d=zohomail.com; s=zohoarc; b=GoyW0MyyrOM3fvYGof4HrHgy+CvgnJvJz7uN/j0WV2pl99hh8kEjwkoEgOfVUBq+f5HcMTv6gfmkf3WeRaIWpY1AaFYGBBsjLNCkE3pDbAEk0iRr+ZeyKmQB5tIo4kMSURnvWU1AXOzwpygGXmblbs9g0zF+db2Gwnb8yklVYGw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698769919; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=S04XQp+KFQizMRn2mMI3Tvxst2Il/6iPqwz99cgjV/o=; b=RbeZEJJFBl4jU5us0j4xlogEsXB8IP9k227qLGGS6FExjLarDiGBmLmPnyHGpthvQoREhEVMfpKdhJ+WHuXcFLRdGB5Co0E6tYV3o1tTaBCJIXe1o/FtreQ72QoLhXWb4w2QizJgyhQALE9isCay10s/DP6JUpv+SCkrj4xWxXE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1698769919; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=S04XQp+KFQizMRn2mMI3Tvxst2Il/6iPqwz99cgjV/o=; b=UW4OP9WshBU9FWniMiKh+xFDTZ2D6hfB/ojJdpIpcQe8VubEhuH66cpHbyLD8Kuu gu97OwWeArxdcksvG4n6DHbAHj7UFcEN0Niu3E+ya2RcVgEyL1RGTWz9ZUz8jauTRkn DdKM+MIvKWsTH8wWJd81twOifgQO5XvAdE8uM92E= Received: from localhost (141.80.244.169 [141.80.244.169]) by mx.zohomail.com with SMTPS id 1698769918112507.1633268561026; Tue, 31 Oct 2023 09:31:58 -0700 (PDT) User-agent: mu4e 1.10.7; emacs 29.1 From: Ricardo Wurmus Date: Tue, 31 Oct 2023 17:24:17 +0100 Message-ID: <87a5ryvjlx.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.57; envelope-from=rekado@elephly.net; helo=sender3-of-o57.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Sometimes when using %inferior-packages from (guix inferior) I get a match error like this: --8<---------------cut here---------------start------------->8--- Oct 31 16:10:56 my-host script.sh[11211]: ERROR: Oct 31 16:10:56 my-host script.sh[11211]: 1. &inferior-protocol-error: # Oct 31 16:10:56 my-host script.sh[11211]: In srfi/srfi-1.scm: Oct 31 16:10:56 my-host script.sh[11211]: 586:29 19 (map1 (("emacs-ivy-hydr= a" "0.14.0" 140456890688544) ("emacs-unfill" "0.3" 140456890595920) ("emacs= -kbd" "0.0.1-0.a7f4c9b" 140456889541840) (=E2=80=A6 Oct 31 16:10:57 my-host script.sh[11211]: o-types" "0.12.1" 140456892858544= ) ("rust-tap" "1.0.1" 140456869622112) ("rust-is-terminal" "0.4.7" 14045700= 9467744) ("rust-glam" "0.16.0" 14045700937=E2=80=A6 Oct 31 16:10:57 my-host script.sh[11211]: ("rust-darling" "0.9.0" 140457190= 695264) ("rust-memchr" "2.5.0" 140457009579568) ("rust-sha2" "0.9.5" 140456= 869400752) ("rust-base64" "0.11.0" 1404568=E2=80=A6 =E2=80=A6 Oct 31 16:11:00 my-host script.sh[11211]: 6) ("rust-rustc-version" "0.1.7" = 140457010237216) ("rust-crossterm" "0.25.0" 140456889098016) ("rust-rust-ha= wktracer" "0.7.0" 140457010188288) ("rust-=E2=80=A6 Oct 31 16:11:00 my-host script.sh[11211]: 586:17 2 (map1 (("emacs-org-re-r= eveal" 140456890183456) ("emacs-eldoc" "1.14.0" 140456889995040) ("emacs-sk= ewer-mode" "1.8.0" 140456889618032) ("emac=E2=80=A6 Oct 31 16:11:00 my-host script.sh[11211]: 7009533808) ("rust-pathfinder-geo= metry" "0.5.1" 140456869437440) ("rust-speedy-derive" "0.8.5" 1404568694826= 72) ("rust-cc" "1.0.79" 140456910742560) (=E2=80=A6 Oct 31 16:11:00 my-host script.sh[11211]: ("rust-crossterm" "0.25.0" 140456= 889098016) ("rust-rust-hawktracer" "0.7.0" 140457010188288) ("rust-normpath= " "1.1.1" 140457009715616) ("rust-cast5" "=E2=80=A6 Oct 31 16:11:00 my-host script.sh[11211]: In guix/inferior.scm: Oct 31 16:11:00 my-host script.sh[11211]: 415:9 1 (_ _) Oct 31 16:11:00 my-host script.sh[11211]: In ice-9/boot-9.scm: Oct 31 16:11:00 my-host script.sh[11211]: 1685:16 0 (raise-exception _ #:c= ontinuable? _) Oct 31 16:11:00 my-host script.sh[11211]: ice-9/boot-9.scm:1685:16: In proc= edure raise-exception: Oct 31 16:11:00 my-host script.sh[11211]: Throw to key `match-error' with a= rgs `("match" "no matching pattern" ("emacs-org-re-reveal" 140456890183456)= )'. --8<---------------cut here---------------end--------------->8--- I don=E2=80=99t see how this could possibly happen because the expression t= o be evaluated by the inferior only ever returns a list where each item contains of three elements: name, version, and id. --=20 Ricardo