From unknown Sat Jun 21 05:17:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#65565] [PATCH] gnu: chaiscript: Fix tests. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Aug 2023 12:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65565@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169313942717603 (code B ref -1); Sun, 27 Aug 2023 12:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Aug 2023 12:30:27 +0000 Received: from localhost ([127.0.0.1]:44344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaEuQ-0004Zr-HP for submit@debbugs.gnu.org; Sun, 27 Aug 2023 08:30:26 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaEuL-0004ZQ-Vf for submit@debbugs.gnu.org; Sun, 27 Aug 2023 08:30:25 -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 1qaEu8-000638-17 for guix-patches@gnu.org; Sun, 27 Aug 2023 08:30:08 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaEu4-0006hS-Bb for guix-patches@gnu.org; Sun, 27 Aug 2023 08:30:07 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 5207E38A0136; Sun, 27 Aug 2023 12:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693139402; bh=4A6M9YdL+lcq6ArkjKm/c2onsj21EnTEUShz90tPjXY=; h=From:To:Cc:Subject:Date:From; b=DujezM1jllNgkIZ7qmHWTyAWm6/DvEPSt8+qAAXqoX8Hp+ryFJol8PUPQ8orK3EWU agnqrPdkCyEKmA4NYsIMfVMBpzUou3lBoiKtGIMCZ8+1hGRV5/HOeKkwVx3qGcK5bQ il87/JTeCs7ZpF5u5UN7Y0yP0RYRlDafaqAJNDhBcqZNsZ3EtjIW+uf3aZTD0A6hqy Q3qRBK34r2gir5U3/iq0FTxVjKtGY/E6I2MQvMn5tIcYQJnv3RT1bcW8wvdl+ZRYtT RFgDO4XC6bIxXoyb+629Lley52TX4ZLwh5uZa/SvPQigF5tk1FLiQIbXcQLhEK1zmm 6giWtzlZERdfL+G2SB0Hjg+/D+9aJbU64Lc++efDc65ZeaqmR+419rccU4YPx9EazI NVgPhWvVfpwp+KocuuFE94JgXuCXybX7tSX5XYHAB6X9WZSj1b7iz1zZa50y3PijlN Rhy+vUgPDOH4+PesU0Nqz0mP4fxLmg7VRZejPVUdKz4rOUpPmt8/WhESdZxFgFQEmP pP67zTnwyI09uFmazllx8RewVp8hn0eW+fncs+PVAfgVUmByrveIuA34+EhavZI2e7 zvvV/m01C7RqPYBg3leFEEiGFA4xPZf/0k3AJ7wCyFEHtdK2dL71Q/JB7dahuU1EUa TIgHo6XHx6p/DjTfvWuiSImM= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JkPa5m7ekUKW; Sun, 27 Aug 2023 12:29:58 +0000 (UTC) Received: from localhost (unknown [36.170.44.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 27 Aug 2023 12:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 38704a98; Sun, 27 Aug 2023 12:30:18 +0000 (UTC) From: iyzsong@envs.net Date: Sun, 27 Aug 2023 20:30:16 +0800 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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.1 (/) From: 宋文武 * gnu/packages/cpp.scm (chaiscript)[arguments]: Add fix-tests phase. --- gnu/packages/cpp.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 3b949198c7..4681963794 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -511,6 +511,15 @@ (define-public chaiscript (sha256 (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c")))) (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + ;; Its bundled catch2 fails to build with glibc-2.35. + (copy-file #$(file-append catch2 "/include/catch2/catch.hpp") + "unittests/catch.hpp")))))) (home-page "https://chaiscript.com/") (synopsis "Embedded scripting language designed for C++") (description base-commit: 8b4a248fc4765212a4103c4520ae1f901937df41 -- 2.41.0 From unknown Sat Jun 21 05:17:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#65565] [PATCH] gnu: chaiscript: Fix tests. References: In-Reply-To: Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Aug 2023 15:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: iyzsong@envs.net Cc: 65565@debbugs.gnu.org Received: via spool by 65565-submit@debbugs.gnu.org id=B65565.169314896723060 (code B ref 65565); Sun, 27 Aug 2023 15:10:01 +0000 Received: (at 65565) by debbugs.gnu.org; 27 Aug 2023 15:09:27 +0000 Received: from localhost ([127.0.0.1]:45966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaHOJ-0005zs-4u for submit@debbugs.gnu.org; Sun, 27 Aug 2023 11:09:27 -0400 Received: from layka.disroot.org ([178.21.23.139]:50578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaHOF-0005zi-Rr for 65565@debbugs.gnu.org; Sun, 27 Aug 2023 11:09:25 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 218D740D39; Sun, 27 Aug 2023 17:09:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ygTN6outmixU; Sun, 27 Aug 2023 17:09:15 +0200 (CEST) Message-ID: <5f570fe8-b63c-2792-a2a1-3155f4c0b3b2@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1693148955; bh=QZKp+x6z+6OR27+VqpMAyWL86ro1Dh6/CJ8zrZEdW14=; h=Date:To:Cc:From:Subject; b=dIAXLxDAgr/eAn+UxODUSd1JQQily2JWuGddGgla2mfNKLHU1yyO930GiJGQ9zBwE iy0FJt/rEEET9W88O1bYCaZZDfke+pyGO3P5ErJ2ITEhIKAe2D+nnmpG6X558pnjcI lWShnGDDVAW1b+/akFuoYV4xSI5QwvExFSRQwPTH9uUpzJVYPrCKZD4eb/aNDvw78J qWQg1hPoRlmZi75fQId5oqfSpy46+O1vUegFL432hVW5mNvTi4qsH8AJfdHHUA/nmf ojU3nrpxLkcxpJ4hYh38rsQFEHlt56E2z1aTev2SfGbm9BdSfjxf48raeYefEDh+2s wOKhMgms4lfvA== Date: Sun, 27 Aug 2023 23:09:08 +0800 MIME-Version: 1.0 Content-Language: en-US From: Adam Faiz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.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: -1.0 (-) > + (arguments > + (list > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'fix-tests > + (lambda _ > + ;; Its bundled catch2 fails to build with glibc-2.35. > + (copy-file #$(file-append catch2 "/include/catch2/catch.hpp") > + "unittests/catch.hpp"))))) Bundling a newer catch2 is not the solution, it's better to delete the bundled header so that it uses the catch2 provided in its inputs. From unknown Sat Jun 21 05:17:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#65565] [PATCH v2] gnu: chaiscript: Fix tests. References: In-Reply-To: Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Aug 2023 10:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65565@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 65565-submit@debbugs.gnu.org id=B65565.16933056171142 (code B ref 65565); Tue, 29 Aug 2023 10:41:02 +0000 Received: (at 65565) by debbugs.gnu.org; 29 Aug 2023 10:40:17 +0000 Received: from localhost ([127.0.0.1]:49610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaw8v-0000IL-Aa for submit@debbugs.gnu.org; Tue, 29 Aug 2023 06:40:17 -0400 Received: from mail.envs.net ([5.199.136.28]:48136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaw8t-0000IA-HF for 65565@debbugs.gnu.org; Tue, 29 Aug 2023 06:40:16 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 601E138A013B; Tue, 29 Aug 2023 10:40:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693305607; bh=fHbw3r3LnvzBK/w/iKy1P/0Shkl/LwAoIGoRi8YUfws=; h=From:To:Cc:Subject:Date:From; b=cdc6MUmbmoPjas23HS9k3sp6zu0nrryxuUKr4RdRxluR+J4MexQK6v5Dn7zw4Bj4g xVkuHoPqAF3QFDBmnt3lEabCyWN+CV9E4Mona1lc6Lhi3B9bwwDh2TEp94/SCfIVpC puD6RsusMCb4q2XUvt6eVGvKr+J3l3QKNMWN4Xd33MuQz/0M6Ybzz6jNLzMxMUbCRP 8pdlMGhV4+ojs91lpQwXWnP5JYrhUW2ctuiZwrxGci5GR7l2VCvmiB21jWm9uufgtZ aSVvNp1ie6L2ByW9uo8BayntW+C3+oDtRMF+GIpQPfPeFShXPyiCBr0wPNMTIFvnWd Pod/hmJnCycAscB9a1CvnlwOzxfyL3XLm3MooKhXpwK8F1/9EAkQKnyZGBUfl2oPNa vINZqE3vwfcrLOlKAJXpLa68acxNgp9oeNoHRL840XCBSXigdXP1DZfI1Y8CsDXDyn ArG8hFkapPYRU/XAp/f92QU3EoTlH2W/QzQHpVTFIq4rm49Hnr/EF3CA+bBnQ8YJYo ELQugw7e1qD5e4ioI+13cmRlXSy7X83gDCwSUBRvZ8065q+eFTXann6iZDGG+ECQQY sAuWw/ee6TDCL8v04j6e4cS41nQNVz+OOg/L6X4aaCm3a2DVSBTxjrb61NiDi71Tca A0yb7Piwpe2jTk1P2NQGINlk= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id O1-1P8xTN2t4; Tue, 29 Aug 2023 10:40:03 +0000 (UTC) Received: from localhost (unknown [36.170.44.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 29 Aug 2023 10:40:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 5b5b8524; Tue, 29 Aug 2023 10:40:27 +0000 (UTC) From: iyzsong@envs.net Date: Tue, 29 Aug 2023 18:40:24 +0800 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.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: -1.0 (-) From: 宋文武 * gnu/packages/cpp.scm (chaiscript)[source]: Add snippet. [inputs]: Add catch2. --- gnu/packages/cpp.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 3b949198c7..2f8cc2ce25 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -509,8 +509,17 @@ (define-public chaiscript (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c")))) + (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c")) + (modules '((guix build utils))) + ;; It's bundled catch2 fails to build. + (snippet '(begin + (delete-file "unittests/catch.hpp") + (substitute* "unittests/compiled_tests.cpp" + (("catch[.]hpp") "catch2/catch.hpp")) + (substitute* "unittests/type_info_test.cpp" + (("catch[.]hpp") "catch2/catch.hpp")))))) (build-system cmake-build-system) + (inputs (list catch2)) (home-page "https://chaiscript.com/") (synopsis "Embedded scripting language designed for C++") (description base-commit: 715d203b414727be43e405d09e86aa823125a4b3 -- 2.41.0 From unknown Sat Jun 21 05:17:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#65565] [PATCH] gnu: chaiscript: Fix tests. Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Aug 2023 10:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Adam Faiz Cc: 65565@debbugs.gnu.org Received: via spool by 65565-submit@debbugs.gnu.org id=B65565.16933059901810 (code B ref 65565); Tue, 29 Aug 2023 10:47:01 +0000 Received: (at 65565) by debbugs.gnu.org; 29 Aug 2023 10:46:30 +0000 Received: from localhost ([127.0.0.1]:49615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qawEw-0000T8-5Z for submit@debbugs.gnu.org; Tue, 29 Aug 2023 06:46:30 -0400 Received: from mail.envs.net ([5.199.136.28]:37938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qawEu-0000T0-Mf for 65565@debbugs.gnu.org; Tue, 29 Aug 2023 06:46:29 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 159F138A013C; Tue, 29 Aug 2023 10:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693305981; bh=rZmC6iNqY/VHfQEXj69c1Mw2S6pR/tsUz3vmNIF8oXg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=jwRmAT4mrTCsIr6n5jT132vh+Akt83XUqrJhDPq7SjMUdcczOBsOV1JmG9/VyiK6U MWGIwHrauTEiNOHwsAuVCtpQXDxXg8W2g5mPG2NqkBdkxodclFujgHrVP2w/013zb0 9hJBsaCWA56upGgH2I6cGceQR8QgsK2FUVwyz3QB9sLVa0Opnk2o17IZA28SZWmjPv INjPlMKOfxHmMYOmBCmhma9dx7UVgRdwfetQVGIKPHf3qQGTdvqw45PC/ABJgKmteH B4fIQynDMGIFeXb0xyZ3qI3VYqKGOdhgdve6Jo/n4suq/JLMP3UmcBKbC1xrY+NHPc dOJ8FOwu0yq5B26/GSSAe7Xw2mKLw54GyZskQcH1XcmWSEkdrV5lxpVhG0hSNsA4Vg SpRiZAHoEGZWRO6TOr6rPrZ2tFXcNCqSIRX87X932eyfMbA0ynahcCYxL673slrJuW TX+8S9udpPq9naqz1jTy7H7boxrH67uh3Dg7TSK94ctLg9kpYxti0P8ALbLGJcodu5 OIZVEA+nc/w5qKtQMIcQ2aYls5z2MwI0McoR9iA5WIiI3JRYYxZtHrTmB/UszdIh9j SrysmF9x8eI7UmObVjBsYIbUZQim5Nv1B694KxKUJjNsc+Ebadw4rh4y8dXHnEjEPS XSzphygcQKAuPHFyJmc520sE= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 252m9MsL61VF; Tue, 29 Aug 2023 10:46:17 +0000 (UTC) Received: from localhost (unknown [36.170.44.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 29 Aug 2023 10:46:17 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 2d523866; Tue, 29 Aug 2023 10:46:41 +0000 (UTC) From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= References: <5f570fe8-b63c-2792-a2a1-3155f4c0b3b2@disroot.org> Date: Tue, 29 Aug 2023 18:46:41 +0800 In-Reply-To: <5f570fe8-b63c-2792-a2a1-3155f4c0b3b2@disroot.org> (Adam Faiz's message of "Sun, 27 Aug 2023 23:09:08 +0800") Message-ID: <874jkidt2m.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.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: -1.0 (-) Adam Faiz writes: >> + (arguments >> + (list >> + #:phases >> + #~(modify-phases %standard-phases >> + (add-after 'unpack 'fix-tests >> + (lambda _ >> + ;; Its bundled catch2 fails to build with glibc-2.35. >> + (copy-file #$(file-append catch2 "/include/catch2/catch.hpp") >> + "unittests/catch.hpp"))))) > Bundling a newer catch2 is not the solution, it's better to delete the > bundled header so that it uses the catch2 provided in its inputs. Um, this copy-file has the same result, it replace the bundled one with our catch2, anyway I sent a v2 with 'snippet' and 'inputs'. Thanks. From unknown Sat Jun 21 05:17:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: iyzsong@envs.net Subject: bug#65565: closed (Closing) Message-ID: References: <877cpb7cgs.fsf@envs.net> X-Gnu-PR-Message: they-closed 65565 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 65565@debbugs.gnu.org Date: Thu, 31 Aug 2023 10:07:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1693476425-24245-1" This is a multi-part message in MIME format... ------------=_1693476425-24245-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65565: [PATCH] gnu: chaiscript: Fix tests. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65565@debbugs.gnu.org. --=20 65565: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65565 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693476425-24245-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65565-done) by debbugs.gnu.org; 31 Aug 2023 10:06:30 +0000 Received: from localhost ([127.0.0.1]:54915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbeZJ-0006Ge-Qq for submit@debbugs.gnu.org; Thu, 31 Aug 2023 06:06:29 -0400 Received: from mail.envs.net ([5.199.136.28]:34340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbeZE-0006Fd-Qp; Thu, 31 Aug 2023 06:06:27 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id E24F638A0132; Thu, 31 Aug 2023 10:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693476374; bh=bLmJjatwXhKBWvkVkhEd/uidY0+zNuj6QLxZt7gvSwc=; h=From:To:Subject:Date:From; b=iPX+WIbcXDEUm6ID4suRNEaWo7PEPlBpPa+cRHVaFvBUgONmC1LlnbJWMuBvd3u/y gsS5kvI9q713cS3flxhu7VcxdHAvkhXizXWxbLPMLdu9tbWA2HCd14lt0mEFVR+Jn9 QFXPqUjDPsCcIOYxVa3YiSK2iy+Pge/nNvPwdrRrv4mPNRKum0IpXEzUyuw/soUgs/ OPnkpmqrH1r1BNVBMsIxfaHX/5tPnsct6AEH2TdPV5o+0eH03SQwIMiGJNY+bTZxRv I6BM0QXDAEbT/5ks7XsrqPz5Lyhy0mkQQuvgivShJyjcXArTgW8tB3SlxPTvOjkpzI HqI4mhSu+ipJ4DwTzMKUt3N3GStW3AkAkghaOItWR8T+d0MmRn5ETm+iwbDMMN5OWp BgBEwWWAOU18VYoK4YlA6oPk3CX2s/GgGtYMHx/Fn9tITRacz2lJr1Ca7LXd5idaxn KE70cYCIoUXT+o2eloYsV+09B3Nx96B/5Mqfuh6zbrV3HDT5W4F4EYo1BIqWlCfBNa e841Pw3IJlHpHDIo/vNrrGybX6M4nX3QFzud7026jXPo1MgxKn0/Yh2BLh1pj/GEc5 vDpLJuB9mHwy/upTTUkfTqM9EyDZHgHtqMb1QHQAjMXA1q05ZdAxE4Nu4GH7g3kgVz RYL0rUCWiXqL9mXZeIt00kJY= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m3lQs5J1H_qu; Thu, 31 Aug 2023 10:06:02 +0000 (UTC) Received: from localhost (unknown [36.170.58.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Thu, 31 Aug 2023 10:06:01 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b4329c83; Thu, 31 Aug 2023 10:06:27 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: 65557-done@debbugs.gnu.org, 65562-done@debbugs.gnu.org, 65561-done@debbugs.gnu.org, 65565-done@debbugs.gnu.org, 65564-done@debbugs.gnu.org, 65566-done@debbugs.gnu.org, 65593-done@debbugs.gnu.org, 65618-done@debbugs.gnu.org, 65619-done@debbugs.gnu.org Subject: Closing Date: Thu, 31 Aug 2023 18:06:27 +0800 Message-ID: <877cpb7cgs.fsf@envs.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed now, closing! Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.5 SUSPICIOUS_RECIPS Similar addresses in recipient list -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: 65565-done 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: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed now, closing! Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.5 SUSPICIOUS_RECIPS Similar addresses in recipient list -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Pushed now, closing! ------------=_1693476425-24245-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Aug 2023 12:30:27 +0000 Received: from localhost ([127.0.0.1]:44344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaEuQ-0004Zr-HP for submit@debbugs.gnu.org; Sun, 27 Aug 2023 08:30:26 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaEuL-0004ZQ-Vf for submit@debbugs.gnu.org; Sun, 27 Aug 2023 08:30:25 -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 1qaEu8-000638-17 for guix-patches@gnu.org; Sun, 27 Aug 2023 08:30:08 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaEu4-0006hS-Bb for guix-patches@gnu.org; Sun, 27 Aug 2023 08:30:07 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 5207E38A0136; Sun, 27 Aug 2023 12:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693139402; bh=4A6M9YdL+lcq6ArkjKm/c2onsj21EnTEUShz90tPjXY=; h=From:To:Cc:Subject:Date:From; b=DujezM1jllNgkIZ7qmHWTyAWm6/DvEPSt8+qAAXqoX8Hp+ryFJol8PUPQ8orK3EWU agnqrPdkCyEKmA4NYsIMfVMBpzUou3lBoiKtGIMCZ8+1hGRV5/HOeKkwVx3qGcK5bQ il87/JTeCs7ZpF5u5UN7Y0yP0RYRlDafaqAJNDhBcqZNsZ3EtjIW+uf3aZTD0A6hqy Q3qRBK34r2gir5U3/iq0FTxVjKtGY/E6I2MQvMn5tIcYQJnv3RT1bcW8wvdl+ZRYtT RFgDO4XC6bIxXoyb+629Lley52TX4ZLwh5uZa/SvPQigF5tk1FLiQIbXcQLhEK1zmm 6giWtzlZERdfL+G2SB0Hjg+/D+9aJbU64Lc++efDc65ZeaqmR+419rccU4YPx9EazI NVgPhWvVfpwp+KocuuFE94JgXuCXybX7tSX5XYHAB6X9WZSj1b7iz1zZa50y3PijlN Rhy+vUgPDOH4+PesU0Nqz0mP4fxLmg7VRZejPVUdKz4rOUpPmt8/WhESdZxFgFQEmP pP67zTnwyI09uFmazllx8RewVp8hn0eW+fncs+PVAfgVUmByrveIuA34+EhavZI2e7 zvvV/m01C7RqPYBg3leFEEiGFA4xPZf/0k3AJ7wCyFEHtdK2dL71Q/JB7dahuU1EUa TIgHo6XHx6p/DjTfvWuiSImM= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JkPa5m7ekUKW; Sun, 27 Aug 2023 12:29:58 +0000 (UTC) Received: from localhost (unknown [36.170.44.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 27 Aug 2023 12:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 38704a98; Sun, 27 Aug 2023 12:30:18 +0000 (UTC) From: iyzsong@envs.net To: guix-patches@gnu.org Subject: [PATCH] gnu: chaiscript: Fix tests. Date: Sun, 27 Aug 2023 20:30:16 +0800 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 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.1 (/) From: 宋文武 * gnu/packages/cpp.scm (chaiscript)[arguments]: Add fix-tests phase. --- gnu/packages/cpp.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 3b949198c7..4681963794 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -511,6 +511,15 @@ (define-public chaiscript (sha256 (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c")))) (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + ;; Its bundled catch2 fails to build with glibc-2.35. + (copy-file #$(file-append catch2 "/include/catch2/catch.hpp") + "unittests/catch.hpp")))))) (home-page "https://chaiscript.com/") (synopsis "Embedded scripting language designed for C++") (description base-commit: 8b4a248fc4765212a4103c4520ae1f901937df41 -- 2.41.0 ------------=_1693476425-24245-1--