Build dependency fixes
cover Build dependency fixes
Bunch of one-liners fixing build dependency issues uncovered after recipe specific sysroots were enabled. I bumped into these when trying to build core-image-sato in a rather minimal host environment.
Markus Lehtonen (3):
rpm: inherit pkgconfig
wpa-supplicant: inherit pkgconfig
at-spi2-atk: depend on glib-2.0-native
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 2 +- meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 +- meta/recipes-support/atk/at-spi2-atk_2.22.0.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.10.2
PATCH 1/3 rpm: inherit pkgconfig
Rpm needs pkg-config in order to build successfully. Recipe specific sysroots revealed this missing dependency when trying to build on a host without pkg-config.
--- meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/rpm/rpm_5.4.16.bb +1 -1
@@ -168,7 +168,7 @@ SRC_URI_append_libc-musl = "\ UPSTREAM_CHECK_REGEX = "rpm-(?P<pver>(\d+[\.\-_]*)+)-.*$" -inherit autotools gettext python-dir +inherit autotools gettext pkgconfig python-dir acpaths = "-I ${S}/db/dist/aclocal -I ${S}/db/dist/aclocal_java"
Signature · 1 line
2.10.2
PATCH 2/3 wpa-supplicant: inherit pkgconfig
In reply to Markus LehtonenMissing dependency uncovered after recipe specific sysroots were enabled.
--- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb +1 -1
@@ -13,7 +13,7 @@ PACKAGECONFIG ??= "gnutls" PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" PACKAGECONFIG[openssl] = ",,openssl" -inherit systemd +inherit pkgconfig systemd SYSTEMD_SERVICE_${PN} = "wpa_supplicant.service [email protected] [email protected]" SYSTEMD_AUTO_ENABLE = "disable"
Signature · 1 line
2.10.2
PATCH 3/3 at-spi2-atk: depend on glib-2.0-native
In reply to Markus LehtonenMissing dependency revealed by recipe specific sysroots. If the host system does not have glib-compile-schemas installed have (via libglib2.0-dev, glib2, glib2-tools or similar) do_configure would fail with:
configure: error: glib-compile-schemas not found.
--- meta/recipes-support/atk/at-spi2-atk_2.22.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/atk/at-spi2-atk_2.22.0.bb +1 -1
@@ -8,7 +8,7 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" SRC_URI[md5sum] = "aa62aed21b8e03dc44ab81ae49d893ca" SRC_URI[sha256sum] = "e8bdedbeb873eb229eb08c88e11d07713ec25ae175251648ad1a9da6c21113c1" -DEPENDS = "dbus glib-2.0 atk at-spi2-core" +DEPENDS = "dbus glib-2.0 glib-2.0-native atk at-spi2-core" inherit autotools pkgconfig distro_features_check upstream-version-is-even
Signature · 1 line
2.10.2
Re: [PATCH 2/3] wpa-supplicant: inherit pkgconfig
In reply to Markus LehtonenQuoted 13 lines · Markus Lehtonen
Missing dependency uncovered after recipe specific sysroots were enabled.
Signed-off-by Markus Lehtonen <[email protected]>--- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb +0
-0
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb PACKAGECONFIG ??= "gnutls" · line 16
Quoted 5 lines
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb +1
-1@@ -13,7 +13,7 @@ PACKAGECONFIG ??= "gnutls" PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt" PACKAGECONFIG[openssl] = ",,openssl" -inherit systemd +inherit pkgconfig systemd
thanks, i just hit the same issue, and your patch fixes it.
Tested-by Nicolas Dechesne <[email protected]>