Bug#1117015: libharfbuzz-shaper-perl FTCBFS: hard codes the build architecture pkg-config

Helmut Grohne helmut at subdivi.de
Wed Oct 1 09:56:35 BST 2025


Source: libharfbuzz-shaper-perl
Version: 0.031+ds-1
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libharfbuzz-shaper-perl fails to cross build from source, because the 
upstream Makefile.PL hard codes the build architecture pkg-config and 
thus fails finding harfbuzz. This problem does not really have an ideal 
solution, but in Brest I sat down with gregoa and we vaguely agreed that 
the pragmatic solution would be to expect that a cross builder exports a 
suitable PKG_CONFIG. This is what the perl_makemaker debhelper 
buildsystem does now, so just picking up that variable makes the cross 
build practically work here even though it may be a little unobvious. In 
any case, I'm attaching the proposed change for your convenience.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 647 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20251001/cb539ac5/attachment.patch>


More information about the pkg-perl-maintainers mailing list