From patchwork Thu Sep 30 16:52:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 350 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 4276427BBE5; Thu, 30 Sep 2021 21:04:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, 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 ESMTPS id D694627BBE3 for ; Thu, 30 Sep 2021 21:04:32 +0100 (BST) Received: from localhost ([::1]:36742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW2IB-0005GX-RX for patchwork@mira.cbaines.net; Thu, 30 Sep 2021 16:04:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVzIs-0005g6-MN for guix-patches@gnu.org; Thu, 30 Sep 2021 12:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVzIs-0003HR-DM for guix-patches@gnu.org; Thu, 30 Sep 2021 12:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVzIs-0008DL-4F for guix-patches@gnu.org; Thu, 30 Sep 2021 12:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50476] [PATCH v2 00/10] Update guile-dbi and guile-dbd-* Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Sep 2021 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= , Arun Isaac Cc: 50476@debbugs.gnu.org Received: via spool by 50476-submit@debbugs.gnu.org id=B50476.163302076631494 (code B ref 50476); Thu, 30 Sep 2021 16:53:02 +0000 Received: (at 50476) by debbugs.gnu.org; 30 Sep 2021 16:52:46 +0000 Received: from localhost ([127.0.0.1]:53823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVzIc-0008Bs-1D for submit@debbugs.gnu.org; Thu, 30 Sep 2021 12:52:46 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVzIY-0008BS-6g for 50476@debbugs.gnu.org; Thu, 30 Sep 2021 12:52:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=30JISxWMP0Nh7xt87O9B5mNujTmrbxFuGmV1f8ciI8w=; b=ZTSrVh9L21csyG6ciI68Khjr63 0CcQv/uIwOEQR8u6ok7SmNJpEqGoXeBQIbD0hmA60G4BIS9pq1WZH2qF0hT0oM47uQ2Fhr95XmxxK +qI7x7m68rKXCAmvsUMBWTA0qrlyyFQ7ZdFskgAdXbRiRFd7+6GGJWsRxHr0aAhvE9uLSskYsTI9i IBw8GbhaNSvTf57AwmVFCNNcPsRSm1NQ45C/gD53ZlIFobq7iP9dMPCLuVkmczhuI4qDHLA/8KBjS V4gOsf4bMG50sKhd9c90mXEYvA23BU/IUhDkJTrO7/0o7BwfLu475LK4bi/WrVHKk7/d3J/Xi8bK7 vOm8NAUA==; Received: from [192.168.2.1] (port=15514 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mVzIU-000mG6-S7; Thu, 30 Sep 2021 22:22:38 +0530 From: Arun Isaac Date: Thu, 30 Sep 2021 22:22:25 +0530 Message-Id: <20210930165235.13180-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <87wnn2j9fs.fsf@gnu.org> References: <87wnn2j9fs.fsf@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 30 Sep 2021 16:04:16 -0400 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 Ludo, The fix was surprisingly simple. It turns out that guile-dbi already supports a GUILE_DBD_PATH environment variable. See line 312 of guile-dbi/src/guile-dbi.c. So, I just had to fix patch 03/10 to set GUILE_DBD_PATH in the native-search-paths of the guile-dbi package. Otherwise, this patchset is the same. Regards, Arun Arun Isaac (10): gnu: guile-dbi: Update upstream source. gnu: guile-dbi: Remove hard-coded guile effective version. gnu: guile-dbi: Search for dbd libraries using native-search-paths. gnu: guile-dbi: Do not return #t from custom phases. gnu: guile-dbi: Update to 2.1.8. gnu: guile-dbd-sqlite3: Inherit from guile-dbi. gnu: guile-dbd-postgresql: Inherit from guile-dbi. gnu: guile-dbi-bootstrap: Remove package. gnu: Add guile-dbd-mysql. gnu: guile-dbd-sqlite3: Use normal variable instead of @ reference. gnu/packages/guile-xyz.scm | 209 +++++++++++++++++++------------------ 1 file changed, 109 insertions(+), 100 deletions(-)