Your message dated Sun, 08 Nov 2026 19:21:04 +0000
with message-id <[email protected]>
and subject line Bug#1152965: fixed in ck 0.7.2-13
has caused the Debian Bug report #1152965,
regarding ck FTCBFS: wrong parameters in configure and d/rules
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.)
--
1152965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ck
Version: 0.7.2-12
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs
X-Debbugs-Cc: [email protected]
ck uses the home-grown configure script presumably due to missing configure.ac.
This has a few wrong assumptions leading to FTBFS
a) `CC` is never passed to it due to invoking ./configure. Passing it along
d/rules fixes that.
b) `COMPILER` is set with writing a test program and compiling it which can't
work during cross build.
c) `PLATFORM` is not passed in d/rules (except unknown for a few archs) and so
configure makes use of `uname -m` which would return build arch.
The attached patch fixes this. Please consider applying.
Thanks,
Nilesh
commit be00cc09d01bf51a870c9d175e5539632bbf95df
Author: Nilesh Patra <[email protected]>
Date: Tue Nov 3 19:38:00 2026 +0100
Make ck cross-build
diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
new file mode 100644
index 0000000..713d7ab
--- /dev/null
+++ b/debian/patches/cross.patch
@@ -0,0 +1,16 @@
+--- a/configure
++++ b/configure
+@@ -699,8 +699,11 @@
+ EOF
+
+ $CC -o .1 .1.c
+-COMPILER=`./.1 2> /dev/null`
+-r=$?
++r=0
++if test -z "$COMPILER"; then
++ COMPILER=`./.1 2> /dev/null`
++ r=$?
++fi
+ rm -f .1.c .1
+
+ if test "$r" -ne 0; then
diff --git a/debian/patches/series b/debian/patches/series
index 5cb9569..3776f5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
debian/0001-ftbfs-armhf.patch
+cross.patch
diff --git a/debian/rules b/debian/rules
index bd30f81..b61d639 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,10 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/buildtools.mk
include /usr/share/dpkg/architecture.mk
+PLATFORM = --platform=$(DEB_HOST_ARCH)
+
ifneq (,$(filter $(DEB_HOST_ARCH), armel x32))
PLATFORM = --platform=unknown
endif
@@ -12,7 +15,7 @@ ifeq ($(DEB_HOST_ARCH),armhf)
endif
ifeq ($(DEB_HOST_ARCH), i386)
- PLATFORM = --disable-sse
+ PLATFORM += --disable-sse
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
@@ -34,7 +37,7 @@ execute_after_dh_auto_clean:
done
override_dh_auto_configure:
- dh_auto_configure -- \
+ CC=$(CC) COMPILER=gcc dh_auto_configure -- \
--prefix=/usr \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--includedir=/usr/include \
--- End Message ---
--- Begin Message ---
Source: ck
Source-Version: 0.7.2-13
Done: Daniel Baumann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ck, 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.
Daniel Baumann <[email protected]> (supplier of updated ck 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: Sun, 08 Nov 2026 19:47:35 +0100
Source: ck
Architecture: source
Version: 0.7.2-13
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Closes: 1152965
Changes:
ck (0.7.2-13) sid; urgency=medium
.
* Applying slight modified patch from Nilesh Patra <[email protected]>
to fix FTBFS when crossbuilding (Closes: #1152965).
Checksums-Sha1:
0a522a7896d90b7c782880ede9f868b7cc2addc9 1246 ck_0.7.2-13.dsc
60bd670a6f05a1481c72e83bab4833ec9218676b 6232 ck_0.7.2-13.debian.tar.xz
efa9cf6c52fe3c408ca43bd0faee53e5fbf98798 5669 ck_0.7.2-13_amd64.buildinfo
Checksums-Sha256:
558c2f4307722bbc5de70bba574d2576ce9c3c116fd7d9308930945a4a7d3945 1246
ck_0.7.2-13.dsc
7c75115e92f20e3814261bf68d4e8bea3e9cdcb89c99ca3139df2c74f2159da8 6232
ck_0.7.2-13.debian.tar.xz
ac289a4f3a04941ebf4761508c76653a655873487dd789402dcd083d34c1a75a 5669
ck_0.7.2-13_amd64.buildinfo
Files:
3132a982f8280281528f5333a518dbb4 1246 libs optional ck_0.7.2-13.dsc
9139b8dfca1d5acf882519e6712320e6 6232 libs optional ck_0.7.2-13.debian.tar.xz
0a5b9188afca95756583448a680ad000 5669 libs optional ck_0.7.2-13_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCavDHNAAKCRD7tPDoCoAi
Lx5aAPwL2g/ByvU8wAHTkOnuw1SXDLHfN9WlR3KYjYo5/bahxAD/fw8zehM1BZKk
6gxQOAB4IFv6cLKUX4LzIluMsh5GAgQ=
=MFLb
-----END PGP SIGNATURE-----
pgpZllYtXW1hW.pgp
Description: PGP signature
--- End Message ---