[Pkg-tcltk-devel] Bug#1152372: tk9.1 FTCBFS: hard codes the build architecture pkg-config

Helmut Grohne helmut at subdivi.de
Wed Oct 28 06:16:38 GMT 2026


Source: tk9.1
Version: 9.1.0-2
Severity: important
Justification: it is expected that tk9.1 enters the bootstrap set
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 5963 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-tcltk-devel/attachments/20261028/1921dadf/attachment.patch>


More information about the Pkg-tcltk-devel mailing list