>>> libsepol 3.5 Extracting gzip -d -c /home/autobuild/autobuild/instance-4/dl/libsepol/libsepol-3.5.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5 -xf - >>> libsepol 3.5 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.5 Configuring >>> libsepol 3.5 Building PATH="/home/autobuild/autobuild/instance-4/output-1/host/bin:/home/autobuild/autobuild/instance-4/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" /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5 PATH="/home/autobuild/autobuild/instance-4/output-1/host/bin:/home/autobuild/autobuild/instance-4/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-4/output-1/host/bin/arm-buildroot-linux-musleabi-gcc-ar" AS="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-as" LD="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-ld" NM="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gcc-nm" CC="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gcc" GCC="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gcc" CPP="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-cpp" CXX="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-g++" FC="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gfortran" F77="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gfortran" RANLIB="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-readelf" STRIP="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-strip" OBJCOPY="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/autobuild/autobuild/instance-4/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/autobuild/autobuild/instance-4/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/autobuild/autobuild/instance-4/output-1/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/autobuild/autobuild/instance-4/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-4/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-4/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-4/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-4/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-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 -Ofast -g2 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g2 -static -static" LDFLAGS=" -static" FCFLAGS=" -Ofast -g2 -static" FFLAGS=" -Ofast -g2 -static" PKG_CONFIG="/home/autobuild/autobuild/instance-4/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-4/output-1/host/arm-buildroot-linux-musleabi/sysroot" INTLTOOL_PERL=/usr/bin/perl STATIC=1 make[1]: Entering directory '/home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5' /home/autobuild/make/make -C src make[2]: Entering directory '/home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5/src' /home/autobuild/autobuild/instance-4/output-1/host/bin/arm-buildroot-linux-musleabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g2 -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:88:21: error: static declaration of 'reallocarray' follows non-static declaration 88 | 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-4/output-1/host/arm-buildroot-linux-musleabi/sysroot/usr/include/stdlib.h:150:7: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, unsigned int, unsigned int)'} 150 | void *reallocarray (void *, size_t, size_t); | ^~~~~~~~~~~~ make[2]: *** [Makefile:87: assertion.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5/src' make[1]: *** [Makefile:6: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-4/output-1/build/libsepol-3.5/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-4/buildroot'