>>> libsepol 3.6 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/libsepol/libsepol-3.6.tar.gz | /home/buildroot/autobuild/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/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/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6 GIT_DIR=. PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-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/buildroot/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-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 -mlongcalls -mauto-litpools -Ofast -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Ofast -g0 " LDFLAGS="" FCFLAGS="-mlongcalls -mauto-litpools -Ofast -g0" FFLAGS="-mlongcalls -mauto-litpools -Ofast -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6' /usr/bin/make -C src make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6/src' /home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-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 -mlongcalls -mauto-litpools -Ofast -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o assertion.o assertion.c /home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-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 -mlongcalls -mauto-litpools -Ofast -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o avrule_block.o avrule_block.c /home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-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 -mlongcalls -mauto-litpools -Ofast -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o avtab.o avtab.c /home/buildroot/autobuild/instance-0/output-1/host/bin/xtensa-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 -mlongcalls -mauto-litpools -Ofast -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o boolean_record.o boolean_record.c In file included from avtab.c:50: 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 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 avtab.c:44: /home/buildroot/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:923:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, unsigned int, unsigned int)'} 923 | extern void *reallocarray (void *__ptr, size_t __m, size_t __n); | ^~~~~~~~~~~~ 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/buildroot/autobuild/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:923:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, unsigned int, unsigned int)'} 923 | extern void *reallocarray (void *__ptr, size_t __m, size_t __n); | ^~~~~~~~~~~~ make[2]: *** [Makefile:87: assertion.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:87: avtab.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6/src' make[1]: *** [Makefile:6: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6' make: *** [package/pkg-generic.mk:289: /home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'