All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH v2 0/4] Fix some native tools dependencies
@ 2020-01-21  8:56 Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 1/4] drbd-utils: fix flex-native tool dependency Sumit Garg
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sumit Garg @ 2020-01-21  8:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: daniel.thompson

Some native tools dependency issues were seen while building with
external GCC tool-set rather than source GCC tool-set. While building
with source tool-set these dependencies were implicitly met which is not
the case with external tool-set. So explicitly state these native tools
dependencies.

Use HOST_SYS instead of TARGET_PREFIX for libtool in unbound recipe as
TARGET_PREFIX may vary from source GCC tool-set to external GCC tool-set.

Changes in v2:
- Split into recipe specific patches.
- Add native tools dependency fixes for dovecot and ndisc6 recipes.

Sumit Garg (4):
  drbd-utils: fix flex-native tool dependency
  unbound: Use HOST_SYS instead of TARGET_PREFIX for libtool
  dovecot: fix gettext tool dependency
  ndisc6: fix coreutils-native tool dependency

 meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb | 2 +-
 meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb   | 2 ++
 meta-networking/recipes-support/ndisc6/ndisc6_git.bb        | 2 ++
 meta-networking/recipes-support/unbound/unbound_1.9.4.bb    | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.7.4



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

* [meta-networking][PATCH v2 1/4] drbd-utils: fix flex-native tool dependency
  2020-01-21  8:56 [meta-networking][PATCH v2 0/4] Fix some native tools dependencies Sumit Garg
@ 2020-01-21  8:56 ` Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 2/4] unbound: Use HOST_SYS instead of TARGET_PREFIX for libtool Sumit Garg
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Sumit Garg @ 2020-01-21  8:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: daniel.thompson

flex-native tool dependency was implicitly met while building with
source GCC tool-set which isn't the case with external tool-set.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
 meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb b/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb
index 286b0f6..01bb16a 100644
--- a/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb
+++ b/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb
@@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases"
 SYSTEMD_SERVICE_${PN} = "drbd.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
+DEPENDS = "flex-native"
+
 inherit autotools-brokensep systemd
 
 EXTRA_OECONF = " \
-- 
2.7.4



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

* [meta-networking][PATCH v2 2/4] unbound: Use HOST_SYS instead of TARGET_PREFIX for libtool
  2020-01-21  8:56 [meta-networking][PATCH v2 0/4] Fix some native tools dependencies Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 1/4] drbd-utils: fix flex-native tool dependency Sumit Garg
@ 2020-01-21  8:56 ` Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 3/4] dovecot: fix gettext tool dependency Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 4/4] ndisc6: fix coreutils-native " Sumit Garg
  3 siblings, 0 replies; 5+ messages in thread
From: Sumit Garg @ 2020-01-21  8:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: daniel.thompson

As TARGET_PREFIX may vary from source GCC tool-set to external GCC
tool-set. Also, libtool-cross is installed in recipe sysroot using
HOST_SYS variable only.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
 meta-networking/recipes-support/unbound/unbound_1.9.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.4.bb b/meta-networking/recipes-support/unbound/unbound_1.9.4.bb
index 03eb2fa..6200214 100644
--- a/meta-networking/recipes-support/unbound/unbound_1.9.4.bb
+++ b/meta-networking/recipes-support/unbound/unbound_1.9.4.bb
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
 
 EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \
 		--with-ssl=${STAGING_EXECPREFIXDIR} \
-		libtool=${TARGET_PREFIX}libtool \
+		libtool=${HOST_SYS}-libtool \
 "
 		
 
-- 
2.7.4



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

* [meta-networking][PATCH v2 3/4] dovecot: fix gettext tool dependency
  2020-01-21  8:56 [meta-networking][PATCH v2 0/4] Fix some native tools dependencies Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 1/4] drbd-utils: fix flex-native tool dependency Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 2/4] unbound: Use HOST_SYS instead of TARGET_PREFIX for libtool Sumit Garg
@ 2020-01-21  8:56 ` Sumit Garg
  2020-01-21  8:56 ` [meta-networking][PATCH v2 4/4] ndisc6: fix coreutils-native " Sumit Garg
  3 siblings, 0 replies; 5+ messages in thread
From: Sumit Garg @ 2020-01-21  8:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: daniel.thompson

gettext tool dependency was implicitly met while building with source
GCC tool-set which isn't the case with external tool-set.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
 meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb b/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb
index 239a252..0f7fad2 100644
--- a/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb
+++ b/meta-networking/recipes-support/dovecot/dovecot_2.2.36.4.bb
@@ -19,7 +19,7 @@ DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc"
 CFLAGS += "-I${STAGING_INCDIR}/tirpc"
 LDFLAGS += "-ltirpc"
 
-inherit autotools pkgconfig systemd useradd
+inherit autotools pkgconfig systemd useradd gettext
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ldap pam', d)}"
 
-- 
2.7.4



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

* [meta-networking][PATCH v2 4/4] ndisc6: fix coreutils-native tool dependency
  2020-01-21  8:56 [meta-networking][PATCH v2 0/4] Fix some native tools dependencies Sumit Garg
                   ` (2 preceding siblings ...)
  2020-01-21  8:56 ` [meta-networking][PATCH v2 3/4] dovecot: fix gettext tool dependency Sumit Garg
@ 2020-01-21  8:56 ` Sumit Garg
  3 siblings, 0 replies; 5+ messages in thread
From: Sumit Garg @ 2020-01-21  8:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: daniel.thompson

coreutils-native tool dependency was implicitly met while building with
source GCC tool-set which isn't the case with external tool-set.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
 meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
index ec48797..5f86605 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
@@ -15,6 +15,8 @@ SRC_URI = "git://git.remlab.net/git/ndisc6.git;protocol=http \
 
 S = "${WORKDIR}/git"
 
+DEPENDS = "coreutils-native"
+
 inherit autotools gettext
 
 EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
-- 
2.7.4



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

end of thread, other threads:[~2020-01-21  8:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21  8:56 [meta-networking][PATCH v2 0/4] Fix some native tools dependencies Sumit Garg
2020-01-21  8:56 ` [meta-networking][PATCH v2 1/4] drbd-utils: fix flex-native tool dependency Sumit Garg
2020-01-21  8:56 ` [meta-networking][PATCH v2 2/4] unbound: Use HOST_SYS instead of TARGET_PREFIX for libtool Sumit Garg
2020-01-21  8:56 ` [meta-networking][PATCH v2 3/4] dovecot: fix gettext tool dependency Sumit Garg
2020-01-21  8:56 ` [meta-networking][PATCH v2 4/4] ndisc6: fix coreutils-native " Sumit Garg

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.