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

Sergei Golovan sgolovan at gmail.com
Wed Oct 28 16:39:24 GMT 2026


Hi Helmut,

On Wed, Oct 28, 2026 at 6:51 PM Helmut Grohne <helmut at subdivi.de> wrote:
>
> 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.

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!
-- 
Sergei Golovan



More information about the Pkg-tcltk-devel mailing list