DEBUG: Executing shell function do_compile
Waf: Entering directory `TMPDIR/work/riscv64imafdc-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/riscv64imafdc-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/riscv64imafdc-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/riscv64imafdc-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/riscv64imafdc-yoe-linux/libldb/2.8.2/temp/run.do_compile.3262564:151 exit 1 from '$PYTHON ./buildtools/bin/waf -j10'
WARNING: Backtrace (BB generated script): 
	#1: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/libldb/2.8.2/temp/run.do_compile.3262564, line 151
	#2: main, TMPDIR/work/riscv64imafdc-yoe-linux/libldb/2.8.2/temp/run.do_compile.3262564, line 155

Error details

Submitted on:
08/11/25 11:25
Error type:
Recipe
Task:
do_compile
Recipe:
libldb
Recipe version:
2.8.2-r0
Machine:
qemuriscv64
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
9ac428dbd141892639046f0202d6a936d220b92d
Build:
#219943
Submitter:
ab@rdk
Similar errors:
11
Open a bug