#1152372 tk9.1 FTCBFS: hard codes the build architecture pkg-config

Package:
src:tk9.1
Source:
src:tk9.1
Submitter:
Helmut Grohne
Date:
2026-10-28 16:41:01 UTC
Severity:
normal
Tags:
#1152372#5
Date:
2026-10-28 06:16:38 UTC
From:
To:
tk9.1 fails to cross build from source. On the surface, it fails to find
harfbuzz. Underneath, unix/configure.ac hard codes the build
architecture pkg-config in a lot of places. I suggest rewriting it to
use PKG_CHECK_MODULES. As that macro uses AC_REQUIRE it should not be
used inside an if condition, so I am also replacing a pile of those by
AS_IF. The macro also carries out the version check on harfbuzz, so this
ends up deleting a pile of code. I hope you find this refactoring
acceptable. Please forward it upstream. Also please apply it to the
Debian package before making tk9.1 the default version in Debian.

Helmut

#1152372#10
Date:
2026-10-28 16:39:24 UTC
From:
To:
Hi Helmut,

Thank you for the bug report. I'll apply the patch and forward it upstream.
Tcl/Tk 9.1 is not going to be a default Tcl/Tk version in Debian at least until
duke. There's not many software developers that have ported their programs
to Tcl/Tk 9 yet.

Cheers!