#1126831 fontconfig FTBFS on musl: missing files / fails to detect gettext

Package:
src:fontconfig
Source:
src:fontconfig
Submitter:
Helmut Grohne
Date:
2026-02-02 06:51:04 UTC
Severity:
normal
Tags:
#1126831#5
Date:
2026-02-01 20:20:56 UTC
From:
To:
fontconfig fails to build from source on musl, because it does not
correctly detect availability of gettext. As a result, it does not
generate locales and fails dh_install due to missing files.

The root cause is a bug in the gettext detection macro. The problem is
fixed there, but fontconfig selects an older version that still contains
the problem.

Please update the version of the gettext macro to fix the detection. I'm
attaching a patch for your convenience.

Helmut