>>> host-file 5.41 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/dl/file/file-5.41.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41 -xf - >>> host-file 5.41 Patching >>> host-file 5.41 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-file 5.41 Patching libtool patching file /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/ltmain.sh Hunk #1 succeeded at 2697 (offset 10 lines). Hunk #2 succeeded at 4287 (offset 10 lines). Hunk #3 succeeded at 6582 (offset 28 lines). Hunk #4 succeeded at 6592 (offset 28 lines). Hunk #5 succeeded at 6885 (offset 28 lines). Hunk #6 succeeded at 7177 (offset 28 lines). Hunk #7 succeeded at 8143 (offset 31 lines). Hunk #8 succeeded at 10784 (offset 74 lines). >>> host-file 5.41 Configuring (cd /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/ && rm -rf config.cache; PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" PKG_CONFIG="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib/pkgconfig:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CFLAGS="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CXXFLAGS="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" LDFLAGS="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" LDFLAGS="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host" --sysconfdir="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/etc" --localstatedir="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/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-nls --disable-dependency-tracking --disable-libseccomp ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls 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 bzlib support... checking for xzlib support... checking for libseccomp support... no 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 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 whether /usr/bin/gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /usr/bin/gcc... none 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 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 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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 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... no 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 checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking whether sys/types.h defines makedev... 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 for inttypes.h... (cached) yes checking for unistd.h... (cached) 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 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... yes checking xlocale.h presence... yes checking for xlocale.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 sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no checking lzma.h usability... no checking lzma.h presence... no checking for lzma.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 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 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 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 BZ2_bzCompressInit in -lbz2... no checking for lzma_stream_decoder in -llzma... no 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, --disable-debug, --with-xmlto, --with-fop, --disable-nls >>> host-file 5.41 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" PKG_CONFIG="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib/pkgconfig:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/ make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41' /usr/bin/make all-recursive make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41' Making all in src make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/src' sed -e "s/X.YY/$(echo 5.41 | tr -d .)/" < ../src/magic.h.in > magic.h /usr/bin/make all-am make[4]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/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_tar.lo CC readelf.lo CC print.lo CC fsmagic.lo CC funcs.lo readelf.c: In function 'do_auxv_note': readelf.c:1046:2: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t off = 0; off + elsize <= descsz; off += elsize) { ^ readelf.c:1046:2: note: use option -std=c99 or -std=gnu99 to compile your code CC apptype.lo CC der.lo make[4]: *** [readelf.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... funcs.c: In function 'file_checkfmt': funcs.c:93:2: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *p = fmt; *p; p++) { ^ funcs.c:93:2: note: use option -std=c99 or -std=gnu99 to compile your code softmagic.c: In function 'mget': softmagic.c:1839:6: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] if (rv == 1) { ^ make[4]: *** [funcs.lo] Error 1 der.c: In function 'der_data': der.c:254:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < len; i++) { ^ der.c:254:2: note: use option -std=c99 or -std=gnu99 to compile your code make[4]: *** [der.lo] Error 1 make[4]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41' make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/host-file-5.41/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot'