Your message dated Thu, 07 May 2026 01:19:33 +0000
with message-id <[email protected]>
and subject line Bug#1119126: fixed in inn2 2.7.4~20260419-1
has caused the Debian Bug report #1119126,
regarding inn2 FTCBFS: sqlite3 version check uses AC_RUN_IFELSE
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1119126: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: inn2
Version: 2.7.4~20250809-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
Hi Marco,
I noticed that inn2 fails to cross build from source. It attempts to
check for sqlite3, but in doing so uses AC_RUN_IFELSE without a cross
compilation argument. Thus configure stops.
I looked into sqlite3 and it provides its version both as a macro and as
a function. This separation exists intentionally such that you may at
runtime check the version of the sqlite3 library rather than the one
used at build time. Since this check happens at build time, I argue that
the header version is as good as the runtime version. Using it enables
us to use AC_COMPUTE_INT and that happens to be compatible with cross
compilation. I thus propose the attached patch. Is that an acceptable
way forward?
Helmut
--- inn2-2.7.4~20250809.orig/m4/sqlite3.m4
+++ inn2-2.7.4~20250809/m4/sqlite3.m4
@@ -46,15 +46,6 @@
dnl INN_LIB_SQLITE3_SWITCH was called.
AC_DEFUN([INN_LIB_SQLITE3_RESTORE], [INN_LIB_HELPER_RESTORE([SQLITE3])])
-dnl Ensures SQLite v3 meets our minimum version requirement.
-AC_DEFUN([_INN_LIB_SQLITE3_SOURCE], [[
-#include <sqlite3.h>
-
-int main(void) {
- return sqlite3_libversion_number() < 3008002;
-}
-]])
-
dnl Checks if SQLite v3 is present. The single argument, if "true", says to
dnl fail if the SQLite library could not be found.
AC_DEFUN([_INN_LIB_SQLITE3_INTERNAL],
@@ -63,7 +54,9 @@
[INN_LIB_HELPER_PATHS([SQLITE3])
INN_LIB_SQLITE3_SWITCH
LIBS="-lsqlite3 $LIBS"
- AC_RUN_IFELSE([AC_LANG_SOURCE([_INN_LIB_SQLITE3_SOURCE])],
+ AC_COMPUTE_INT([_INN_LIB_SQLITE3_VERSION],[SQLITE_VERSION_NUMBER],[#include <sqlite3.h>])
+ dnl Ensures SQLite v3 meets our minimum version requirement.
+ AS_IF([test "$_INN_LIB_SQLITE3_VERSION" -ge 3008002],
[inn_cv_have_sqlite3=yes],
[inn_cv_have_sqlite3=no])
INN_LIB_SQLITE3_RESTORE])
--- End Message ---
--- Begin Message ---
Source: inn2
Source-Version: 2.7.4~20260419-1
Done: Marco d'Itri <[email protected]>
We believe that the bug you reported is fixed in the latest version of
inn2, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <[email protected]> (supplier of updated inn2 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 07 May 2026 02:45:01 +0200
Source: inn2
Architecture: source
Version: 2.7.4~20260419-1
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Closes: 1119126 1135792
Changes:
inn2 (2.7.4~20260419-1) unstable; urgency=medium
.
* New upstream snapshot of the stable branch.
+ Fixes cross-compilation with sqlite. (Closes: #1119126)
* Make /var/log/news/ mode 0755. (Closes: #1135792)
Checksums-Sha1:
2d850613df436e518b556b12de8e72b7c0996dd1 2518 inn2_2.7.4~20260419-1.dsc
2beef3e3dc57e5d6323eaa12468b6481ea4efab4 1578476
inn2_2.7.4~20260419.orig.tar.xz
b15ef2277d0463abab180c6bcb11ffa750ba3ce4 37756
inn2_2.7.4~20260419-1.debian.tar.xz
ab940cbaa5e2eb483345fdb0803e00b6786253cb 3830656
inn2_2.7.4~20260419-1.git.tar.xz
188707c4e18171468943ad7660b27c9adcbe273b 17372
inn2_2.7.4~20260419-1_source.buildinfo
Checksums-Sha256:
eece6d498358fa921051a063008f7f6ec0c7c6904293b30ea72aa75181736292 2518
inn2_2.7.4~20260419-1.dsc
cd555efb802568ee759b324c37d110b400ef8af6a5a7569fabca3262aa02a0d5 1578476
inn2_2.7.4~20260419.orig.tar.xz
d8f887ce8445225814ddf77be60bb31cdaf265ae6f36070451d57ea83e654c48 37756
inn2_2.7.4~20260419-1.debian.tar.xz
cdd0d48fcb656c5d677b82b07deffeec0e35c01d69084d08e1131c0a81df1ef2 3830656
inn2_2.7.4~20260419-1.git.tar.xz
e4c31f307e5e72c4c80f22e0f715f30a36e3397e15fbd60b4385dde181bd7b7f 17372
inn2_2.7.4~20260419-1_source.buildinfo
Files:
8393864ead017da3e2db310ef1e2fa01 2518 news optional inn2_2.7.4~20260419-1.dsc
11c2ad32ce06e1259170189843347041 1578476 news optional
inn2_2.7.4~20260419.orig.tar.xz
f756b1ae21e8256e07eb5fc112e5d5e9 37756 news optional
inn2_2.7.4~20260419-1.debian.tar.xz
e911d4d85764a02293dda6075f12a121 3830656 news None
inn2_2.7.4~20260419-1.git.tar.xz
d5b192b9c42348a87a6142e0b01fbd27 17372 news optional
inn2_2.7.4~20260419-1_source.buildinfo
Git-Tag-Info: tag=9e49a156ff467448de27c3c46c3613d214a1b81a
fp=272945cd836d38dfb7427e86cb3ec33ae1ded781
Git-Tag-Tagger: Marco d'Itri <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmn75PQACgkQYG0ITkaD
wHmnTRAAlmIliZJyn+Fb5LqmeroBoWBP0p7BSNT1i99UW7v42zvTdAHYZ5rL0T+B
JqH/9zlwK3YFosylwaYMogAS3RB1dd/PNLf93fSU7kEROsc8Cb5nLPVeYOb0PLyS
0gNFyCtCwXIt2AbEPW/jqK2wabNDkGb53XoY6oypM+pU+0WdvhtwOMA+CaOHeO0d
TvsePCFGHj2tdQrygYbmeLtFb6hgr1uTxrAI0Ega9hyvYd88/hVWolyzTVzuwFNL
WNn3Ud84F2SdQItrp+l37BF2Z/5rKhfOhbWzCqZ7asGbmPqOfxdk3I0Ekj0Y9zRx
ZWSxsvmhG9cHhs7gj4Ti5kkMk1QdKDF6by9KPCw1wtKflSwURbtKOrFEdbnTwCA0
gilwtvhqj845KWXXAbdh7FYldpoaFYUzWLieldoX/Bit7r5oofhAFG0sW7zLeoB4
eo98yDPKDOrb3h/L3b0+t1Cd1TXD6PSp8mwFulp7H7c08dVSNv7dGb9hzFbqT59r
TU7qhMZhfjtPJph9tFwllIggY9gFqkpmpncocPElSLmTmsxHjKZ6qiiLZDMkUcLD
jfJavXn4D6Vx0esJE3Jp2n6Qnd9x8F1XNUQyv9Ie7ofllrJdIpbOnfsoWjuJENyV
XxaVMVTV80ytub3V4sA9wIlMhW1w40cR4WZuyLOWsfjcYhINBH4=
=UHR8
-----END PGP SIGNATURE-----
pgp04k3_iml4A.pgp
Description: PGP signature
--- End Message ---