[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*
From: |
Ludovic Courtès |
Subject: |
[bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-* |
Date: |
Tue, 21 Sep 2021 14:53:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello!
Arun Isaac <arunisaac@systemreboot.net> skribis:
> * gnu/packages/guile-xyz.scm (guile-dbi)[arguments]: Do not set LDFLAGS and
> RPATH in #:make-flags.
> [inputs]: Remove guile-dbd-sqlite3 and guile-dbd-postgresql.
> [native-search-paths]: Add LD_LIBRARY_PATH.
[...]
> + (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’s just too broad and risky.
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’s localized and does the job.
The downside of the RUNPATH method is that these are no longer really
“plugins”: you end up pulling them whether or not you use them. Perhaps
you were concerned about the closure size?
If that really is a concern, I’d recommend taking a different approach,
such as using/defining a dedicated search path variable.
WDYT?
Thanks,
Ludo’.
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 01/10] gnu: guile-dbi: Update upstream source., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 05/10] gnu: guile-dbi: Update to 2.1.8., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 06/10] gnu: guile-dbd-sqlite3: Inherit from guile-dbi., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 10/10] gnu: guile-dbd-sqlite3: Use normal variable instead of @ reference., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 03/10] gnu: guile-dbi: Search for dbd libraries using native-search-paths., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*,
Ludovic Courtès <=
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Arun Isaac, 2021/09/22
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Ludovic Courtès, 2021/09/27
- [bug#50476] [PATCH v2 09/10] gnu: Add guile-dbd-mysql., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 01/10] gnu: guile-dbi: Update upstream source., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 02/10] gnu: guile-dbi: Remove hard-coded guile effective version., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 08/10] gnu: guile-dbi-bootstrap: Remove package., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 03/10] gnu: guile-dbi: Search for dbd libraries using native-search-paths., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 05/10] gnu: guile-dbi: Update to 2.1.8., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 06/10] gnu: guile-dbd-sqlite3: Inherit from guile-dbi., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 07/10] gnu: guile-dbd-postgresql: Inherit from guile-dbi., Arun Isaac, 2021/09/30