#1152223 mit-scheme FTCBFS: uses the build architecture pkg-config to locate PostgreSQL library #1152223
- Package:
- src:mit-scheme
- Source:
- src:mit-scheme
- Submitter:
- Helmut Grohne
- Date:
- 2026-11-18 12:51:01 UTC
- Severity:
- normal
- Tags:
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
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.)
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.)
We believe that the bug you reported is fixed in the latest version of mit-scheme, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1152223@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Barak A. Pearlmutter <bap@debian.org> (supplier of updated mit-scheme package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sun, 01 Nov 2026 10:35:38 +0000 Source: mit-scheme Architecture: source Version: 12.1-15 Distribution: unstable Urgency: medium Maintainer: Barak A. Pearlmutter <bap@debian.org> Changed-By: Barak A. Pearlmutter <bap@debian.org> Closes: 1152223 Changes: mit-scheme (12.1-15) unstable; urgency=medium . * Cross build dpkg-config patch (closes: #1152223) * Clarify that branch debian-bootstrap is temporary Checksums-Sha1: 128a6840e9df73741bb87bebf23d705d108b55c4 2045 mit-scheme_12.1-15.dsc 182154c3957e6a90d8280a9c888edc7061004103 87536 mit-scheme_12.1-15.debian.tar.xz 8ad08bda2af564509791eb4d8dda6692e9b4cf16 7494 mit-scheme_12.1-15_source.buildinfo Checksums-Sha256: 95b516f264a07a81c6cf8592f540298fcecdd1cc290cea3ff1d1a9058422960a 2045 mit-scheme_12.1-15.dsc 0144ccf213b933bef888535b0b0ad8a7d009be3cb44f98837f7f8220201ebbaf 87536 mit-scheme_12.1-15.debian.tar.xz 48b55170db92d1e751796d857dbb8b597cc10b08c7f23ef12e3c5e84079c5394 7494 mit-scheme_12.1-15_source.buildinfo Files: 7e3a83a019f3fa16b3d6692fc95ef6f3 2045 lisp optional mit-scheme_12.1-15.dsc 5340be61a649fc9852b90eb703633833 87536 lisp optional mit-scheme_12.1-15.debian.tar.xz d708da6568f66f15ece34b4b29dd45fd 7494 lisp optional mit-scheme_12.1-15_source.buildinfo -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQQt5L8FQhB2xHrSA2fGrySQ08pyuQUCav2bBA8cYmFwQGRlYmlh bi5vcmcACgkQxq8kkNPKcrlJZgEA9CEGoywpTfsW/fNeBFah18kpyAwStZyHb6R+ x+kmBPsBAKI2wsYSeJsGIQciiH+RTgglkiPvGNYAouaS75tgzAkC =vaLp -----END PGP SIGNATURE-----