From 9653e31152b20cfcee6107b3132be614ea89ece0 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Sat, 13 Sep 2025 13:40:01 +0200 Subject: [PATCH] libchamplain: don't compile for 32-bit targets The recipe can't be compiled for 32-bit targets currently, due to GTimeVal usage - see bug report in the project[1]. Remove the 32-bit targets from the compatibility list until it is fixed. [1]: https://gitlab.gnome.org/GNOME/libchamplain/-/issues/61 Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../libchamplain/libchamplain_0.12.21.bb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.21.bb b/meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.21.bb index b7c587d25f..5aaf680e8c 100644 --- a/meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.21.bb +++ b/meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.21.bb @@ -10,4 +10,14 @@ REQUIRED_DISTRO_FEATURES = "opengl" SRCREV = "941560af497148588783db991e8135f52a82574d" SRC_URI = "git://github.com/gnome/libchamplain.git;branch=master;protocol=https" - +# Compilation fails on 32-bit targets, due to GTimeVal usage, which assumes that +# time_t is always long, which is not always the case. +# See bugreport: +# https://gitlab.gnome.org/GNOME/libchamplain/-/issues/61 +COMPATIBLE_HOST:armv4 = "null" +COMPATIBLE_HOST:armv5 = "null" +COMPATIBLE_HOST:armv7 = "null" +COMPATIBLE_HOST:armv7a = "null" +COMPATIBLE_HOST:armv7ve = "null" +COMPATIBLE_HOST:riscv32 = "null" +COMPATIBLE_HOST:x86 = "null"