>>> host-file 5.33 Downloading --2018-09-08 17:47:09-- ftp://ftp.astron.com/pub/file/file-5.33.tar.gz => '/data/buildroot/buildroot-test/instance-1/output/build/.file-5.33.tar.gz.HVX5ot/output' Resolving ftp.astron.com (ftp.astron.com)... 38.117.134.18 Connecting to ftp.astron.com (ftp.astron.com)|38.117.134.18|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/file ... done. ==> SIZE file-5.33.tar.gz ... 817060 ==> PASV ... done. ==> RETR file-5.33.tar.gz ... done. Length: 817060 (798K) (unauthoritative) 0K .......... .......... .......... .......... .......... 6% 389K 2s 50K .......... .......... .......... .......... .......... 12% 1.51M 1s 100K .......... .......... .......... .......... .......... 18% 1.52M 1s 150K .......... .......... .......... .......... .......... 25% 68.6M 1s 200K .......... .......... .......... .......... .......... 31% 1.55M 0s 250K .......... .......... .......... .......... .......... 37% 1.54M 0s 300K .......... .......... .......... .......... .......... 43% 108M 0s 350K .......... .......... .......... .......... .......... 50% 86.9M 0s 400K .......... .......... .......... .......... .......... 56% 1.55M 0s 450K .......... .......... .......... .......... .......... 62% 105M 0s 500K .......... .......... .......... .......... .......... 68% 121M 0s 550K .......... .......... .......... .......... .......... 75% 1.57M 0s 600K .......... .......... .......... .......... .......... 81% 50.5M 0s 650K .......... .......... .......... .......... .......... 87% 45.5M 0s 700K .......... .......... .......... .......... .......... 93% 68.3M 0s 750K .......... .......... .......... .......... ....... 100% 1.60M=0.4s 2018-09-08 17:47:10 (2.21 MB/s) - '/data/buildroot/buildroot-test/instance-1/output/build/.file-5.33.tar.gz.HVX5ot/output' saved [817060] file-5.33.tar.gz: OK (sha256: 1c52c8c3d271cd898d5511c36a68059cda94036111ab293f01f83c3525b737c6) >>> host-file 5.33 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-1/dl/file/file-5.33.tar.gz | /data/buildroot/buildroot-test/instance-1/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33 -xf - >>> host-file 5.33 Patching Applying 0001-Avoid-reading-past-the-end-of-buffer-Rui-Reis.patch using patch: patching file src/readelf.c Hunk #1 succeeded at 825 (offset -17 lines). >>> host-file 5.33 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-file 5.33 Patching libtool patching file /data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/ltmain.sh >>> host-file 5.33 Configuring (cd /data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/ && rm -rf config.cache; PATH="/data/buildroot/buildroot-test/instance-1/output/host/bin:/data/buildroot/buildroot-test/instance-1/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-1/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-1/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-1/output/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/data/buildroot/buildroot-test/instance-1/output/host/include" CFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-1/output/host/include" CXXFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-1/output/host/include" LDFLAGS="-L/data/buildroot/buildroot-test/instance-1/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-1/output/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-1/output/host/include" LDFLAGS="-L/data/buildroot/buildroot-test/instance-1/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-1/output/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/data/buildroot/buildroot-test/instance-1/output/host" --sysconfdir="/data/buildroot/buildroot-test/instance-1/output/host/etc" --localstatedir="/data/buildroot/buildroot-test/instance-1/output/host/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-dependency-tracking ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/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... checking for libseccomp support... checking for file formats in man section 5... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... /usr/bin/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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc... none checking for /usr/bin/gcc option to accept ISO C99... none needed checking for /usr/bin/gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... /usr/bin/cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether /usr/bin/gcc and cc understand -c and -o together... yes checking whether byte ordering is bigendian... no checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /usr/bin/gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 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 /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... /usr/bin/ranlib checking command to parse /usr/bin/nm output from /usr/bin/gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /usr/bin/gcc static flag -static works... yes checking if /usr/bin/gcc supports -c -o file.o... yes checking if /usr/bin/gcc supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no ./configure: line 12515: gl_VISIBILITY: command not found checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdint.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for sig_t... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking for struct tm.tm_gmtoff... no checking whether struct tm is in sys/time.h or time.h... time.h 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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no 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 stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for gcc compiler warnings... yes checking for strerror... yes checking for strndup... yes checking for strtoul... 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 setlocale... yes checking for getopt_long... yes checking for asprintf... yes checking for vasprintf... yes checking for strlcpy... no checking for strlcat... no 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 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 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, --disable-debug, --with-xmlto, --with-fop >>> host-file 5.33 Building PATH="/data/buildroot/buildroot-test/instance-1/output/host/bin:/data/buildroot/buildroot-test/instance-1/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-1/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-1/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-1/output/host/share/pkgconfig" /usr/bin/make -j4 -C /data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/ make[1]: Entering directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33' /usr/bin/make all-recursive make[2]: Entering directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33' Making all in src make[3]: Entering directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/src' sed -e "s/X.YY/$(echo 5.33 | tr -d .)/" < ../src/magic.h.in > magic.h /usr/bin/make all-am make[4]: Entering directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/src' CC buffer.lo CC magic.lo CC apprentice.lo CC softmagic.lo CC ascmagic.lo CC encoding.lo CC compress.lo CC is_tar.lo CC readelf.lo CC print.lo CC fsmagic.lo readelf.c: In function 'donote': readelf.c:1027:13: warning: 'nh64.n_type' may be used uninitialized in this function [-Wmaybe-uninitialized] Elf64_Nhdr nh64; ^~~~ readelf.c:1026:13: warning: 'nh32.n_type' may be used uninitialized in this function [-Wmaybe-uninitialized] Elf32_Nhdr nh32; ^~~~ CC funcs.lo CC apptype.lo CC der.lo CC cdf.lo CC cdf_time.lo CC readcdf.lo CC strlcpy.lo CC strlcat.lo CC fmtcheck.lo CC file.o CC seccomp.o CCLD libmagic.la CCLD file make[4]: Leaving directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/src' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/src' Making all in magic make[3]: Entering directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/magic' ../src/file -C -m magic make[3]: *** [Makefile:764: magic.mgc] Bad system call make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/magic' make[2]: *** [Makefile:360: all-recursive] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33' make[1]: *** [Makefile:291: all] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33' make: *** [package/pkg-generic.mk:232: /data/buildroot/buildroot-test/instance-1/output/build/host-file-5.33/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-1/buildroot'