<div dir="ltr">Looks like an error building the localedef package for the host system.  I suspect you have a newer glibc installed than the localedef package in OpenBMC's Yocto is expecting.  Check upstream Yocto to see if they have an updated localedef recipe.  If so, we can cherry pick it.<div><br></div><div>Rick</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 21, 2017 at 5:04 AM, Anton Novikov <span dir="ltr"><<a href="mailto:a.novikov@yadro.com" target="_blank">a.novikov@yadro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">| /usr/include/bits/types/__loca<wbr>le_t.h:28:8: note: originally defined here<br>
|  struct __locale_struct<br>
|         ^~~~~~~~~~~~~~~<br>
| In file included from glibc/locale/locale.h:145:0,<br>
|                  from ../git/localedef/include/local<wbr>e.h:1,<br>
|                  from glibc/locale/programs/localede<wbr>f.h:24,<br>
|                  from glibc/locale/programs/ld-colla<wbr>te.c:29:<br>
| glibc/locale/xlocale.h:39:4: error: conflicting types for ‘__locale_t’<br>
|  } *__locale_t;<br>
|     ^~~~~~~~~~<br>
| In file included from /usr/include/bits/types/locale<wbr>_t.h:22:0,<br>
|                  from /usr/include/stdlib.h:199,<br>
|                  from glibc/locale/programs/ld-colla<wbr>te.c:24:<br>
| /usr/include/bits/types/__loca<wbr>le_t.h:42:33: note: previous declaration of ‘__locale_t’ was here<br>
|  typedef struct __locale_struct *__locale_t;<br>
|                             <wbr>     ^~~~~~~~~~<br>
| In file included from glibc/locale/locale.h:145:0,<br>
|                  from ../git/localedef/include/local<wbr>e.h:1,<br>
|                  from glibc/locale/programs/localede<wbr>f.h:24,<br>
|                  from glibc/locale/programs/ld-colla<wbr>te.c:29:<br>
| glibc/locale/xlocale.h:42:20: error: conflicting types for ‘locale_t’<br>
|  typedef __locale_t locale_t;<br>
|                     ^~~~~~~~<br>
| In file included from /usr/include/stdlib.h:199:0,<br>
|                  from glibc/locale/programs/ld-colla<wbr>te.c:24:<br>
| /usr/include/bits/types/locale<wbr>_t.h:24:20: note: previous declaration of ‘locale_t’ was here<br>
|  typedef __locale_t locale_t;<br>
|                     ^~~~~~~~<br>
| glibc/locale/programs/charmap.<wbr>c: In function ‘charmap_read’:<br>
| glibc/locale/programs/charmap.<wbr>c:202:39: warning: passing argument 1 of ‘__xpg_basename’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]<br>
|      result->code_set_name = basename (filename);<br>
|                             <wbr>           ^~~~~~~~<br>
| In file included from ../git/localedef/include/strin<wbr>g.h:4:0,<br>
|                  from glibc/locale/programs/charmap.<wbr>c:28:<br>
| /usr/include/libgen.h:34:14: note: expected ‘char *’ but argument is of type ‘const char *’<br>
|  extern char *__xpg_basename (char *__path) __THROW;<br>
|               ^~~~~~~~~~~~~~<br>
| make: *** [Makefile:66: charmap-dir.o] Error 1<br>
| make: *** Waiting for unfinished jobs....<br>
| make: *** [Makefile:66: charmap.o] Error 1<br>
| make: *** [Makefile:66: ld-address.o] Error 1<br>
| make: *** [Makefile:66: ld-collate.o] Error 1<br>
| WARNING: /home/openbmc/openbmc/build/tm<wbr>p/work/x86_64-linux/cross-loca<wbr>ledef-native/2.24-r0/temp/run.<wbr>do_compile.3987:1 exit 1 from 'exit 1'<br>
| ERROR: Function failed: do_compile (log file is located at /home/openbmc/openbmc/build/tm<wbr>p/work/x86_64-linux/cross-loca<wbr>ledef-native/2.24-r0/temp/log.<wbr>do_compile.3987)<br>
ERROR: Task (/home/openbmc/openbmc/meta/re<wbr>cipes-core/glibc/cross-localed<wbr>ef-native_2.24.bb:do_compile) failed with exit code '1'<br>
<br>
</blockquote></div><br></div>