Bug 16134

Summary: AB-INT: fontconfig-native unable to find fcalias.h header
Product: [QA/Testing] Build Testing Reporter: Antonin Godard <antonin.godard>
Component: generalAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod
Version: unspecified   
Target Milestone: 6.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Antonin Godard 2026-01-15 09:55:57 UTC
I got this error on a master-next test build, and it's mixed with llvm failures that at this time I knew was due to a faulty patch[1]. However this fontconfig failure seems unrelated to llvm. Create an AB-INT to see if this happens again on master.

[1]: https://lore.kernel.org/r/20260113225424.1208879-1-mark.yang@lge.com
Comment 1 Antonin Godard 2026-01-15 13:21:56 UTC
qa-extras ubuntu2204-vk-3 agodard/master-next completed at 2026-01-14 15:48:30+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/99/builds/3016/steps/20/logs/stdio
Comment 2 Antonin Godard 2026-01-15 15:39:16 UTC
Error message:

| FAILED: [code=1] src/libpatternlib_internal.a.p/fcpat.c.o
| gcc -Isrc/libpatternlib_internal.a.p -Isrc -I../sources/fontconfig-2.17.1/src -I. -I../sources/fontconfig-2.17.1 -Ifc-lang -I../sources/fontconfig-2.17.1/fc-lang -I/srv/pokybuild/yocto-worker/qa-extras/build/build/tmp/work/x86_64-linux/fontconfig-native/2.17.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -I/srv/pokybuild/yocto-worker/qa-extras/build/build/tmp/work/x86_64-linux/fontconfig-native/2.17.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -I/srv/pokybuild/yocto-worker/qa-extras/build/build/tmp/work/x86_64-linux/fontconfig-native/2.17.1/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -DHAVE_CONFIG_H -isystem/srv/pokybuild/yocto-worker/qa-extras/build/build/tmp/work/x86_64-linux/fontconfig-native/2.17.1/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -pthread -MD -MQ src/libpatternlib_internal.a.p/fcpat.c.o -MF src/libpatternlib_internal.a.p/fcpat.c.o.d -o src/libpatternlib_internal.a.p/fcpat.c.o -c ../sources/fontconfig-2.17.1/src/fcpat.c
| In file included from ../sources/fontconfig-2.17.1/src/fcpat.c:23:
| ../sources/fontconfig-2.17.1/src/fcint.h:129:12: fatal error: fcalias.h: No such file or directory
|   129 | #  include "fcalias.h"
|       |            ^~~~~~~~~~~
| compilation terminated.
Comment 3 Randy MacLeod 2026-01-15 15:42:25 UTC
Likely Make/Ninja race.
Comment 4 Ross Burton 2026-01-16 18:06:08 UTC
Patch on the list:

Subject: [PATCH 2/2] fontconfig: backport a patch to fix a build race
Comment 5 Ross Burton 2026-01-29 15:57:55 UTC
Merged in oe-core 0baab9204ff48ff8c45d528f91ae3204329dab2a.