<div dir="ltr">On 24 May 2017 at 00:47, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">USE_NLS is target specific, its redundant for native packages<br></blockquote><div><br></div><div>I don&#39;t think you&#39;re right:</div><div><br></div><div>| In file included from /data/poky-master/tmp/work/x86_64-linux/apt-native/1.2.12-r0/build/include/apt-private/private-cachefile.h:12:0,</div><div>|                  from /data/poky-master/tmp/work/x86_64-linux/apt-native/1.2.12-r0/apt-1.2.12/apt-private/private-output.cc:15:</div><div>| /usr/include/libintl.h:44:14: error: expected unqualified-id before ‘char’</div><div>|  extern char *dgettext (const char *__domainname, const char *__msgid)</div><div>|               ^</div><div>| /usr/include/libintl.h:44:14: error: expected initializer before ‘char’</div><div>| In file included from /usr/include/features.h:374:0,</div><div>|                  from /usr/include/x86_64-linux-gnu/sys/types.h:25,</div><div>|                  from /usr/include/regex.h:23,</div><div>|                  from /data/poky-master/tmp/work/x86_64-linux/apt-native/1.2.12-r0/build/include/apt-pkg/configuration.h:31,</div><div>|                  from /data/poky-master/tmp/work/x86_64-linux/apt-native/1.2.12-r0/apt-1.2.12/apt-private/private-output.cc:4:</div><div>| /usr/include/libintl.h:82:52: error: expected unqualified-id before ‘throw’</div><div>|  extern char *textdomain (const char *__domainname) __THROW;</div><div>|                                                     ^</div><div>| /usr/include/libintl.h:82:52: error: expected initializer before ‘throw’</div><div>| /usr/include/libintl.h:87:32: error: expected unqualified-id before ‘throw’</div><div>|          const char *__dirname) __THROW;</div><div>|                                 ^</div><div>| ERROR: oe_runmake failed</div><div>| /usr/include/libintl.h:87:32: error: expected initializer before ‘throw’ </div><div><br></div><div>native.bbclass sets USE_NLS=no but I think apt requires it to be enabled, thus the assignment.</div><div><br></div><div>Ross</div></div></div></div>