>>> uclibc 1.0.49 Extracting xzcat /home/autobuild/autobuild/instance-18/dl/uclibc/uClibc-ng-1.0.49.tar.xz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49 -xf - >>> uclibc 1.0.49 Patching Applying 0001-allow-to-use-sys-ucontext.h.patch using patch: patching file include/ucontext.h Applying 0002-Fix-compilation-with-4.x-kernel-headers.patch using patch: patching file ldso/include/dl-syscall.h patching file libc/sysdeps/linux/common/fstat64.c patching file libc/sysdeps/linux/common/fstatat64.c Applying 0003-bits-stat.h-Declare-st_mtim-if-defined-__USE_XOPEN2K.patch using patch: patching file libc/sysdeps/linux/alpha/bits/stat.h patching file libc/sysdeps/linux/common/bits/stat.h patching file libc/sysdeps/linux/frv/bits/stat.h patching file libc/sysdeps/linux/ia64/bits/stat.h patching file libc/sysdeps/linux/m68k/bits/stat.h patching file libc/sysdeps/linux/mips/bits/stat.h patching file libc/sysdeps/linux/nds32/bits/stat.h patching file libc/sysdeps/linux/powerpc/bits/stat.h Using /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49/.config as base # # merged configuration written to /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49/.config (needs make) # make[1]: Entering directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' # # configuration written to /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49/.config # make[1]: Leaving directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' make[1]: Entering directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49/.config:255:warning: override: UCLIBC_HAS_THREADS_NATIVE changes choice state # # configuration written to /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49/.config # make[1]: Leaving directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' >>> uclibc 1.0.49 Configuring >>> uclibc 1.0.49 Building /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49 ARCH="riscv32" CROSS_COMPILE="/home/autobuild/autobuild/instance-18/output-1/host/bin/riscv32-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" headers make[1]: Entering directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' make[1]: Leaving directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49 ARCH="riscv32" CROSS_COMPILE="/home/autobuild/autobuild/instance-18/output-1/host/bin/riscv32-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" make[1]: Entering directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' In file included from ./include/sys/syscall.h:33, from ./ldso/include/dl-syscall.h:12, from ./ldso/include/ldso.h:52, from ldso/ldso/ldso.c:32: ./ldso/include/dl-syscall.h: In function '_dl_stat': ./ldso/include/dl-syscall.h:145:24: error: '__NR_stat' undeclared (first use in this function); did you mean '_dl_stat'? 145 | # define __NR__dl_stat __NR_stat | ^~~~~~~~~ ./include/bits/syscalls.h:18:16: note: in definition of macro 'INTERNAL_SYSCALL_NCS' 18 | _a7 = (name); \ | ^~~~ ./include/bits/syscalls-common.h:34:44: note: in expansion of macro 'INLINE_SYSCALL_NCS' 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~~~~~~~~~~~~~~ ./include/bits/syscalls-common.h:34:63: note: in expansion of macro '__NR__dl_stat' 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~ ./include/bits/syscalls-common.h:99:22: note: in expansion of macro 'INLINE_SYSCALL' 99 | return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \ | ^~~~~~~~~~~~~~ ./include/bits/syscalls-common.h:141:41: note: in expansion of macro 'SYSCALL_FUNC' 141 | #define _syscall2(args...) SYSCALL_FUNC(2, args) | ^~~~~~~~~~~~ ./ldso/include/dl-syscall.h:146:24: note: in expansion of macro '_syscall2' 146 | static __always_inline _syscall2(int, _dl_stat, const char *, file_name, | ^~~~~~~~~ ./ldso/include/dl-syscall.h:145:24: note: each undeclared identifier is reported only once for each function it appears in 145 | # define __NR__dl_stat __NR_stat | ^~~~~~~~~ ./include/bits/syscalls.h:18:16: note: in definition of macro 'INTERNAL_SYSCALL_NCS' 18 | _a7 = (name); \ | ^~~~ ./include/bits/syscalls-common.h:34:44: note: in expansion of macro 'INLINE_SYSCALL_NCS' 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~~~~~~~~~~~~~~ ./include/bits/syscalls-common.h:34:63: note: in expansion of macro '__NR__dl_stat' 34 | # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, nr, args) | ^~~~~ ./include/bits/syscalls-common.h:99:22: note: in expansion of macro 'INLINE_SYSCALL' 99 | return (type)INLINE_SYSCALL(name, nargs, C_ARGS_##nargs(args)); \ | ^~~~~~~~~~~~~~ ./include/bits/syscalls-common.h:141:41: note: in expansion of macro 'SYSCALL_FUNC' 141 | #define _syscall2(args...) SYSCALL_FUNC(2, args) | ^~~~~~~~~~~~ ./ldso/include/dl-syscall.h:146:24: note: in expansion of macro '_syscall2' 146 | static __always_inline _syscall2(int, _dl_stat, const char *, file_name, | ^~~~~~~~~ make[1]: *** [Makerules:374: ldso/ldso/ldso.oS] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49' make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-18/output-1/build/uclibc-1.0.49/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-18/buildroot'