<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hey Khem,<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/22/2017 05:41 PM, Khem Raj wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMKF1soNk9DWEuiYSy_zQ=MrUSK186FAGQJOSDOu=_nfHGByqw@mail.gmail.com">
<div><br>
<div class="gmail_quote">
<div>On Mon, May 22, 2017 at 3:25 PM Alejandro Hernandez <<a
href="mailto:alejandro.hernandez@linux.intel.com"
moz-do-not-send="true">alejandro.hernandez@linux.intel.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">When
setting USE_NLS="no" and building systemd-boot<br>
(which DEPENDS on intltool), configure fails,<br>
complaining about missing gettext:<br>
<br>
configure: error: GNU gettext tools not found; required for
intltool<br>
<br>
This is caused because USE_NLS="no" makes the gettext class<br>
add gettext-minimal-native to BASEDEPENDS instead of adding<br>
gettext-native.<br>
<br>
Since we still would like to set USE_NLS="no" and build
systemd-boot,<br>
we add gettext-native as a dependency to intltool-native,
which makes it<br>
available for the configure script of systemd-boot fixing
the problem.<br>
<br>
[YOCTO #11562]<br>
<br>
Signed-off-by: Alejandro Hernandez <<a
href="mailto:alejandro.hernandez@linux.intel.com"
target="_blank" moz-do-not-send="true">alejandro.hernandez@linux.intel.com</a>><br>
---<br>
meta/recipes-devtools/intltool/<a
href="http://intltool_0.51.0.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">intltool_0.51.0.bb</a>
| 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/meta/recipes-devtools/intltool/<a
href="http://intltool_0.51.0.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">intltool_0.51.0.bb</a>
b/meta/recipes-devtools/intltool/<a
href="http://intltool_0.51.0.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">intltool_0.51.0.bb</a><br>
index 551bdf0619a..ecff2faf253 100644<br>
--- a/meta/recipes-devtools/intltool/<a
href="http://intltool_0.51.0.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">intltool_0.51.0.bb</a><br>
+++ b/meta/recipes-devtools/intltool/<a
href="http://intltool_0.51.0.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">intltool_0.51.0.bb</a><br>
@@ -16,7 +16,7 @@ UPSTREAM_CHECK_URI = "<a
href="https://launchpad.net/intltool/trunk/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://launchpad.net/intltool/trunk/</a>"<br>
<br>
DEPENDS = "libxml-parser-perl-native"<br>
RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"<br>
-DEPENDS_class-native = "libxml-parser-perl-native"<br>
+DEPENDS_class-native = "libxml-parser-perl-native
gettext-native"</blockquote>
<div><br>
</div>
<div>This will serialise the build I think it better to add
the dep only when NLS is down disabled <br>
</div>
</div>
</div>
</blockquote>
I thought about doing so but I couldn't think of a clean way of
doing it.<br>
<br>
I can't get rid of it on the gettext.bbclass since it would mess up
the work on b090fde5c184<br>
<br>
<br>
What I can do, is set gettext-native as a DEPENDS to systemd-boot
which is the one that is actually<br>
complaining, this way we would keep returning gettext-minimal-native
when USE_NLS="no", but we would <br>
also fix the issue, what do you think?<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CAMKF1soNk9DWEuiYSy_zQ=MrUSK186FAGQJOSDOu=_nfHGByqw@mail.gmail.com">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
inherit autotools pkgconfig perlnative<br>
<br>
--<br>
2.12.0<br>
<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org"
target="_blank" moz-do-not-send="true">Openembedded-core@lists.openembedded.org</a><br>
<a
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>