summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-10-28 12:24:50 +0100
committerKhem Raj <raj.khem@gmail.com>2024-10-29 18:13:41 -0700
commit78a332939f8bd852c47a09a65d9d1837aa83ff97 (patch)
tree9a47dfc4d4010bdbb86dce1e1d7f0c42ee85752f
parentab095d3ab44da74a3675b5936f9aeb5aa4b715b7 (diff)
downloadmeta-openembedded-78a332939f8bd852c47a09a65d9d1837aa83ff97.tar.gz
libgpiod_2.2: depend on glib-2.0
In my setup a build fails with | checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed | NOTE: The following config.log files may provide further information. | NOTE: /var/home/krm/build/oe-core_master/build/tmp/work/cortexa55-tdx-linux/libgpiod/2.2/build/config.log | ERROR: configure failed From config.log this seems to be related to glib-2.0 not found: | configure:22484: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0" | Package glib-2.0 was not found in the pkg-config search path. | Perhaps you should add the directory containing `glib-2.0.pc' | to the PKG_CONFIG_PATH environment variable | Package 'glib-2.0', required by 'gobject-introspection-1.0', not found | configure:22487: $? = 1 | configure:22491: error: gobject-introspection-1.0 is not installed Note that glib-2.0.pc is present in recipes-sysroot-native but not in recipes-sysroot. Adding glib-2.0 to depends allows successful build of libgpiod 2. Fixes: 117d09ce43c7 ("libgpiod: update to v2.2") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb
index b55da72f7b..3d9758e27a 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb
@@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = " \
9 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \ 9 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \
10" 10"
11 11
12DEPENDS += "glib-2.0"
13
12FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:" 14FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:"
13 15
14SRC_URI += "file://gpio-manager.init" 16SRC_URI += "file://gpio-manager.init"