diff mbox series

[meta-gnome,walnascar,v2] libchamplain: don't compile for 32-bit targets

Message ID 20250913113627.3196354-1-skandigraun@gmail.com
State New
Headers show
Series [meta-gnome,walnascar,v2] libchamplain: don't compile for 32-bit targets | expand

Commit Message

Gyorgy Sarvari Sept. 13, 2025, 11:36 a.m. UTC
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 <skandigraun@gmail.com>
---

v2: Corrected machine override armv7e -> armv7ve (the former is not an
    existing override, so it was a no-op)

 .../libchamplain/libchamplain_0.12.21.bb              | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series

Patch

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 a89ab8cc74..3a27dee704 100644
--- a/meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.21.bb
+++ b/meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.21.bb
@@ -12,3 +12,14 @@  SRC_URI = "git://github.com/gnome/libchamplain.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
 
+# 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"