>>> libsepol 3.6 Extracting gzip -d -c /home/buildroot/instance-0/dl/libsepol/libsepol-3.6.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/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/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/libsepol-3.6 GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" LD="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-ld" NM="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-g++" FC="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/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/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/xtensa-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/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 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 " LDFLAGS="" FCFLAGS="-mlongcalls -mauto-litpools -O2 -g0" FFLAGS="-mlongcalls -mauto-litpools -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/xtensa-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/libsepol-3.6' /usr/bin/make -C src make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/libsepol-3.6/src' /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o assertion.o assertion.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o avrule_block.o avrule_block.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o avtab.o avtab.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o boolean_record.o boolean_record.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o booleans.o booleans.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o conditional.o conditional.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o constraint.o constraint.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o context.o context.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o context_record.o context_record.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o debug.o debug.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o ebitmap.o ebitmap.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o expand.o expand.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o handle.o handle.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o hashtab.o hashtab.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o hierarchy.o hierarchy.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o ibendport_record.o ibendport_record.c /home/buildroot/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 -O2 -g0 -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -c -o ibendports.o ibendports.c In file included from conditional.c:27: 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 conditional.c:22: /home/buildroot/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 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/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 booleans.c:5: 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 booleans.c:2: /home/buildroot/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 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/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 context.c:13: 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 context.c:1: /home/buildroot/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 context_record.c:8: 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 context_record.c:2: /home/buildroot/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 ebitmap.c:16: 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 ebitmap.c:10: /home/buildroot/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 hashtab.c:35: 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 hashtab.c:31: /home/buildroot/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 expand.c:40: 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 context.h:6, from expand.c:24: /home/buildroot/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: booleans.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:87: hashtab.o] Error 1 make[2]: *** [Makefile:87: conditional.o] Error 1 make[2]: *** [Makefile:87: context_record.o] Error 1 make[2]: *** [Makefile:87: context.o] Error 1 make[2]: *** [Makefile:87: assertion.o] Error 1 make[2]: *** [Makefile:87: avtab.o] Error 1 make[2]: *** [Makefile:87: ebitmap.o] Error 1 make[2]: *** [Makefile:87: expand.o] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/libsepol-3.6/src' make[1]: *** [Makefile:6: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/libsepol-3.6' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/libsepol-3.6/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'