DEBUG: Executing shell function do_compile
Waf: Entering directory `TMPDIR/work/core2-32-yoe-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:973:36: error: too many arguments to function call, expected 3, have 4
973 | memset_explicit(dest, destsz, ch, count);
| ~~~~~~~~~~~~~~~ ^~~~~
TMPDIR/work/core2-32-yoe-linux/libldb/2.8.2/recipe-sysroot/usr/include/bits/string_fortified.h:68:8: note: 'memset_explicit' declared here
68 | __NTH (memset_explicit (void *__dest, int __ch, size_t __len))
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/libldb/2.8.2/recipe-sysroot/usr/include/sys/cdefs.h:81:59: note: expanded from macro '__NTH'
81 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct
| ^~~
1 error generated.
Waf: Leaving directory `TMPDIR/work/core2-32-yoe-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: TMPDIR/work/core2-32-yoe-linux/libldb/2.8.2/temp/run.do_compile.3365089:151 exit 1 from '$PYTHON ./buildtools/bin/waf -j10'
WARNING: Backtrace (BB generated script):
#1: do_compile, TMPDIR/work/core2-32-yoe-linux/libldb/2.8.2/temp/run.do_compile.3365089, line 151
#2: main, TMPDIR/work/core2-32-yoe-linux/libldb/2.8.2/temp/run.do_compile.3365089, line 155