From patchwork Wed Feb 12 15:14:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Danckaert X-Patchwork-Id: 20227 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 06B1427BBE4; Wed, 12 Feb 2020 15:16:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6E229179C9 for ; Wed, 12 Feb 2020 15:16:20 +0000 (GMT) Received: from localhost ([::1]:39280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1tkR-0002ZE-Vo for patchwork@mira.cbaines.net; Wed, 12 Feb 2020 10:16:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53089) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1tkF-0002Rz-Mz for guix-patches@gnu.org; Wed, 12 Feb 2020 10:16:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1tkA-0005uv-Hz for guix-patches@gnu.org; Wed, 12 Feb 2020 10:16:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1tkA-0005uh-Eb for guix-patches@gnu.org; Wed, 12 Feb 2020 10:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1tkA-0002qy-8a for guix-patches@gnu.org; Wed, 12 Feb 2020 10:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39576] qdbm: fix segfault during test Resent-From: Thomas Danckaert Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Feb 2020 15:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39576 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 39576@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158152053210924 (code B ref -1); Wed, 12 Feb 2020 15:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2020 15:15:32 +0000 Received: from localhost ([127.0.0.1]:58940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1tjY-0002q1-J3 for submit@debbugs.gnu.org; Wed, 12 Feb 2020 10:15:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:40986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1tjT-0002pp-21 for submit@debbugs.gnu.org; Wed, 12 Feb 2020 10:15:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52990) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1tjR-0002II-Lu for guix-patches@gnu.org; Wed, 12 Feb 2020 10:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1tjP-0004wL-PW for guix-patches@gnu.org; Wed, 12 Feb 2020 10:15:17 -0500 Received: from s02.spamexperts.axc.nl ([185.182.56.112]:43553) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1tjP-0004s0-Ij for guix-patches@gnu.org; Wed, 12 Feb 2020 10:15:15 -0500 Received: from vserver42.axc.nl ([185.182.56.92]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j1tjG-0005i2-Cw for guix-patches@gnu.org; Wed, 12 Feb 2020 16:15:12 +0100 Received: from mail.axc.nl ([185.182.56.42]) by vserver42.axc.nl with esmtp (Exim 4.92) (envelope-from ) id 1j1tj4-00H6av-G1 for guix-patches@gnu.org; Wed, 12 Feb 2020 16:14:56 +0100 Date: Wed, 12 Feb 2020 16:14:57 +0100 (CET) Message-Id: <20200212.161457.1945473684782544947.post@thomasdanckaert.be> From: Thomas Danckaert X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 PrimaryMX: Accepted email from trusted host. Hint: This skips spam scanning so make sure other host is not vulnerable SPFCheck: Server passes SPF test, -30 Spam score X-Relay-Host: 185.182.56.42 SpamTally: Final spam score: -30 X-AuthUser: X-Originating-IP: 185.182.56.92 X-SpamExperts-Domain: vserver42.axc.nl X-SpamExperts-Username: 185.182.56.92 Authentication-Results: spamexperts.axc.nl; auth=pass smtp.auth=185.182.56.92@vserver42.axc.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.16) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0QHHUXH8HYgJuwhvgiygxCWpSDasLI4SayDByyq9LIhVzl7s0Ne8dPW4 sZba7tKnDETNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDUj/Ish2ZYyAnP2N0jR54blKC ZuDzeM/QymeO8B9NFMkKhrBU7tPX1FpfaBooygHmQVFPFt+4EqMnp4CTDhVg0lKlzDUUdXZXKiJE 9FAeBYpBbCpe79Kozx0nomzoHNuE3M5vj1mDOPKpdpCGjirSghKXEGJ0Tua96W0W3xbHbuytdanO U07Z4oQbhfKrYy0P2DgAp0at4W1lubqSgAR5nDxIPj1UU4msT2Odp9D6f/PptQHeGNL6keepTGFH NE3ltXmdhPE/B5jGda2JMHgPHufVqHPhyuXDEhWz0PpCAjPwX7d6O/wzQZ9FAcmD4tLUboZD5vPF e84pJQGk5dfbFPdfcXgLzsY3kBHC+ZTZl3TVX46X0CZxiSt1URno/ljegXVMCGd+6szRw8j5OyKH xdl0M//wiJX8PiYimcXU8jvVPb6Z51AWQAUvAUQbV3oqEaMjfjmXaBok2IyAEprch60jiD6XqsJZ tjQxlyCdsewkH/T73EIwbqz61Ya9kHJGooMqtbp97p5MJZpmDulIL9xk/10U/RwlMqO+voIv+rF+ 3gq6rqnjE81sIGMVyiBoDLiaYK/TuEpC0HOvwt+Zv0Xw8BMIsfBCWTvqwtHGsGbsxBoFbdIyTZwD 0tTyhMSsklGqkhAj/fzCTTH0vVjxb09fs/4FalF2zt2G9F+Zh5wSIeolLegW9U1ak/nmFF+clxAr SQkVTJP6lUqKhVaGNxeyOrwKKjLu2x+m4eU59fj4+Chth700TXXXG0k7DwF67cTs80/2FnZg/IMs IAdedR70aivL3vK0pyXyba8I0nxuaMYsMSIuo2iM26Zlgq1uCqy3OvQaBMB+1W4nlqpZSKqANVFf gdpF0/8I7m7z0r9c3ZdjNJ3zxjoHiKVWNaGkRzQGWLi35T7+KkoEvLoCMXndwcgUdq9CmjcVQOst ghA= X-Report-Abuse-To: spam@s01.spamexperts.axc.nl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 From bd557d5f63197712bbe5cde8f4a80e152b7ec586 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert 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 ;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke ;;; Copyright © 2017, 2018 Julien Lepiller -;;; Copyright © 2017 Thomas Danckaert +;;; Copyright © 2017, 2020 Thomas Danckaert ;;; Copyright © 2017 Jelle Licht ;;; Copyright © 2017 Adriano Peluso ;;; Copyright © 2017 Arun Isaac @@ -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