>>> libsepol 3.7 Extracting gzip -d -c /workdir/instance-0/dl/libsepol/libsepol-3.7.tar.gz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/libsepol-3.7 -xf - >>> libsepol 3.7 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.7 Configuring >>> libsepol 3.7 Building GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j1 -C /workdir/instance-0/output-1/build/libsepol-3.7 GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/workdir/instance-0/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/workdir/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/workdir/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/workdir/instance-0/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 -O3 -g0 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -O3 -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -O3 -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/workdir/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no STATIC=1 make[1]: Entering directory '/workdir/instance-0/output-1/build/libsepol-3.7' /usr/bin/make -C src make[2]: Entering directory '/workdir/instance-0/output-1/build/libsepol-3.7/src' /workdir/instance-0/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 -O3 -g0 -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: /workdir/instance-0/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 '/workdir/instance-0/output-1/build/libsepol-3.7/src' make[1]: *** [Makefile:6: all] Error 2 make[1]: Leaving directory '/workdir/instance-0/output-1/build/libsepol-3.7' make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/libsepol-3.7/.stamp_built] Error 2 make: Leaving directory '/workdir/instance-0/buildroot'