checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /tools/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 file formats in man section 5... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for style of include used by make... GNU checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /mnt/lfs/tools/x86_64-unknown-linux-gnu/bin/ld checking if the linker (/mnt/lfs/tools/x86_64-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tools/bin/nm -B checking the name lister (/tools/bin/nm -B) 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-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /mnt/lfs/tools/x86_64-unknown-linux-gnu/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 ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /tools/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/mnt/lfs/tools/x86_64-unknown-linux-gnu/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 for ANSI C header files... (cached) 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 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 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... no checking zlib.h presence... no checking for zlib.h... no 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 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 fmtcheck... no 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 pread... yes checking for strcasestr... yes checking for gzopen in -lz... 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 config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/mnt/lfs/sources/file-5.17' Making all in src make[2]: Entering directory '/mnt/lfs/sources/file-5.17/src' make all-am make[3]: Entering directory '/mnt/lfs/sources/file-5.17/src' CC magic.lo CC ascmagic.lo CC softmagic.lo CC apprentice.lo softmagic.c: In function 'mprint': softmagic.c:412:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), buf) == -1) ^ softmagic.c:417:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] (unsigned char) v) == -1) ^ softmagic.c:434:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), buf) == -1) ^ softmagic.c:439:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] (unsigned short) v) == -1) ^ softmagic.c:456:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), buf) == -1) ^ softmagic.c:461:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] (uint32_t) v) == -1) ^ softmagic.c:478:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), buf) == -1) ^ softmagic.c:483:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] (unsigned long long) v) == -1) ^ softmagic.c:495:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), m->value.s) == -1) ^ softmagic.c:521:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), str) == -1) ^ softmagic.c:535:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] tbuf)) == -1) ^ softmagic.c:545:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] file_fmttime(p->l, 0, tbuf)) == -1) ^ softmagic.c:554:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] file_fmttime(p->q, FILE_T_LOCAL, tbuf)) == -1) ^ softmagic.c:563:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] file_fmttime(p->q, 0, tbuf)) == -1) ^ softmagic.c:572:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] file_fmttime(p->q, FILE_T_WINDOWS, tbuf)) == -1) ^ softmagic.c:586:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), buf) == -1) ^ softmagic.c:590:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%g"), vf) == -1) ^ softmagic.c:606:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), buf) == -1) ^ softmagic.c:610:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%g"), vd) == -1) ^ softmagic.c:626:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] rval = file_printf(ms, F(m->desc, "%s"), cp); ^ softmagic.c:640:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] if (file_printf(ms, F(m->desc, "%s"), m->value.s) == -1) ^ softmagic.c: In function 'mget': softmagic.c:1758:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] file_printf(ms, F(m->desc, "%u"), offset) == -1) ^ CC encoding.lo CC compress.lo CC is_tar.lo CC readelf.lo CC print.lo CC fsmagic.lo CC funcs.lo CC apptype.lo CC cdf.lo CC cdf_time.lo CC readcdf.lo CC strlcpy.lo CC strlcat.lo CC file.o CCLD libmagic.la CCLD file make[3]: Leaving directory '/mnt/lfs/sources/file-5.17/src' make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/src' Making all in magic make[2]: Entering directory '/mnt/lfs/sources/file-5.17/magic' ../src/file -C -m magic make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/magic' Making all in tests make[2]: Entering directory '/mnt/lfs/sources/file-5.17/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/tests' Making all in doc make[2]: Entering directory '/mnt/lfs/sources/file-5.17/doc' sed -e s@__CSECTION__@1@g \ -e s@__FSECTION__@4@g \ -e s@__VERSION__@5.17@g \ -e s@__MAGIC__@/tools/share/misc/magic@g ./file.man > file.1 sed -e s@__CSECTION__@1@g \ -e s@__FSECTION__@4@g \ -e s@__VERSION__@5.17@g \ -e s@__MAGIC__@/tools/share/misc/magic@g ./magic.man > magic.4 sed -e s@__CSECTION__@1@g \ -e s@__FSECTION__@4@g \ -e s@__VERSION__@5.17@g \ -e s@__MAGIC__@/tools/share/misc/magic@g ./libmagic.man > libmagic.3 make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/doc' Making all in python make[2]: Entering directory '/mnt/lfs/sources/file-5.17/python' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/python' make[2]: Entering directory '/mnt/lfs/sources/file-5.17' make[2]: Leaving directory '/mnt/lfs/sources/file-5.17' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17' Making install in src make[1]: Entering directory '/mnt/lfs/sources/file-5.17/src' make install-am make[2]: Entering directory '/mnt/lfs/sources/file-5.17/src' make[3]: Entering directory '/mnt/lfs/sources/file-5.17/src' /tools/bin/mkdir -p '/tools/lib' /bin/sh ../libtool --mode=install /tools/bin/install -c libmagic.la '/tools/lib' libtool: install: /tools/bin/install -c .libs/libmagic.so.1.0.0 /tools/lib/libmagic.so.1.0.0 libtool: install: (cd /tools/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so.1 || { rm -f libmagic.so.1 && ln -s libmagic.so.1.0.0 libmagic.so.1; }; }) libtool: install: (cd /tools/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so || { rm -f libmagic.so && ln -s libmagic.so.1.0.0 libmagic.so; }; }) libtool: install: /tools/bin/install -c .libs/libmagic.lai /tools/lib/libmagic.la libtool: finish: PATH="/tools/bin:/bin:/usr/bin:/sbin" ldconfig -n /tools/lib ldconfig: /tools/lib/libstdc++.so.6.0.18-gdb.py is not an ELF file - it has the wrong magic bytes at the start. ---------------------------------------------------------------------- Libraries have been installed in: /tools/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /tools/bin/mkdir -p '/tools/bin' /bin/sh ../libtool --mode=install /tools/bin/install -c file '/tools/bin' libtool: install: /tools/bin/install -c .libs/file /tools/bin/file /tools/bin/mkdir -p '/tools/include' /tools/bin/install -c -m 644 magic.h '/tools/include' make[3]: Leaving directory '/mnt/lfs/sources/file-5.17/src' make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/src' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17/src' Making install in magic make[1]: Entering directory '/mnt/lfs/sources/file-5.17/magic' make[2]: Entering directory '/mnt/lfs/sources/file-5.17/magic' make[2]: Nothing to be done for 'install-exec-am'. /tools/bin/mkdir -p '/tools/share/misc' /tools/bin/install -c -m 644 magic.mgc '/tools/share/misc' make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/magic' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17/magic' Making install in tests make[1]: Entering directory '/mnt/lfs/sources/file-5.17/tests' make[2]: Entering directory '/mnt/lfs/sources/file-5.17/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/tests' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17/tests' Making install in doc make[1]: Entering directory '/mnt/lfs/sources/file-5.17/doc' make[2]: Entering directory '/mnt/lfs/sources/file-5.17/doc' make[2]: Nothing to be done for 'install-exec-am'. /tools/bin/mkdir -p '/tools/share/man/man1' /tools/bin/install -c -m 644 file.1 '/tools/share/man/man1' /tools/bin/mkdir -p '/tools/share/man/man3' /tools/bin/install -c -m 644 libmagic.3 '/tools/share/man/man3' /tools/bin/mkdir -p '/tools/share/man/man4' /tools/bin/install -c -m 644 magic.4 '/tools/share/man/man4' /tools/bin/mkdir -p '/tools/share/man/man5' make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/doc' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17/doc' Making install in python make[1]: Entering directory '/mnt/lfs/sources/file-5.17/python' make[2]: Entering directory '/mnt/lfs/sources/file-5.17/python' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/mnt/lfs/sources/file-5.17/python' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17/python' make[1]: Entering directory '/mnt/lfs/sources/file-5.17' make[2]: Entering directory '/mnt/lfs/sources/file-5.17' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/mnt/lfs/sources/file-5.17' make[1]: Leaving directory '/mnt/lfs/sources/file-5.17' real 0m8.072s user 0m9.251s sys 0m1.230s