guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/17: gnu: freesasa: Fix memerr tests.


From: guix-commits
Subject: 09/17: gnu: freesasa: Fix memerr tests.
Date: Tue, 13 Feb 2024 06:34:50 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit cc772e7f3172a8014e32c7ea3f6626963d4e9e16
Author: David Elsing <david.elsing@posteo.net>
AuthorDate: Sun Jan 28 23:02:01 2024 +0000

    gnu: freesasa: Fix memerr tests.
    
    * gnu/packages/chemistry.scm (freesasa)[arguments]: Add
    "CFLAGS=-fno-builtin-malloc" to #:configure-flags.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/chemistry.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 5e19bdf182..98141737ac 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -708,7 +708,12 @@ It can be used for working with
       #~(list "--enable-check"
               "--enable-parser-generator"
               "CXXFLAGS=-std=c++17"
-              "--enable-doxygen")
+              "--enable-doxygen"
+              ;; Some tests rely on replacing malloc with a wrapper which
+              ;; fails in a controlled way, but this does not work if the call
+              ;; is replaced. This was fixed upstream, remove once there is a
+              ;; new release.
+              "CFLAGS=-fno-builtin-malloc")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-libc++-linking



reply via email to

[Prev in Thread] Current Thread [Next in Thread]