All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Build dependency fixes
@ 2017-01-31 13:23 Markus Lehtonen
  2017-01-31 13:23 ` [PATCH 1/3] rpm: inherit pkgconfig Markus Lehtonen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Markus Lehtonen @ 2017-01-31 13:23 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
2.10.2



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] rpm: inherit pkgconfig
  2017-01-31 13:23 [PATCH 0/3] Build dependency fixes Markus Lehtonen
@ 2017-01-31 13:23 ` Markus Lehtonen
  2017-01-31 13:23 ` [PATCH 2/3] wpa-supplicant: " Markus Lehtonen
  2017-01-31 13:23 ` [PATCH 3/3] at-spi2-atk: depend on glib-2.0-native Markus Lehtonen
  2 siblings, 0 replies; 5+ messages in thread
From: Markus Lehtonen @ 2017-01-31 13:23 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
index 3df4d1f..2d27588 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.16.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
@@ -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"
 
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] wpa-supplicant: inherit pkgconfig
  2017-01-31 13:23 [PATCH 0/3] Build dependency fixes Markus Lehtonen
  2017-01-31 13:23 ` [PATCH 1/3] rpm: inherit pkgconfig Markus Lehtonen
@ 2017-01-31 13:23 ` Markus Lehtonen
  2017-01-31 14:24   ` Nicolas Dechesne
  2017-01-31 13:23 ` [PATCH 3/3] at-spi2-atk: depend on glib-2.0-native Markus Lehtonen
  2 siblings, 1 reply; 5+ messages in thread
From: Markus Lehtonen @ 2017-01-31 13:23 UTC (permalink / raw)
  To: openembedded-core

Missing dependency uncovered after recipe specific sysroots were enabled.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
---
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb
index b96f9d2..146bccf 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb
@@ -13,7 +13,7 @@ PACKAGECONFIG ??= "gnutls"
 PACKAGECONFIG[gnutls] = ",,gnutls libgcrypt"
 PACKAGECONFIG[openssl] = ",,openssl"
 
-inherit systemd
+inherit pkgconfig systemd
 
 SYSTEMD_SERVICE_${PN} = "wpa_supplicant.service wpa_supplicant-nl80211@.service wpa_supplicant-wired@.service"
 SYSTEMD_AUTO_ENABLE = "disable"
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] at-spi2-atk: depend on glib-2.0-native
  2017-01-31 13:23 [PATCH 0/3] Build dependency fixes Markus Lehtonen
  2017-01-31 13:23 ` [PATCH 1/3] rpm: inherit pkgconfig Markus Lehtonen
  2017-01-31 13:23 ` [PATCH 2/3] wpa-supplicant: " Markus Lehtonen
@ 2017-01-31 13:23 ` Markus Lehtonen
  2 siblings, 0 replies; 5+ messages in thread
From: Markus Lehtonen @ 2017-01-31 13:23 UTC (permalink / raw)
  To: openembedded-core

Missing 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.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
---
 meta/recipes-support/atk/at-spi2-atk_2.22.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/atk/at-spi2-atk_2.22.0.bb b/meta/recipes-support/atk/at-spi2-atk_2.22.0.bb
index 80ba642..58edb6e 100644
--- a/meta/recipes-support/atk/at-spi2-atk_2.22.0.bb
+++ b/meta/recipes-support/atk/at-spi2-atk_2.22.0.bb
@@ -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
 
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/3] wpa-supplicant: inherit pkgconfig
  2017-01-31 13:23 ` [PATCH 2/3] wpa-supplicant: " Markus Lehtonen
@ 2017-01-31 14:24   ` Nicolas Dechesne
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Dechesne @ 2017-01-31 14:24 UTC (permalink / raw)
  To: Markus Lehtonen; +Cc: Patches and discussions about the oe-core layer

On Tue, Jan 31, 2017 at 2:23 PM, Markus Lehtonen
<markus.lehtonen@linux.intel.com> wrote:
>
> Missing dependency uncovered after recipe specific sysroots were enabled.
>
> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
> ---
>  meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb
> index b96f9d2..146bccf 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb
> @@ -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 <nicolas.dechesne@linaro.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-31 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-31 13:23 [PATCH 0/3] Build dependency fixes Markus Lehtonen
2017-01-31 13:23 ` [PATCH 1/3] rpm: inherit pkgconfig Markus Lehtonen
2017-01-31 13:23 ` [PATCH 2/3] wpa-supplicant: " Markus Lehtonen
2017-01-31 14:24   ` Nicolas Dechesne
2017-01-31 13:23 ` [PATCH 3/3] at-spi2-atk: depend on glib-2.0-native Markus Lehtonen

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.