* [meta-networking][PATCH] networkmanager: fix gir build
@ 2024-04-30 6:47 Markus Volk
2024-07-05 11:53 ` Sven
0 siblings, 1 reply; 2+ messages in thread
From: Markus Volk @ 2024-04-30 6:47 UTC (permalink / raw)
To: openembedded-devel
Basically what is done in:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=4c40897893f43a99e6ae12e652c0cf789d89df90
This fixes:
| gi.RepositoryError: Typelib file for namespace 'Gobject', version '2.0' not found
| gi.RepositoryError: Typelib file for namespace 'Gio', version '2.0' not found
| gi.RepositoryError: Typelib file for namespace 'GModule', version '2.0' not found
- Remove uneeded do_compile:prepend. It was broken because of {B}} and seems to be unneeded anyway
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
.../networkmanager/networkmanager_1.46.0.bb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb
index be30154a3..8184fcf1a 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb
@@ -76,9 +76,10 @@ EXTRA_OEMESON = "\
CFLAGS:append:libc-musl = " \
-DRTLD_DEEPBIND=0 \
"
-
-do_compile:prepend() {
- export GI_TYPELIB_PATH="${B}}/src/libnm-client-impl${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
+do_configure:prepend() {
+ cp -f ${STAGING_LIBDIR}/girepository-1.0/GObject*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/
+ cp -f ${STAGING_LIBDIR}/girepository-1.0/Gio*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/
+ cp -f ${STAGING_LIBDIR}/girepository-1.0/GModule*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/
}
PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \
--
2.44.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-networking][PATCH] networkmanager: fix gir build
2024-04-30 6:47 [meta-networking][PATCH] networkmanager: fix gir build Markus Volk
@ 2024-07-05 11:53 ` Sven
0 siblings, 0 replies; 2+ messages in thread
From: Sven @ 2024-07-05 11:53 UTC (permalink / raw)
To: openembedded-devel
This patch breaks my build (scarthgap):
| DEBUG: Executing shell function do_configure
| cp: cannot stat '$BBPATH/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/networkmanager/1.46.0/recipe-sysroot/usr/lib/girepository-1.0/GObject*typelib': No such file or directory
| WARNING: $BBPATH/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/networkmanager/1.46.0/temp/run.do_configure.1339834:152 exit 1 from 'cp -f $BBPATH/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/networkmanager/1.46.0/recipe-sysroot/usr/lib/girepository-1.0/GObject*typelib $BBPATH/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/networkmanager/1.46.0/recipe-sysroot-native/usr/lib/girepository-1.0/'
I believe this might be related to the fact that I have gobject introspection data generation disabled via DISTRO_FEATURES_BACKFILL_CONSIDERED="gobject-introspection-data" ?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-05 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 6:47 [meta-networking][PATCH] networkmanager: fix gir build Markus Volk
2024-07-05 11:53 ` Sven
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.