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.2155820: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.2155820, line 151
	#2: main, TMPDIR/work/core2-32-yoe-linux/libldb/2.8.2/temp/run.do_compile.2155820, line 155

Error details

Submitted on:
10/11/25 06:20
Error type:
Recipe
Task:
do_compile
Recipe:
libldb
Recipe version:
2.8.2-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
20c78057ffb40924fc16127731c1759d6cc6cf59
Build:
#219983
Submitter:
ab@rdk
Similar errors:
8
Open a bug