>>> libsepol 3.6 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-2/dl/libsepol/libsepol-3.6.tar.gz | /home/buildroot/autobuild/run/instance-2/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/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/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6 GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" LD="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-ld" NM="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++" FC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-2/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/run/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-2/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 -Os -g3 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g3 " LDFLAGS="" FCFLAGS="-mlongcalls -mauto-litpools -Os -g3" FFLAGS="-mlongcalls -mauto-litpools -Os -g3" PKG_CONFIG="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-2/output-1/host/xtensa-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6' /usr/bin/make -C src make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6/src' /home/buildroot/autobuild/run/instance-2/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 -Os -g3 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o assertion.o assertion.c /home/buildroot/autobuild/run/instance-2/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 -Os -g3 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o avrule_block.o avrule_block.c /home/buildroot/autobuild/run/instance-2/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 -Os -g3 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o avtab.o avtab.c /home/buildroot/autobuild/run/instance-2/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 -Os -g3 -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 avtab.c:44: /home/buildroot/autobuild/run/instance-2/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 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/buildroot/autobuild/run/instance-2/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); | ^~~~~~~~~~~~ Makefile:87: recipe for target 'assertion.o' failed make[2]: *** [assertion.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:87: recipe for target 'avtab.o' failed make[2]: *** [avtab.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6/src' Makefile:6: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6' package/pkg-generic.mk:286: recipe for target '/home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/libsepol-3.6/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'