GNU bug report logs - #65565
[PATCH] gnu: chaiscript: Fix tests.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Sun, 27 Aug 2023 12:31:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: iyzsong <at> envs.net
Subject: bug#65565: closed (Closing)
Date: Thu, 31 Aug 2023 10:07:05 +0000
[Message part 1 (text/plain, inline)]
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 <at> debbugs.gnu.org.

-- 
65565: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65565
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: 65557-done <at> debbugs.gnu.org, 65562-done <at> debbugs.gnu.org,
 65561-done <at> debbugs.gnu.org, 65565-done <at> debbugs.gnu.org,
 65564-done <at> debbugs.gnu.org, 65566-done <at> debbugs.gnu.org,
 65593-done <at> debbugs.gnu.org, 65618-done <at> debbugs.gnu.org,
 65619-done <at> debbugs.gnu.org
Subject: Closing
Date: Thu, 31 Aug 2023 18:06:27 +0800
Pushed now, closing!

[Message part 3 (message/rfc822, inline)]
From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] gnu: chaiscript: Fix tests.
Date: Sun, 27 Aug 2023 20:30:16 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* 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




This bug report was last modified 1 year and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.