>>> libsepol 3.6 Downloading wget -nd -t 3 --no-check-certificate -O '/home/autobuild/autobuild/instance-3/output-1/build/.libsepol-3.6.tar.gz.P15D31/output' 'https://github.com/SELinuxProject/selinux/releases/download/3.6/libsepol-3.6.tar.gz' --2024-09-16 18:51:14-- https://github.com/SELinuxProject/selinux/releases/download/3.6/libsepol-3.6.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.113.4 Connecting to github.com (github.com)|140.82.113.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%2F20240916%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240916T185114Z&X-Amz-Expires=300&X-Amz-Signature=5aa1eeab7cfc80fd37749a7a4fe0e7e96295acf50780784c71aa06fada21ee72&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=20648799&response-content-disposition=attachment%3B%20filename%3Dlibsepol-3.6.tar.gz&response-content-type=application%2Foctet-stream [following] --2024-09-16 18:51:14-- 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%2F20240916%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240916T185114Z&X-Amz-Expires=300&X-Amz-Signature=5aa1eeab7cfc80fd37749a7a4fe0e7e96295acf50780784c71aa06fada21ee72&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=20648799&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.111.133, 185.199.109.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 509100 (497K) [application/octet-stream] Saving to: '/home/autobuild/autobuild/instance-3/output-1/build/.libsepol-3.6.tar.gz.P15D31/output' 0K .......... .......... .......... .......... .......... 10% 7.30M 0s 50K .......... .......... .......... .......... .......... 20% 11.0M 0s 100K .......... .......... .......... .......... .......... 30% 5.80M 0s 150K .......... .......... .......... .......... .......... 40% 11.8M 0s 200K .......... .......... .......... .......... .......... 50% 22.2M 0s 250K .......... .......... .......... .......... .......... 60% 25.1M 0s 300K .......... .......... .......... .......... .......... 70% 5.49M 0s 350K .......... .......... .......... .......... .......... 80% 27.9M 0s 400K .......... .......... .......... .......... .......... 90% 10.8M 0s 450K .......... .......... .......... .......... ....... 100% 16.4M=0.05s 2024-09-16 18:51:14 (10.6 MB/s) - '/home/autobuild/autobuild/instance-3/output-1/build/.libsepol-3.6.tar.gz.P15D31/output' saved [509100/509100] libsepol-3.6.tar.gz: OK (sha256: c9dc585ea94903d784d597c861cd5dce6459168f95e22b31a0eab1cdd800975a) >>> libsepol 3.6 Extracting gzip -d -c /home/autobuild/autobuild/instance-3/dl/libsepol/libsepol-3.6.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-3/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/autobuild/autobuild/instance-3/output-1/host/bin:/home/autobuild/autobuild/instance-3/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" /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-3/output-1/build/libsepol-3.6 GIT_DIR=. PATH="/home/autobuild/autobuild/instance-3/output-1/host/bin:/home/autobuild/autobuild/instance-3/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-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-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/autobuild/autobuild/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-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 -O3 -g0 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -O3 -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -O3 -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/home/autobuild/autobuild/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no STATIC=1 make[1]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/libsepol-3.6' /usr/bin/make -C src make[2]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/libsepol-3.6/src' /home/autobuild/autobuild/instance-3/output-1/host/bin/riscv64-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 -O3 -g0 -fPIC -Wl,-elf2flt=-r -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: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/autobuild/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:898:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 898 | extern void *reallocarray (void *__ptr, size_t __m, size_t __n); | ^~~~~~~~~~~~ make[2]: *** [Makefile:87: assertion.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/libsepol-3.6/src' make[1]: *** [Makefile:6: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/libsepol-3.6' make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-3/output-1/build/libsepol-3.6/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-3/buildroot'