[OE-core] [PATCH 3/3] apt-native: Remove USE_NLS = "yes"

Burton, Ross ross.burton at intel.com
Wed May 24 10:58:57 UTC 2017


On 24 May 2017 at 00:47, Khem Raj <raj.khem at gmail.com> wrote:

> USE_NLS is target specific, its redundant for native packages
>

I don't think you're right:

| 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,
|                  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:
| /usr/include/libintl.h:44:14: error: expected unqualified-id before ‘char’
|  extern char *dgettext (const char *__domainname, const char *__msgid)
|               ^
| /usr/include/libintl.h:44:14: error: expected initializer before ‘char’
| In file included from /usr/include/features.h:374:0,
|                  from /usr/include/x86_64-linux-gnu/sys/types.h:25,
|                  from /usr/include/regex.h:23,
|                  from
/data/poky-master/tmp/work/x86_64-linux/apt-native/1.2.12-r0/build/include/apt-pkg/configuration.h:31,
|                  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:
| /usr/include/libintl.h:82:52: error: expected unqualified-id before
‘throw’
|  extern char *textdomain (const char *__domainname) __THROW;
|                                                     ^
| /usr/include/libintl.h:82:52: error: expected initializer before ‘throw’
| /usr/include/libintl.h:87:32: error: expected unqualified-id before
‘throw’
|          const char *__dirname) __THROW;
|                                 ^
| ERROR: oe_runmake failed
| /usr/include/libintl.h:87:32: error: expected initializer before ‘throw’

native.bbclass sets USE_NLS=no but I think apt requires it to be enabled,
thus the assignment.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170524/858ec8f2/attachment-0002.html>


More information about the Openembedded-core mailing list