Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Helmut Grohne
Mon, 26 Oct 2026 20:20
Bug#1152223: mit-scheme FTCBFS: uses the build architecture pkg-config to locate PostgreSQL library
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
42 lines
2795 bytes
2795 bytes
--qWwAdAQ4ouZGaUAs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: mit-scheme
Version: 12.1-14
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
mit-scheme fails to cross build from source as it uses the build
architecture pkg-config (hard coded via the relevant configure.ac) to
locate the PostgreSQL library. I'm attaching a patch to make it use the
correct pkg-config.
Note that this does not fully fix the build. In the end, I am faced with
an illegal instruction. Please consider that out of scope for this
report and close it when just addressing the pkg-config usage.
Helmut
--qWwAdAQ4ouZGaUAs
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"
--- mit-scheme-12.1.orig/src/pgsql/configure.ac
+++ mit-scheme-12.1/src/pgsql/configure.ac
@@ -101,9 +101,9 @@
[AC_MSG_RESULT([no])])
fi
-AC_CHECK_PROG([PKG_CONFIG], [pkg-config], [yes])
+PKG_PROG_PKG_CONFIG
-if ! pkg-config --exists libpq 2>/dev/null; then
+if ! "$PKG_CONFIG" --exists libpq 2>/dev/null; then
AC_MSG_ERROR([PostgreSQL not found.])
fi
--qWwAdAQ4ouZGaUAs--
Bug#1152223: mit-scheme FTCBFS: uses the build architecture pkg-config to locate PostgreSQL library
Author: Barak A. Pearlmutter
Date: Tue, 27 Oct 2026 15:40
Date: Tue, 27 Oct 2026 15:40
28 lines
3592 bytes
3592 bytes
Thanks. I've included the patch in git so it will be in the next upload, but I don't think it's worth an upload on its own because, as you note, cross building still won't actually work even with the pkg-config issue fixed. (The way cross building actually works is to use the "scheme virtual machine" back-end as an intermediate target, but that's still tricky due to memory layout issues and other architectural differences.) On Mon, 26 Oct 2026 at 20:17, Helmut Grohne <helmut@subdivi.de> wrote: > > Source: mit-scheme > Version: 12.1-14 > Tags: patch upstream > User: debian-cross@lists.debian.org > Usertags: ftcbfs > > mit-scheme fails to cross build from source as it uses the build > architecture pkg-config (hard coded via the relevant configure.ac) to > locate the PostgreSQL library. I'm attaching a patch to make it use the > correct pkg-config. > > Note that this does not fully fix the build. In the end, I am faced with > an illegal instruction. Please consider that out of scope for this > report and close it when just addressing the pkg-config usage. > > Helmut
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads