>>> file 5.45 Extracting gzip -d -c /home/buildroot/instance-0/dl/file/file-5.45.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/file-5.45 -xf - >>> file 5.45 Patching >>> file 5.45 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/file-5.45 -name $file); do cp support/gnuconfig/$file $i; done; done >>> file 5.45 Configuring >>> file 5.45 Autoreconfiguring libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:101: installing './compile' configure.ac:3: installing './missing' src/Makefile.am: installing './depcomp' >>> file 5.45 Patching libtool patching file /home/buildroot/instance-0/output-1/build/file-5.45/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/buildroot/instance-0/output-1/build/file-5.45/ && rm -rf config.cache && 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/arm-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/arm-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/arm-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-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/arm-linux-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/arm-linux-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 -O2 -g2 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -g2 -static" FFLAGS=" -O2 -g2 -static" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes ac_cv_prog_cc_c99='-std=gnu99' CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-musleabihf --host=arm-buildroot-linux-musleabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --enable-bzlib --enable-libseccomp --enable-xzlib --enable-zlib ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-musleabihf-strip... /home/buildroot/instance-0/output-1/host/bin/arm-linux-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for builtin ELF support... yes checking for ELF core file support... yes checking for zlib support... yes checking for bzlib support... yes checking for xzlib support... yes checking for zstdlib support... checking for lzlib support... checking for libseccomp support... yes checking for file formats in man section 5... no checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-musleabihf checking for arm-buildroot-linux-musleabihf-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to enable C11 features... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/param.h... yes checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether byte ordering is bigendian... (cached) no checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-musleabihf format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld option to reload object files... -r checking for arm-buildroot-linux-musleabihf-objdump... /home/buildroot/instance-0/output-1/host/bin/arm-linux-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-musleabihf-ar... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-musleabihf-strip... (cached) /home/buildroot/instance-0/output-1/host/bin/arm-linux-strip checking for arm-buildroot-linux-musleabihf-ranlib... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-musleabihf-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdint.h... (cached) yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for byteswap.h... yes checking for spawn.h... yes checking for utime.h... yes checking for wchar.h... (cached) yes checking for wctype.h... yes checking for getopt.h... yes checking for err.h... yes checking for xlocale.h... no checking for sys/bswap.h... no checking for sys/mman.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/utime.h... no checking for sys/time.h... yes checking for sys/sysmacros.h... (cached) yes checking for sys/ioctl.h... yes checking for zlib.h... yes checking for bzlib.h... yes checking for lzma.h... yes checking for zstd.h... no checking for zstd_errors.h... no checking for lzlib.h... no checking for sig_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking for struct tm.tm_gmtoff... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... yes checking for tm_zone in struct tm... yes checking whether tzname is declared... yes checking for tzname... yes checking for tm_isdst in struct tm... yes checking whether daylight is declared... yes checking for daylight... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to enable large file support... none needed checking for declarations of fseeko and ftello... yes checking for mbstate_t... yes checking for struct option in getopt... yes checking for pid_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for int32_t... yes checking for uint64_t... yes checking for int64_t... yes checking for intptr_t... yes checking for uintptr_t... yes checking for getpagesize... yes checking for fork... yes checking for vfork... yes checking for working mmap... (cached) yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for gcc compiler warnings... yes checking for strndup... yes checking for mkstemp... yes checking for mkostemp... yes checking for utimes... yes checking for utime... yes checking for wcwidth... yes checking for strtof... yes checking for newlocale... yes checking for uselocale... yes checking for freelocale... yes checking for memmem... yes checking for pipe2... yes checking for posix_spawnp... yes checking for getopt_long... yes checking for asprintf... yes checking for vasprintf... yes checking for strlcpy... yes checking for strlcat... yes checking for getline... yes checking for ctime_r... yes checking for asctime_r... yes checking for localtime_r... yes checking for gmtime_r... yes checking for pread... yes checking for strcasestr... yes checking for fmtcheck... no checking for dprintf... yes checking for gzopen in -lz... yes checking for BZ2_bzCompressInit in -lbz2... yes checking for lzma_stream_decoder in -llzma... yes checking for ZSTD_createDStream in -lzstd... no checking for LZ_decompress_open in -llz... no checking for seccomp_init in -lseccomp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating magic/Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating python/Makefile config.status: creating libmagic.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> file 5.45 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/file-5.45/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/file-5.45' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/file-5.45' Making all in src make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/file-5.45/src' sed -e "s/X.YY/$(echo 5.45 | tr -d .)/" < ../src/magic.h.in > magic.h /usr/bin/make all-am make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/file-5.45/src' CC file.o CC seccomp.o CC buffer.lo CC magic.lo CC apprentice.lo CC softmagic.lo CC ascmagic.lo CC encoding.lo CC compress.lo CC is_csv.lo CC is_json.lo CC is_simh.lo CC is_tar.lo CC readelf.lo CC print.lo CC fsmagic.lo CC funcs.lo In file included from seccomp.c:34: seccomp.c: In function 'enable_sandbox_full': seccomp.c:50:52: error: '__SNR_fstatat' undeclared (first use in this function) 50 | if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) == -1) \ | ^~~~~~~~ seccomp.c:185:9: note: in expansion of macro 'ALLOW_RULE' 185 | ALLOW_RULE(fstatat64); | ^~~~~~~~~~ seccomp.c:50:52: note: each undeclared identifier is reported only once for each function it appears in 50 | if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) == -1) \ | ^~~~~~~~ seccomp.c:185:9: note: in expansion of macro 'ALLOW_RULE' 185 | ALLOW_RULE(fstatat64); | ^~~~~~~~~~ make[4]: *** [Makefile:562: seccomp.o] Error 1 make[4]: *** Waiting for unfinished jobs.... readelf.c: In function 'doshn': readelf.c:1509:43: warning: 'cap64.c_un.c_val' may be used uninitialized [-Wmaybe-uninitialized] 1509 | Elf64_Cap cap64; | ^~~~~ readelf.c:1508:43: warning: 'cap32.c_un.c_val' may be used uninitialized [-Wmaybe-uninitialized] 1508 | Elf32_Cap cap32; | ^~~~~ make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/file-5.45/src' make[3]: *** [Makefile:382: all] Error 2 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/file-5.45/src' make[2]: *** [Makefile:464: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/file-5.45' make[1]: *** [Makefile:373: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/file-5.45' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/file-5.45/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'