GNU bug report logs -
#39576
qdbm: fix segfault during test
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Guix,
at some point, the package qdbm started running into a segfault
during the test suite. This small patch fixes that.
If it's ok, I can push the commit myself (I believe I still have
commit rights), but since I haven't contributed in 2 years, I wanted
to check if the patch meets all the requirements...
best,
Thomas
[0001-gnu-qdbm-Fix-segfault-during-tests.patch (text/x-patch, inline)]
From bd557d5f63197712bbe5cde8f4a80e152b7ec586 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert <at> gmail.com>
Date: Wed, 12 Feb 2020 15:31:49 +0100
Subject: [PATCH] gnu: qdbm: Fix segfault during tests.
gnu/packages/databses.scm (qdbm): Add "CFLAGS=-fPIC" to make-flags.
---
gnu/packages/databases.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 587d993918..1cec7743b2 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2016 Danny Milosavljevic <dannym+a <at> scratchpost.org>
;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2017, 2018 Julien Lepiller <julien <at> lepiller.eu>
-;;; Copyright © 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
+;;; Copyright © 2017, 2020 Thomas Danckaert <post <at> thomasdanckaert.be>
;;; Copyright © 2017 Jelle Licht <jlicht <at> fsfe.org>
;;; Copyright © 2017 Adriano Peluso <catonano <at> gmail.com>
;;; Copyright © 2017 Arun Isaac <arunisaac <at> systemreboot.net>
@@ -1060,9 +1060,10 @@ Most public APIs are compatible with @command{mysqlclient} and MySQLdb.")
"0gmpvhn02pkq280ffmn4da1g4mdr1xxz7l80b7y4n7km1mrzwrml"))))
(build-system gnu-build-system)
(arguments
- `( #:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out")
- "/lib"))))
+ `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib"))
+ #:make-flags '("CFLAGS=-fPIC")))
(home-page "http://fallabs.com/qdbm")
(synopsis "Key-value database")
(description "QDBM is a library of routines for managing a
--
2.25.0
This bug report was last modified 5 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.