Subject: bug#58830: 29.0.50; Build failure on master with cairo_ft_font_options_substitute

From: Sam James <[email-masked]>
Date: Fri, 28 Oct 2022 11:09:07 +0100

Po Lu <[email-masked]> writes:

> Sam James <[email-masked]> writes:
>
>> Emacs fails to compile from master (at commit
>> e893fd10735239aeecae83805fc4cc6b37156a01)
>> with an implicit function declaration
>> (cairo_ft_font_options_substitute):
>> ```
>> xsettings.c: In function ‘apply_xft_settings’:
>> xsettings.c:825:3: error: implicit declaration of function
>> <E2><80>-Werror=implicit-function-declaration][]]
>>   825 |   cairo_ft_font_options_substitute (options, pat);
>>         |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>               |   cairo_font_options_status
>> ```
>>
>
> That's pretty odd.  AFAIU we only support builds with cairo with the
> FreeType frontend present.
>
> Could you please send the contents of config.log?

Sure. FWIW, it built a few hours ago (as you can see) with the same
config.