>>> libsepol 3.6 Downloading wget -nd -t 3 -O '/home/buildroot/autobuild/instance-0/output-1/build/.libsepol-3.6.tar.gz.hdgn7o/output' 'https://github.com/SELinuxProject/selinux/releases/download/3.6/libsepol-3.6.tar.gz' --2024-10-02 07:34:15-- https://github.com/SELinuxProject/selinux/releases/download/3.6/libsepol-3.6.tar.gz Resolving github.com (github.com)... 140.82.116.4 Connecting to github.com (github.com)|140.82.116.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/20648799/892fbad3-ae2b-4490-b640-0ef0d64dfe2f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241002%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241002T143416Z&X-Amz-Expires=300&X-Amz-Signature=0069359a55c081fd2511cf0f0ac996fc4fae87acdacd3d1dc8c4ae186f36aa2f&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlibsepol-3.6.tar.gz&response-content-type=application%2Foctet-stream [following] --2024-10-02 07:34:16-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/20648799/892fbad3-ae2b-4490-b640-0ef0d64dfe2f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241002%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241002T143416Z&X-Amz-Expires=300&X-Amz-Signature=0069359a55c081fd2511cf0f0ac996fc4fae87acdacd3d1dc8c4ae186f36aa2f&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlibsepol-3.6.tar.gz&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 509100 (497K) [application/octet-stream] Saving to: '/home/buildroot/autobuild/instance-0/output-1/build/.libsepol-3.6.tar.gz.hdgn7o/output' 0K .......... .......... .......... .......... .......... 10% 13.9M 0s 50K .......... .......... .......... .......... .......... 20% 18.1M 0s 100K .......... .......... .......... .......... .......... 30% 48.4M 0s 150K .......... .......... .......... .......... .......... 40% 50.1M 0s 200K .......... .......... .......... .......... .......... 50% 53.2M 0s 250K .......... .......... .......... .......... .......... 60% 51.4M 0s 300K .......... .......... .......... .......... .......... 70% 51.8M 0s 350K .......... .......... .......... .......... .......... 80% 41.5M 0s 400K .......... .......... .......... .......... .......... 90% 53.1M 0s 450K .......... .......... .......... .......... ....... 100% 61.0M=0.01s 2024-10-02 07:34:16 (35.0 MB/s) - '/home/buildroot/autobuild/instance-0/output-1/build/.libsepol-3.6.tar.gz.hdgn7o/output' saved [509100/509100] libsepol-3.6.tar.gz: OK (sha256: c9dc585ea94903d784d597c861cd5dce6459168f95e22b31a0eab1cdd800975a) >>> 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 -Og -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Og -g0 " LDFLAGS="" FCFLAGS="-mlongcalls -mauto-litpools -Og -g0" FFLAGS="-mlongcalls -mauto-litpools -Og -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 -Og -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 -Og -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 -Og -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 -Og -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:283: /home/buildroot/autobuild/instance-0/output-1/build/libsepol-3.6/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'