From: Josep Bigorra <jjbigorra@gmail.com>
To: 75139@debbugs.gnu.org
Subject: [bug#75139] [PATCH] fix guile-dbi and guile-dbd-* to use guile 3
Date: Fri, 27 Dec 2024 13:15:20 +0100 [thread overview]
Message-ID: <CAM_04A3xU08xjyGChT=aFtBmJj1-HZgt2PqZC4=nNKiYCSn6Ew@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
Hey so I was busy with Guile and connecting to databases. I noticed
that guile-dbi and guile-dbd-* are depending on Guile-2 without a
reason for that. Changing to 3 did cause some warnings/errors in the
test phase, which I address in this patch.
I noticed that 2.1.9 has some problems with autoconf and configure, so
I suggest we stay at 2.1.8 while we figure it out.
Please close this one btw: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75136
Thanks in advance,
[-- Attachment #2: 0001-upgrade-guile-dbi-and-guile-dbd-to-Guile-3.0.patch --]
[-- Type: text/x-patch, Size: 1797 bytes --]
From 1cb65c8960b1c738d26eca0800602e6118b74e0e Mon Sep 17 00:00:00 2001
Message-ID: <1cb65c8960b1c738d26eca0800602e6118b74e0e.1735301677.git.jjbigorra@gmail.com>
From: Josep Bigorra <jjbigorra@gmail.com>
Date: Fri, 27 Dec 2024 13:13:55 +0100
Subject: [PATCH] upgrade guile-dbi (and guile-dbd-*) to Guile 3.0
---
gnu/packages/guile-xyz.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 06667c09..ca43c281 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -51,6 +51,7 @@
;;; Copyright © 2024 Artyom Bologov <mail@aartaka.me>
;;; Copyright © 2024 Felix Lechner <felix.lechner@lease-up.com>
;;; Copyright © 2024 Alec Barreto <mrh57@posteo.net>
+;;; Copyright © 2024 Josep Bigorra <jjbigorra@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1983,6 +1984,7 @@ (define-public guile-dbi
,@%default-gnu-modules)
#:imported-modules ((guix build guile-build-system)
,@%default-gnu-imported-modules)
+ #:make-flags '("LDFLAGS=\"-Wl,-allow-multiple-definition\"")
#:configure-flags
(list (string-append
"--with-guile-site-dir=" %output "/share/guile/site/"
@@ -2004,9 +2006,9 @@ (define-public guile-dbi
(ext (string-append out "/lib/libguile-dbi")))
(substitute* dbi.scm (("libguile-dbi") ext))))))))
(native-inputs
- (list autoconf automake libtool perl texinfo))
+ (list autoconf automake libtool perl texinfo libltdl))
(propagated-inputs
- (list guile-2.2))
+ (list guile-3.0))
(synopsis "Guile database abstraction layer")
(home-page "https://github.com/opencog/guile-dbi")
(description
--
2.46.0
reply other threads:[~2024-12-27 12:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM_04A3xU08xjyGChT=aFtBmJj1-HZgt2PqZC4=nNKiYCSn6Ew@mail.gmail.com' \
--to=jjbigorra@gmail.com \
--cc=75139@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).