#1152965 ck FTCBFS: wrong parameters in configure and d/rules

Package:
src:ck
Source:
src:ck
Submitter:
Nilesh Patra
Date:
2026-11-08 19:23:02 UTC
Severity:
normal
Tags:
#1152965#5
Date:
2026-11-03 19:23:38 UTC
From:
To:
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

#1152965#10
Date:
2026-11-08 19:21:04 UTC
From:
To:
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 1152965@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (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 ftpmaster@ftp-master.debian.org)
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 <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Closes: 1152965
Changes:
 ck (0.7.2-13) sid; urgency=medium
 .
   * Applying slight modified patch from Nilesh Patra <nilesh@debian.org>
     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-----