GNU bug report logs - #64559
[PATCH] gnu: freesasa: Fix memerr tests.

Previous Next

Package: guix-patches;

Reported by: David Elsing <david.elsing <at> posteo.net>

Date: Mon, 10 Jul 2023 18:07:01 UTC

Severity: normal

Tags: patch

Done: David Elsing <david.elsing <at> posteo.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: David Elsing <david.elsing <at> posteo.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64559: closed ([PATCH] gnu: freesasa: Fix memerr tests.)
Date: Wed, 14 Feb 2024 19:21:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 14 Feb 2024 19:20:19 +0000
with message-id <86a5o2n98s.fsf <at> posteo.net>
and subject line Re: [bug#64559] [PATCH] gnu: freesasa: Fix memerr tests.
has caused the debbugs.gnu.org bug report #64559,
regarding [PATCH] gnu: freesasa: Fix memerr tests.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64559: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64559
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Elsing <david.elsing <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: David Elsing <david.elsing <at> posteo.net>
Subject: [PATCH] gnu: freesasa: Fix memerr tests.
Date: Mon, 10 Jul 2023 18:06:11 +0000
* gnu/packages/chemistry.scm (freesasa)[arguments]: Add
"CFLAGS=-fno-builtin-malloc" to #:configure-flags.
---
 gnu/packages/chemistry.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index cddccf8aea..431b845989 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -703,7 +703,11 @@ (define-public freesasa
       #~(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.
+              "CFLAGS=-fno-builtin-malloc")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-libc++-linking
-- 
2.40.1



[Message part 3 (message/rfc822, inline)]
From: David Elsing <david.elsing <at> posteo.net>
To: 64559 <at> debbugs.gnu.org
Cc: Bruno Victal <mirai <at> makinata.eu>, 64559-done <at> debbugs.gnu.org
Subject: Re: [bug#64559] [PATCH] gnu: freesasa: Fix memerr tests.
Date: Wed, 14 Feb 2024 19:20:19 +0000
David Elsing <david.elsing <at> posteo.net> writes:

> that's true, I just filed an issue: https://github.com/mittinatten/freesasa/issues/94.

I included this patch in another patch series for rdkit, which was now
applied in commit cc772e7f3172a8014e32c7ea3f6626963d4e9e16. The issue
was also fixed upstream.


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

Previous Next


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