From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 5lgaJO2QS2FgdgAAgWs5BA (envelope-from ) for ; Wed, 22 Sep 2021 22:24:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SHgqH+2QS2FRbQAA1q6Kng (envelope-from ) for ; Wed, 22 Sep 2021 20:24:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 41AB414243 for ; Wed, 22 Sep 2021 22:24:13 +0200 (CEST) Received: from localhost ([::1]:32882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mT8mq-00078q-8X for larch@yhetil.org; Wed, 22 Sep 2021 16:24:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT8mi-00076o-PX for guix-patches@gnu.org; Wed, 22 Sep 2021 16:24:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40249) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mT8mi-0002pK-H3 for guix-patches@gnu.org; Wed, 22 Sep 2021 16:24:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mT8mg-0000Ti-9I for guix-patches@gnu.org; Wed, 22 Sep 2021 16:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-* Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Sep 2021 20:24: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?= Cc: 50476@debbugs.gnu.org Received: via spool by 50476-submit@debbugs.gnu.org id=B50476.16323422141799 (code B ref 50476); Wed, 22 Sep 2021 20:24:02 +0000 Received: (at 50476) by debbugs.gnu.org; 22 Sep 2021 20:23:34 +0000 Received: from localhost ([127.0.0.1]:51795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT8mE-0000Sw-MB for submit@debbugs.gnu.org; Wed, 22 Sep 2021 16:23:34 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT8mA-0000Si-2u for 50476@debbugs.gnu.org; Wed, 22 Sep 2021 16:23:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=QoXrSnDHLKUlg8KIWyif5mN3SIZHeT3/Z6NOqRULrzM=; b=c3Re1NLdjRDym6GydeCLu45ZvA vVXa7UirU3x7hBPMWc6SvSsXQ00LBo9UQP70cjRmUMCoeKA5uAKhV3G41u4zmdUuD8yrYgF03m5+P WxCGED8kCsqkBLLprR/1wPb/DD/FVnc2ndWjIj29/df2MIEmOvX0DWwlJPB0VJqoxitOnU8gkkKWc csrcFKt7hBS0wk99I6zlDp/TpOFhmLSiFhVdkKLIEG6Bu+R+9m1gAV7E8GLLFwpYqjpCA6DSJjwrv TdlDlC1fXSc9a29Sq/t7fypLn9XMngDJa+A4/LdSgJl86Zr3fsXu5JCfQ/LGGWDoFDLm0pefccuMz GB6r8IYw==; Received: from [192.168.2.1] (port=48064 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mT8m7-000EdZ-12; Thu, 23 Sep 2021 01:53:27 +0530 From: Arun Isaac In-Reply-To: <87ilyuks2s.fsf_-_@gnu.org> References: <20210908145413.4652-1-arunisaac@systemreboot.net> <20210908145413.4652-3-arunisaac@systemreboot.net> <87ilyuks2s.fsf_-_@gnu.org> Date: Thu, 23 Sep 2021 01:53:11 +0530 Message-ID: <87r1dgjr68.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632342253; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=QoXrSnDHLKUlg8KIWyif5mN3SIZHeT3/Z6NOqRULrzM=; b=f2IGVE+vgWeLwTvj9eE4UXmETX7WvFUmhZEbLVT6Jue5EaSxi8sbrfBIUrcP/S7pTrgmQN MnarLewjLrE5cuGLgVWak6iFMNoMT4GfZ61yWX69w/BFKFwxFfvhkX6F7YwGx3eP4B5v8H 0alyuSsD0RpB/7QbNqTzpyWnYUu8hgYxRXU0Uva/D9YkMghQ1QK5Bn7vVY8UcquIXWwiHs 4250oJeDxuWDd9pP08h7X54HATWj0suKhDgmNqfpi2yWboz6rZjhNjF8o9jUwscrv3G5Gi KU5VRSgJmwgrfoauif8JoADsQcfozr1gkaSAfAngG5NpAcg/++uloxSkPjV39A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632342253; a=rsa-sha256; cv=none; b=PGnK4Hr8UT4QpQIFK0IrM0lRegAh9g7ZN55FA8dMh7uBHopStrjAag8O2zxvatvv/Uc49S 4GBDLSkeiZquocY1Mm2zuyTaoKlRpAvRcZMZZjH6ub/DRxpow7DE3f+tDJeJQyQ6X3jTQ2 hWWTAAP8Zx+9z5Xz8nV8rW6N5L5wBxwwjd/7aJ9N4FpSiYUB8+/ZTEsn+8qGMJ50GRzhjp K0dUGTriBZKfwyJdNjB5dZSm6JL7KsDQV+NrEgVOqfMeDwyVueu0SUSM9hO2lz56VKa8SI QRgx4wtbuufD5Vvzn4b+jBYx6gsG2HfYUk9cu9oYFeuHK/sw6HykHf2ZRuPpLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=c3Re1NLd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=c3Re1NLd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 41AB414243 X-Spam-Score: -3.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZjdaSF4RsRjy --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, >> + (native-search-paths >> + (list (search-path-specification >> + (variable "LD_LIBRARY_PATH") >> + (files '("lib"))))))) > > I think we should not add LD_LIBRARY_PATH as a search path spec as it > can have undesirable side effects; it=E2=80=99s just too broad and risky. This makes sense. > The difficulty here is that we want guile-dbi to be able to find its > guile-dbd-* plugins, right? The previous method, which was to set the > RUNPATH of guile-dbi pointing to guile-dbd-*, sounds preferable to me: > it=E2=80=99s localized and does the job. > > The downside of the RUNPATH method is that these are no longer really > =E2=80=9Cplugins=E2=80=9D: you end up pulling them whether or not you use= them. Perhaps > you were concerned about the closure size? Yes, I was concerned about the closure size, but not merely about the closure size in MB, but also the closure size in number of packages. It does look a bit awkward when we're pulling in dependencies that are not really required. > If that really is a concern, I=E2=80=99d recommend taking a different app= roach, > such as using/defining a dedicated search path variable. That sounds good. How about I create a GUILE_DBD_LD_LIBRARY_PATH environment variable? Regards, Arun --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmFLkK8bHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuzamEIALFToTUmAND+fgWde1Y9 6zaXyTzgqAOWMWYTThcJzrYbhSeVuxQZs/HR7yZPuIc7eqnq4g4Mt8wE/boTcOHE yD5zGskt+QqZ5vvzSm0k14kYAaroLzlUFrAzs3bv//hGI/PMnNgf/eK4MEM7mUkV BVC9ko5tIyzTccxp8TeUxYNZgAzT/0Gu6SsKR1ofNxkt5Evtl1yfSqBx1Mxd2Dcq vqYiuafWMOPoCFJM6qu1yfcDgPHvuPw5lr6bIxpDW6UHPl0rRTfdUpwd7EN9chGU NmsMtmG0nc88VimqKRqZYm5pFe8kiT+S1QU4CZGzd6s9tErbUa5zjaX9gwiZOQFJ QcE= =bcAe -----END PGP SIGNATURE----- --=-=-=--