From patchwork Sat Jul 16 18:24:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 40697 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 75AD427BBEA; Sat, 16 Jul 2022 19:33:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F390F27BBE9 for ; Sat, 16 Jul 2022 19:33:51 +0100 (BST) Received: from localhost ([::1]:36228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCmbv-0000st-5T for patchwork@mira.cbaines.net; Sat, 16 Jul 2022 14:33:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCmTS-000643-4K for guix-patches@gnu.org; Sat, 16 Jul 2022 14:25:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCmTR-0002WA-It for guix-patches@gnu.org; Sat, 16 Jul 2022 14:25:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCmTR-00037E-F6 for guix-patches@gnu.org; Sat, 16 Jul 2022 14:25:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56604] [PATCH 8/8] gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT).This patch updates clojure-instaparse to 1.4.12. Due to the following AOT Resent-From: r0man Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Jul 2022 18:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56604 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56604@debbugs.gnu.org Received: via spool by 56604-submit@debbugs.gnu.org id=B56604.165799587811889 (code B ref 56604); Sat, 16 Jul 2022 18:25:05 +0000 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:38 +0000 Received: from localhost ([127.0.0.1]:46052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmT0-00035h-Di for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:38 -0400 Received: from mail-ej1-f41.google.com ([209.85.218.41]:33759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSy-000358-En for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:36 -0400 Received: by mail-ej1-f41.google.com with SMTP id va17so14387670ejb.0 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=3hFnGxWYqr2RBUW7jS6AycNcYoogTfoEuwR+Kp1KQrc=; b=kW8m8UT0tos9UY0T1MRf11cZlD8MP5iiwOPnVhR/46RfK19NHtQoCY6jrTHxV14jyt DvwMuYSYtt4+hQejEHrNC7z+lSkIwaHwMwKtEYqg7FPeijUY+eTZj/9tFaHafmtNHOH7 Ew3JUAHwSGneVnewBy2e8vsDTyOwZojsBPDWK01ullcm+GdsZGY7cT93HCJfti3mzw0x hv8cDXgSXM0jzNXV6nRtGCxDg2TurYUxrGQ3a2i10QoFAsk+XYX1u6F/p1VAXC6qEnpM I6ScPB+luUuvKfmkk4nPJIMrWMSQEfZuIkdUCjeG7ctTFsHSUiLxZfkpj/IRhnEXGpUP Wkyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=3hFnGxWYqr2RBUW7jS6AycNcYoogTfoEuwR+Kp1KQrc=; b=6R2kuYJbb3YKFrhpXR0jHcVS6yC+fD4H0VbZDf9zq7f9cwr16hUNq8kL3bm/puTVov ylTdNiB1v0i4eovRIgj6EecrElGm+GliowqOJp1Be7PY2ksRB1AJuihydwJhoXv9suJj I998fE/8C+dZFWVoGFcGmujt8CegLrXVkuxOv5nvW1NHkCT7RhqqotyNLxjF6WAKJ5RP saQmK4tOCWPK4Xt/rW9Nqq/6TjxTXgxd4JSFTLi3Khkl0oZTsrqOfGMQMU+d7Rud1841 dc3yojctS1lCGYQWaawxj61Pnnqux1vCmFl+7+tHleMBd//GFZ0RNvaOQ92P77HjXywc UmxA== X-Gm-Message-State: AJIora/cf5jVzmeWT4EElcW4fiUKQN6kuykE/nthxcUNc6xQcM9Eixa3 c8vkBt2o/4Z1ATIqdlHGQExEjflB0/ai3VLM X-Google-Smtp-Source: AGRyM1ucK/96VoB8Dtm4YyLJKKrkxANsWw/b3Zu4zzw5jYJ6lRay7BBKqWrkyos2u1XozphzeJY4zw== X-Received: by 2002:a17:907:2856:b0:72b:54bd:40eb with SMTP id el22-20020a170907285600b0072b54bd40ebmr18735327ejc.542.1657995870694; Sat, 16 Jul 2022 11:24:30 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id wj18-20020a170907051200b0072af92fa086sm3449634ejb.32.2022.07.16.11.24.29 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:30 -0700 (PDT) From: r0man In-Reply-To: References: Message-Id: <887daad8a00bf32f20feaa23847ee0c081c2d679.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:29 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 16 Jul 2022 14:32:24 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This patch updates clojure-instaparse to 1.4.12. Due to the following AOT related error I disabled AOT compilation for this package. ``` starting phase `build' Execution error (IllegalArgumentException) at instaparse.auto-flatten-seq/fn$G (auto_flatten_seq.cljc:7). No implementation of method: :conj-flat of protocol: #'instaparse.auto-flatten-seq/ConjFlat found for class: instaparse.auto_flatten_seq.AutoFlattenSeq ``` This seems to be a known issue with AOT compilation. The issue has been discussed [1] and seems to be still an open issue. [1] https://github.com/Engelberg/instaparse/issues/85 --- gnu/packages/clojure.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 0c2bc1f1be..5332dd499a 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -410,8 +410,7 @@ (define-public clojure-data-xml (license license:epl1.0))) (define-public clojure-instaparse - (let ((commit "dcfffad5b065e750f0f5835f017cdd8188b8ca2e") - (version "1.4.9")) ; upstream forget to tag this release + (let ((version "1.4.12")) (package (name "clojure-instaparse") (version version) @@ -419,14 +418,27 @@ (define-public clojure-instaparse (method git-fetch) (uri (git-reference (url "https://github.com/Engelberg/instaparse") - (commit commit))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "002mrgin4z3dqy88r1lak7smd0m7x8d22vmliw0m6w6mh5pa17lk")))) (build-system clojure-build-system) (arguments - '(#:doc-dirs '("docs/"))) + '(;; Disabled AOT, because of failing test: No implementation of + ;; method: :conj-flat of protocol: + ;; #'instaparse.auto-flatten-seq/ConjFlat found for class: + ;; instaparse.auto_flatten_seq.AutoFlattenSeq + #:aot-exclude '(#:all) + #:doc-dirs '("docs/") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-import + (lambda _ + (substitute* + "test/instaparse/defparser_test.cljc" + (("AssertionError") + "Exception"))))))) (synopsis "No grammar left behind") (description "Instaparse aims to be the simplest way to build parsers in Clojure.