#1140712 sqlite3 FTCBFS: new build system doesn't work

#1140712#5
Date:
2026-06-24 09:15:06 UTC
From:
To:
Source: sqlite3
Version: 3.53.2-1
Severity: important
Justification: breaks architecture cross bootstrap
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
User: helmutg@debian.org
Usertags: rebootstrap

sqlite3 fails to cross build from source. There are several issues at
hand most of which relate to the transition from autotools to TCL-based
build system.

The configure script no longer accepts separating options and values
using spaces. An equal sign must be used. This affects the --host
option.

The build system now builds the lemon executable for the build
architecture only. I suggest modifying the upstream build system to be
able to build lemon for both architectures while only building the build
architecture one by default. The Debian packaging will build the host
one as well an install it.

debian/rules hard codes a build architecture pkg-config invocation. I
suggest using dpkg's buildtools.mk to figure out a suitable pkg-config.

Please consider applying the attached patch and also forward the
upstream patch if possible.

Helmut

#1140712#10
Date:
2026-06-27 10:19:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sqlite3, 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 1140712@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <gcs@debian.org> (supplier of updated sqlite3 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: Sat, 27 Jun 2026 11:28:50 +0200
Source: sqlite3
Architecture: source
Version: 3.53.3-1
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Changed-By: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Closes: 1140712
Changes:
 sqlite3 (3.53.3-1) unstable; urgency=medium
 .
   [ Helmut Grohne <helmut@subdivi.de> ]
   * Fix FTCBFS (closes: #1140712):
     + The new TCL-based configure requires option values to be separated with
       equal signs.
     + Build a host architecture lemon.
     + Use a host architecture pkg-config for a host compilation step.
 .
   [ Laszlo Boszormenyi (GCS) ]
   * New upstream release.
Checksums-Sha1:
 f82f6290cc3882462be55da44c4221fbe2232cae 2641 sqlite3_3.53.3-1.dsc
 3fa98e55067d5f6b89d475b87fa10f8ada51155d 6328220 sqlite3_3.53.3.orig-www.tar.xz
 89034193eab2451cd1641acaf040431c727dde02 8648448 sqlite3_3.53.3.orig.tar.xz
 413a751504a2e06e9e93ad448475422ff4b56d7a 31324 sqlite3_3.53.3-1.debian.tar.xz
Checksums-Sha256:
 14e08e21dafba0f1a94b8f966aac84a78181b094c1e672b2ebb57604ccfea82e 2641 sqlite3_3.53.3-1.dsc
 1051eb983eb1cdc4a5f6032bb3b02bb778ddba00da38c0759dc65fba5d4cff10 6328220 sqlite3_3.53.3.orig-www.tar.xz
 329a9a17304a702e578163c91c8eb66ad0dcc2a41adcf1093cd2f08c706875c3 8648448 sqlite3_3.53.3.orig.tar.xz
 1131038f24b461b2dd912ba612af0ed509d3c0d96480433eb9dfc43898c96b5c 31324 sqlite3_3.53.3-1.debian.tar.xz
Files:
 9867281f9ea9296153d5acf4bd970edc 2641 devel optional sqlite3_3.53.3-1.dsc
 310478b26e543e91f6c1b0fd91ed7ad2 6328220 devel optional sqlite3_3.53.3.orig-www.tar.xz
 23db9b9ea901e18384571dddb27f519c 8648448 devel optional sqlite3_3.53.3.orig.tar.xz
 5b2e0f302e864868145cffcde22184a6 31324 devel optional sqlite3_3.53.3-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmo/n1cACgkQ3OMQ54ZM
yL8hCg/+JgZpDdmDv/K2LSw3waDzpdtMW7FXnDiGLTYAxyDzrrgp1h7js5Od0Wt5
tPgbX2+/kmem7VpFpSSK6Y1tfJoAbP3392Jux1XaEyqUE/fKevhf0gTk8dHbpa3U
L6crz3FJJxxtaoj4UjvPlNjA1NTGJ54Y7Kf4BrZbLvTgjHMutntbJkNwdPSxFGDA
vcfOfqFeCm37u0OWQ+KxiToJWU0+EziDD+axOx1aIH6S26DpOFSAQaJwTnyNwGqU
WA7/0lD4SZVhkpLvfZeLjxHLKyFu4RyxY81NI64wfT+NJTgvgT9z1QzALFVznTWp
TVjnWjTCImtyueqxOhy4L65yKeMCgUisiNOxbCpUihC0aMeQ7ULJLjifMJyH1QGA
AiGhyxy91PBIScS3ftD+lKLbzybP/hD6P2UEK+UvvfRgbTM4s9vY+cCq89EUw/LF
1UO2nBDKH056tRGwoNjDhoJeirvwCmPuslHDlgUIKpEtMDmwPDfVe60+3nDdKpFu
0DYeep1SP7sShK89/5oh2GoK4fqpjzQIwdl4LtvOzP3fPyPkTxhoGEE700icV0rt
PyVUt7LZyVsU2VTnVq2m9SrEvkTrDJotpsndSgZmLyAl14oVsmQORHMKBzxlyJXc
TRQT6ssxOC7Kg6qcuLXErhdA5FdSeT7kC/f3FK8R669QUV3i1+0=
=Ah53
-----END PGP SIGNATURE-----