Skip to contentSkip to conversation

package/fontconfig: fix build

PATCH In review Thomas Devoogdt 2 participants 2 messages Feb 7, 2025 – Feb 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/fontconfig: fix build

../test/test-crbug1004254.c:28:10: fatal error: pthread.h: No such file or directory
28 | #include <pthread.h>

      |          ^~~~~~~~~~~

Commit cef7358 "package/fontconfig: fix compilation on targets without pthread support" fixed compilation for targets without pthread support, but that was apparently nog enough.

Back then, I tested all the targets by using ./utils/test-pkg -p fontconfig -a, but somehow these targets didn't enable the fontconfig tests, so I didn't see this compile failure. Fix it now by explicitly disabling the fontconfig tests.

Fixes:
- https://autobuild.buildroot.org/results/5f0/5f0c716c20788ba49a3a9f185251ded373a764cd/build-end.log

---
 package/fontconfig/fontconfig.mk | 1 +
 1 file changed, 1 insertion(+)
package/fontconfig/fontconfig.mk +1 -0
index 21eba76a83..7ac8872e82 100644
@@ -18,6 +18,7 @@ FONTCONFIG_CPE_ID_VALID = YES
 
 FONTCONFIG_CONF_OPTS = \
 	-Dcache-dir=/var/cache/fontconfig \
+	-Dtests=disabled \
 	-Ddoc=disabled
 
 FONTCONFIG_CFLAGS = $(TARGET_CFLAGS)
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Thomas Devoogdt

../test/test-crbug1004254.c:28:10: fatal error: pthread.h: No such file or directory
28 | #include <pthread.h>

      |          ^~~~~~~~~~~

Commit cef7358 "package/fontconfig: fix compilation on targets without pthread support" fixed compilation for targets without pthread support, but that was apparently nog enough.

Back then, I tested all the targets by using ./utils/test-pkg -p fontconfig -a, but somehow these targets didn't enable the fontconfig tests, so I didn't see this compile failure. Fix it now by explicitly disabling the fontconfig tests.

Quoted 5 lines

Fixes:
-
https://autobuild.buildroot.org/results/5f0/5f0c716c20788ba49a3a9f185251ded373a764cd/build-end.log

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot