Subject: bug#68615: closed (Re: [PATCH] gnu: immer: Update to 0.8.1.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 28 Jan 2024 17:24:02 +0000

Your bug report

#68615: [PATCH] gnu: immer: Update to 0.8.1.

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 [email-masked].

-- 
68615: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68615
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: immer: Update to 0.8.1.
From: Liliana Marie Prikler <[email-masked]>
To: [email-masked]
Date: Sun, 28 Jan 2024 18:23:11 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Am Samstag, dem 20.01.2024 um 18:44 +0100 schrieb Liliana Marie
Prikler:
> * gnu/packages/cpp.scm (immer): Update to 0.8.1.
> [source]: Drop modules and snippet.
> [arguments]: Add #:configure-flags to disable -Werror.
> ---
Pushed

Subject: [PATCH] gnu: immer: Update to 0.8.1.
From: Liliana Marie Prikler <[email-masked]>
To: [email-masked]
Date: Sat, 20 Jan 2024 18:44:13 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/cpp.scm (immer): Update to 0.8.1.
[source]: Drop modules and snippet.
[arguments]: Add #:configure-flags to disable -Werror.
---
 gnu/packages/cpp.scm | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f65506dcec..b72915fa3d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1628,7 +1628,7 @@ (define-public libexpected
 (define-public immer
   (package
    (name "immer")
-   (version "0.8.0")
+   (version "0.8.1")
    (source (origin
             (method git-fetch)
             (uri (git-reference
@@ -1636,19 +1636,12 @@ (define-public immer
                   (commit (string-append "v" version))))
             (file-name (git-file-name name version))
             (sha256
-             (base32 "11km3l5h3rgsbj8yfyzk3fnx9na55l6zs2sxpx922yvlvs2blh27"))
-            (modules '((guix build utils)))
-            (snippet #~(begin
-                         (delete-file "tools/include/doctest.h")
-                         (delete-file "tools/include/catch.hpp")
-                         (substitute* (find-files "test" "\\.[cih]pp")
-                           (("<catch.hpp>") "<catch2/catch.hpp>")
-                           (("<doctest.h>") "<doctest/doctest.h>"))
-                         (substitute* (find-files "test/oss-fuzz" "\\.cpp")
-                           ;; someone used the wrong header :)
-                           (("<fmt/printf.h>") "<fmt/ostream.h>"))))))
+             (base32 "03qkr42h0g6rivj3kq207gzgnv7hq88y69q16l2vg1lbvjcgca2g"))))
    (build-system cmake-build-system)
-   (arguments (list #:test-target "check"))
+   (arguments (list #:test-target "check"
+                    ;; -Werror appears to report false positives.
+                    ;; See <https://github.com/arximboldi/immer/issues/223>.
+                    #:configure-flags #~(list "-DDISABLE_WERROR=ON")))
    (inputs (list boost libgc c-rrb))
    (native-inputs (list catch2 doctest fmt pkg-config))
    (home-page "https://sinusoid.es/immer")

base-commit: 0eadd486484fcf9a234758842f74ba28361640db
-- 
2.41.0