>>> libsepol 3.6 Extracting gzip -d -c /home/autobuild/autobuild/instance-17/dl/libsepol/libsepol-3.6.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6 -xf - >>> libsepol 3.6 Patching Applying 0001-support-static-only.patch using patch: patching file src/Makefile Hunk #1 succeeded at 45 (offset 6 lines). Hunk #2 succeeded at 92 (offset 6 lines). >>> libsepol 3.6 Configuring >>> libsepol 3.6 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6 GIT_DIR=. PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/autobuild/autobuild/instance-17/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-17/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-17/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-17/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-17/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -O0 -g3 -Wl,-elf2flt=-r -static" FFLAGS=" -O0 -g3 -Wl,-elf2flt=-r -static" PKG_CONFIG="/home/autobuild/autobuild/instance-17/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-17/output-1/host/riscv64-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no STATIC=1 make[1]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6' /usr/bin/make -C src make[2]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6/src' /home/autobuild/autobuild/instance-17/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g3 -fPIC -Wl,-elf2flt=-r -static -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o assertion.o assertion.c In file included from assertion.c:28: private.h:98:21: error: static declaration of 'reallocarray' follows non-static declaration 98 | static inline void* reallocarray(void *ptr, size_t nmemb, size_t size) { | ^~~~~~~~~~~~ In file included from ../include/sepol/policydb/mls_types.h:35, from ../include/sepol/policydb/context.h:23, from ../include/sepol/policydb/policydb.h:62, from assertion.c:24: /home/autobuild/autobuild/instance-17/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:898:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 898 | extern void *reallocarray (void *__ptr, size_t __m, size_t __n); | ^~~~~~~~~~~~ make[2]: *** [Makefile:87: assertion.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6/src' make[1]: *** [Makefile:6: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6' make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-17/output-1/build/libsepol-3.6/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-17/buildroot'