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

Package:
src:ck
Source:
src:ck
Submitter:
Nilesh Patra
Date:
2026-11-03 19:25: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