[meta-virtualization] [PATCH 5/5] xen: Replace 'inherit gettext' with explicit gettext-native dependency

Doug Goldstein cardoe at cardoe.com
Tue Oct 17 07:43:40 PDT 2017


From: Christopher Clark <christopher.w.clark at gmail.com>

This fixes the build when libc-locale-code is not a DISTRO_FEATURE.

xen's configure script checks for xgettext and will abort if not found.

xgettext is provided by the gettext-native package but not by
gettext-minimal-native. This means that "inherit gettext" is not
sufficient to satisfy Xen's build requirements: gettext-native is
required.

Signed-off-by: Christopher Clark <christopher.clark6 at baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
(cherry picked from commit 55b1cbe55dcd356e4d6b257ee1f58df9bb728665)
---
 recipes-extended/xen/xen.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index 4333905..37fb4ce 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095"
 
 COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux'
 
-inherit autotools-brokensep gettext setuptools update-rc.d systemd deploy
+inherit autotools-brokensep setuptools update-rc.d systemd deploy
 
 require xen-arch.inc
 
@@ -29,6 +29,7 @@ DEPENDS = " \
     dev86-native \
     flex-native \
     file-native \
+    gettext-native \
     iasl-native \
     ncurses-native \
     util-linux-native \
-- 
2.13.5



More information about the meta-virtualization mailing list