DEBUG: Executing shell function do_compile
Waf: Entering directory `TOPDIR/tmp/work/x86-64-v3-poky-linux/libldb/2.8.2/sources/ldb-2.8.2/bin/default'
symlink: _ldb_text.py -> python/_ldb_text.py
Checking project rules ...
Project rules pass
[1/4] Creating bin/default/lib/replace/replace.empty.c
[2/4] Compiling pyldb-util.pc.in
[3/4] Compiling ldb.pc.in
[4/4] Creating bin/default/include/ldb_version.h
[5/6] Compiling lib/replace/closefrom.c
[6/6] Compiling lib/replace/replace.c
../../lib/replace/replace.c: In function 'rep_memset_s':
../../lib/replace/replace.c:973:9: error: too many arguments to function 'memset_explicit'; expected 3, have 4
973 | memset_explicit(dest, destsz, ch, count);
| ^~~~~~~~~~~~~~~ ~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/libldb/2.8.2/recipe-sysroot/usr/include/features.h:540,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/libldb/2.8.2/recipe-sysroot/usr/include/bits/libc-header-start.h:33,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/libldb/2.8.2/recipe-sysroot/usr/include/stdio.h:28,
from ../../lib/replace/replace.h:48,
from ../../lib/replace/replace.c:26:
TOPDIR/tmp/work/x86-64-v3-poky-linux/libldb/2.8.2/recipe-sysroot/usr/include/bits/string_fortified.h:68:1: note: declared here
68 | __NTH (memset_explicit (void *__dest, int __ch, size_t __len))
| ^~~~~
Waf: Leaving directory `TOPDIR/tmp/work/x86-64-v3-poky-linux/libldb/2.8.2/sources/ldb-2.8.2/bin/default'
Build failed
-> task in 'LIBREPLACE_HOSTCC' failed with exit status 1 (run with -v to display more information)
WARNING: exit code 1 from a shell command.