microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.22k stars 6.4k forks source link

[libmagic] Build error #34087

Closed modao007 closed 1 year ago

modao007 commented 1 year ago

Package: libmagic:x86-windows -> 5.40#2

Host Environment

Host: x64-windows Compiler: MSVC 19.16.27051.0 vcpkg-tool version: 2023-08-09-9990a4c9026811a312cb2af78bf77f3d9d288416 vcpkg-scripts version: 424ed5e67 2023-09-11 (2 weeks ago) To Reproduce

vcpkg install libmagic:x86-windows Failure logs

-- Using cached file-file-FILE5_40.tar.gz. -- Cleaning sources at D:/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source D:/Software/vcpkg/vcpkg/downloads/file-file-FILE5_40.tar.gz -- Applying patch 0001-Use-libtre.patch -- Applying patch 0002-Change-zlib-lib-name-to-match-CMake-output.patch -- Applying patch 0003-Fix-WIN32-macro-checks.patch -- Applying patch 0004-Typedef-POSIX-types-on-Windows.patch -- Applying patch 0005-Include-dirent.h-for-S_ISREG-and-S_ISDIR.patch -- Applying patch 0006-Remove-Wrap-POSIX-headers.patch -- Applying patch 0007-Substitute-unistd-macros-for-MSVC.patch -- Applying patch 0008-Add-FILENO-defines.patch -- Applying patch 0009-No-fcntl-in-magic.c.patch -- Applying patch 0010-Properly-check-for-the-presence-of-bitmasks.patch -- Applying patch 0011-Remove-pipe-related-functions-in-funcs.c.patch -- Applying patch 0012-Convert-MSYS2-paths-to-Windows-paths.patch -- Applying patch 0013-Check-for-backslash-in-argv-0-on-Windows.patch -- Applying patch 0014-Define-POSIX-macros-if-missing.patch -- Applying patch 0015-MSYS2-Remove-ioctl-call.patch -- Using source at D:/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean -- Getting CMake variables for x86-windows -- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst. -- Using cached msys2-automake-wrapper-20221207-1-any.pkg.tar.zst. -- Using cached msys2-binutils-2.40-1-x86_64.pkg.tar.zst. -- Using cached msys2-libtool-2.4.7-3-x86_64.pkg.tar.zst. -- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-pkgconf-1.9.4-1-x86_64.pkg.tar.zst. -- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst. -- Using cached msys2-bash-5.2.015-1-x86_64.pkg.tar.zst. -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst. -- Using cached msys2-file-5.44-5-x86_64.pkg.tar.zst. -- Using cached msys2-gawk-5.2.1-2-x86_64.pkg.tar.zst. -- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst. -- Using cached msys2-gzip-1.12-2-x86_64.pkg.tar.zst. -- Using cached msys2-diffutils-3.9-1-x86_64.pkg.tar.zst. -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst. -- Using cached msys2-autoconf2.71-2.71-1-any.pkg.tar.zst. -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst. -- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst. -- Using cached msys2-libintl-0.21-2-x86_64.pkg.tar.zst. -- Using cached msys2-zlib-1.2.13-1-x86_64.pkg.tar.zst. -- Using cached msys2-tar-1.34-3-x86_64.pkg.tar.zst. -- Using cached msys2-findutils-4.9.0-3-x86_64.pkg.tar.zst. -- Using cached msys2-gmp-6.2.1-2-x86_64.pkg.tar.zst. -- Using cached msys2-gcc-libs-11.3.0-3-x86_64.pkg.tar.zst. -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst. -- Using cached msys2-liblzma-5.4.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-libzstd-1.5.4-1-x86_64.pkg.tar.zst. -- Using cached msys2-libreadline-8.2.001-3-x86_64.pkg.tar.zst. -- Using cached msys2-mpfr-4.2.0-2-x86_64.pkg.tar.zst. -- Using cached msys2-libpcre-8.45-3-x86_64.pkg.tar.zst. -- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst. -- Using cached msys2-perl-5.36.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-ncurses-6.4-1-x86_64.pkg.tar.zst. -- Using cached msys2-libcrypt-2.1-4-x86_64.pkg.tar.zst. -- Using msys root at D:/Software/vcpkg/vcpkg/downloads/tools/msys2/d7266db249278763 -- Generating configure for x86-windows -- Finished generating configure for x86-windows -- Using cached mingw-w64-i686-pkgconf-1~1.8.0-2-any.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst. -- Using msys root at D:/Software/vcpkg/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f -- Configuring x86-windows-dbg CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): Command failed: D:/Software/vcpkg/vcpkg/downloads/tools/msys2/d7266db249278763/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile cl.exe -E' CC='compile cl.exe' CC_FOR_BUILD='touch a.out | touch conftest.exe | true' CPP_FOR_BUILD='touch a.out | touch conftest.exe | true' CXX_FOR_BUILD='touch a.out | touch conftest.exe | true' CXX='compile cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib lib.exe' LD='link.exe -verbose' RANLIB=':' STRIP=':' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=':' AS=':' ./../src/FILE5_40-612ec1dc40.clean/configure --build=x86_64-pc-mingw32 --host=i686-pc-mingw32 \"ac_cv_prog_ac_ct_STRIP=:\" \"gl_cv_double_slash_root=yes\" \"ac_cv_func_memmove=yes\" \"--disable-silent-rules\" \"--verbose\" \"--enable-shared\" \"--disable-static\" \"--prefix=/D/Software/vcpkg/vcpkg/installed/x86-windows/debug\" \"--bindir=\${prefix}/../tools/libmagic/debug/bin\" \"--sbindir=\${prefix}/../tools/libmagic/debug/sbin\" \"--libdir=\${prefix}/lib\" \"--includedir=\${prefix}/../include\" \"--datarootdir=\${prefix}/share/libmagic\"" Working Directory: D:/Software/vcpkg/vcpkg/buildtrees/libmagic/x86-windows-dbg Error code: 1 See logs for more information: D:\Software\vcpkg\vcpkg\buildtrees\libmagic\config-x86-windows-dbg-config.log D:\Software\vcpkg\vcpkg\buildtrees\libmagic\config-x86-windows-dbg-out.log D:\Software\vcpkg\vcpkg\buildtrees\libmagic\config-x86-windows-dbg-err.log

Call Stack (most recent call first): scripts/cmake/vcpkg_configure_make.cmake:838 (vcpkg_execute_required_process) ports/libmagic/portfile.cmake:35 (vcpkg_configure_make) scripts/ports.cmake:147 (include)

D:\Software\vcpkg\vcpkg\buildtrees\libmagic\config-x86-windows-dbg-config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by file configure 5.40, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./../src/FILE5_40-612ec1dc40.clean/configure --build=x86_64-pc-mingw32 --host=i686-pc-mingw32 ac_cv_prog_ac_ct_STRIP=: gl_cv_double_slash_root=yes ac_cv_func_memmove=yes --disable-silent-rules --verbose --enable-shared --disable-static --prefix=/D/Software/vcpkg/vcpkg/installed/x86-windows/debug '--bindir=${prefix}/../tools/libmagic/debug/bin' '--sbindir=${prefix}/../tools/libmagic/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libmagic' ## --------- ## ## Platform. ## ## --------- ## hostname = DESKTOP-7DEDBBR uname -m = x86_64 uname -r = 3.4.6.x86_64 uname -s = MSYS_NT-10.0-19044 uname -v = 2023-02-15 18:03 UTC /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /d/Software/VS2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/HostX64/x86/ PATH: /d/Software/VS2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/HostX64/x64/ PATH: /d/Software/VS2017/Enterprise/Common7/IDE/VC/VCPackages/ PATH: /d/Software/VS2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TestWindow/ PATH: /d/Software/VS2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/ PATH: /d/Software/VS2017/Enterprise/MSBuild/15.0/bin/Roslyn/ PATH: /d/Software/VS2017/Enterprise/Team Tools/Performance Tools/ PATH: /d/Software/VS2017/Shared/Common/VSPerfCollectionTools/ PATH: /c/Program Files (x86)/HTML Help Workshop/ PATH: /d/Windows Kits/10/bin/10.0.17763.0/x64/ PATH: /d/Windows Kits/10/bin/x64/ PATH: /d/Software/VS2017/Enterprise/MSBuild/15.0/bin/ PATH: /c/Windows/Microsoft.NET/Framework64/v4.0.30319/ PATH: /d/Software/VS2017/Enterprise/Common7/IDE/ PATH: /d/Software/VS2017/Enterprise/Common7/Tools/ PATH: /d/Software/vcpkg/vcpkg/downloads/PowerShell-7.2.11-win-x86/ PATH: /d/Software/vcpkg/vcpkg/scripts/buildsystems/make_wrapper/ PATH: /usr/share/automake-1.16/ PATH: /usr/bin/ PATH: /c/Windows/system32/ PATH: /c/Windows/ PATH: /c/Windows/system32/Wbem/ PATH: /c/Windows/system32/WindowsPowerShell/v1.0/ PATH: /d/Software/VS2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ PATH: /d/Software/VS2017/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ PATH: /d/Software/vcpkg/vcpkg/downloads/tools/ninja/1.10.2-windows/ PATH: /d/Software/vcpkg/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2740: looking for aux files: ltmain.sh compile config.guess config.sub missing install-sh configure:2753: trying ./../src/FILE5_40-612ec1dc40.clean/ ... Skipped 15524 lines ... cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : û���ҵ� conftest.exe ����һ����������û��������������ִ����ȫ���� LINK : fatal error LNK1104: �޷����ļ���seccomp.lib�� cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” configure:15597: $? = 2 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "file" | #define PACKAGE_TARNAME "file" | #define PACKAGE_VERSION "5.40" | #define PACKAGE_STRING "file 5.40" | #define PACKAGE_BUGREPORT "christos@astron.com" | #define PACKAGE_URL "" | #define PACKAGE "file" | #define VERSION "5.40" | #define BUILTIN_ELF 1 | #define ELFCORE 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define LT_OBJDIR ".libs/" | #define HAVE_STDINT_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_BZLIB_H 1 | #define HAVE_LZMA_H 1 | #define HAVE_STRUCT_STAT_ST_RDEV 1 | #define HAVE_DECL_TZNAME 0 | #define HAVE_DECL_TZNAME 0 | #define HAVE_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 0 | #define HAVE_MBSTATE_T 1 | #define pid_t int | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define vfork fork | #define HAVE_MBRTOWC 1 | #define HAVE_UTIME 1 | #define HAVE_STRTOF 1 | #define HAVE_LIBLZMA 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char seccomp_init (); | int | main (void) | { | return seccomp_init (); | ; | return 0; | } configure:15607: result: no configure:15619: checking for library containing tre_regexec configure:15649: compile cl.exe -o conftest.exe -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DWIN32 -D_WINDOWS -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_DEBUG -Xlinker -Xlinker -Xlinker -LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL conftest.c -llzma -lzlibd -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 >&5 cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” conftest.c cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� conftest.obj : error LNK2019: �޷��������ⲿ���� _tre_regexec���÷����ں��� _main �б����� conftest.exe : fatal error LNK1120: 1 ���޷��������ⲿ���� cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” configure:15649: $? = 2 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "file" | #define PACKAGE_TARNAME "file" | #define PACKAGE_VERSION "5.40" | #define PACKAGE_STRING "file 5.40" | #define PACKAGE_BUGREPORT "christos@astron.com" | #define PACKAGE_URL "" | #define PACKAGE "file" | #define VERSION "5.40" | #define BUILTIN_ELF 1 | #define ELFCORE 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define LT_OBJDIR ".libs/" | #define HAVE_STDINT_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_BZLIB_H 1 | #define HAVE_LZMA_H 1 | #define HAVE_STRUCT_STAT_ST_RDEV 1 | #define HAVE_DECL_TZNAME 0 | #define HAVE_DECL_TZNAME 0 | #define HAVE_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 0 | #define HAVE_MBSTATE_T 1 | #define pid_t int | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define vfork fork | #define HAVE_MBRTOWC 1 | #define HAVE_UTIME 1 | #define HAVE_STRTOF 1 | #define HAVE_LIBLZMA 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char tre_regexec (); | int | main (void) | { | return tre_regexec (); | ; | return 0; | } configure:15649: compile cl.exe -o conftest.exe -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DWIN32 -D_WINDOWS -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_DEBUG -Xlinker -Xlinker -Xlinker -LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL conftest.c -ltre -llzma -lzlibd -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 >&5 cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” conftest.c cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : warning LNK4044: �޷�ʶ���ѡ�/Xlinker�����Ѻ��� LINK : fatal error LNK1104: �޷����ļ���tre.lib�� cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” cl: 命令行 warning D9002 :忽略未知选项“-Xcompiler” configure:15649: $? = 2 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "file" | #define PACKAGE_TARNAME "file" | #define PACKAGE_VERSION "5.40" | #define PACKAGE_STRING "file 5.40" | #define PACKAGE_BUGREPORT "christos@astron.com" | #define PACKAGE_URL "" | #define PACKAGE "file" | #define VERSION "5.40" | #define BUILTIN_ELF 1 | #define ELFCORE 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define LT_OBJDIR ".libs/" | #define HAVE_STDINT_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_WCTYPE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_BZLIB_H 1 | #define HAVE_LZMA_H 1 | #define HAVE_STRUCT_STAT_ST_RDEV 1 | #define HAVE_DECL_TZNAME 0 | #define HAVE_DECL_TZNAME 0 | #define HAVE_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 0 | #define HAVE_MBSTATE_T 1 | #define pid_t int | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define vfork fork | #define HAVE_MBRTOWC 1 | #define HAVE_UTIME 1 | #define HAVE_STRTOF 1 | #define HAVE_LIBLZMA 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | char tre_regexec (); | int | main (void) | { | return tre_regexec (); | ; | return 0; | } configure:15669: result: no configure:15677: error: libtre is required to build file(1) with MinGW ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-mingw32 ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=no ac_cv_c_int32_t=yes ac_cv_c_int64_t=yes ac_cv_c_uint16_t=yes ac_cv_c_uint32_t=yes ac_cv_c_uint64_t=yes ac_cv_c_uint8_t=yes ac_cv_c_undeclared_builtin_options='none needed' ac_cv_env_CC_set=set ac_cv_env_CC_value='compile cl.exe' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-DWIN32 -D_WINDOWS -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_DEBUG' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Xlinker -Xlinker -Xlinker -LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32' ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-mingw32 ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-mingw32 ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext=.exe ac_cv_func_asctime_r=no ac_cv_func_asprintf=no ac_cv_func_ctime_r=no ac_cv_func_dprintf=no ac_cv_func_fmtcheck=no ac_cv_func_fork=no ac_cv_func_fork_works=no ac_cv_func_freelocale=no ac_cv_func_getline=no ac_cv_func_getopt_long=no ac_cv_func_getpagesize=no ac_cv_func_gmtime_r=no ac_cv_func_localtime_r=no ac_cv_func_mbrtowc=yes ac_cv_func_memmem=no ac_cv_func_memmove=yes ac_cv_func_mkostemp=no ac_cv_func_mkstemp=no ac_cv_func_mmap_fixed_mapped=no ac_cv_func_newlocale=no ac_cv_func_pipe2=no ac_cv_func_pread=no ac_cv_func_strcasestr=no ac_cv_func_strlcat=no ac_cv_func_strlcpy=no ac_cv_func_strndup=no ac_cv_func_strtof=yes ac_cv_func_uselocale=no ac_cv_func_utime=yes ac_cv_func_utimes=no ac_cv_func_vasprintf=no ac_cv_func_vfork=no ac_cv_func_vfork_works=no ac_cv_func_wcwidth=no ac_cv_have_decl_daylight=no ac_cv_have_decl_tzname=no ac_cv_header_bzlib_h=yes ac_cv_header_dlfcn_h=no ac_cv_header_err_h=no ac_cv_header_fcntl_h=yes ac_cv_header_getopt_h=no ac_cv_header_inttypes_h=yes ac_cv_header_lzma_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=no ac_cv_header_sys_mkdev_h=no ac_cv_header_sys_mman_h=no ac_cv_header_sys_param_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_sysmacros_h=no ac_cv_header_sys_time_h=no ac_cv_header_sys_types_h=yes ac_cv_header_sys_utime_h=yes ac_cv_header_sys_wait_h=no ac_cv_header_unistd_h=no ac_cv_header_utime_h=no ac_cv_header_vfork_h=no ac_cv_header_wchar_h=yes ac_cv_header_wctype_h=yes ac_cv_header_xlocale_h=no ac_cv_header_zlib_h=yes ac_cv_host=i686-pc-mingw32 ac_cv_lib_bz2_BZ2_bzCompressInit=no ac_cv_lib_lzma_lzma_stream_decoder=yes ac_cv_lib_seccomp_seccomp_init=no ac_cv_member_struct_stat_st_rdev=yes ac_cv_member_struct_tm_tm_gmtoff=no ac_cv_member_struct_tm_tm_zone=no ac_cv_objext=obj ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AR='ar-lib lib.exe' ac_cv_prog_AWK=gawk ac_cv_prog_CC='compile cl.exe' ac_cv_prog_DLLTOOL='link.exe -verbose -dll' ac_cv_prog_RANLIB=: ac_cv_prog_STRIP=: ac_cv_prog_ac_ct_FILECMD=file ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_STRIP=: ac_cv_prog_cc_c11=no ac_cv_prog_cc_c89=no ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_gzopen=-lzlibd ac_cv_search_tre_regexec=no ac_cv_should_define__xopen_source=no ac_cv_struct_option_getopt_h=no ac_cv_struct_tm=time.h ac_cv_struct_tm_isdst=yes ac_cv_struct_tm_zone=no ac_cv_sys_file_offset_bits=unknown ac_cv_sys_large_files=unknown ac_cv_sys_largefile_CC=no ac_cv_sys_largefile_source=unknown ac_cv_type_intptr_t=yes ac_cv_type_mbstate_t=yes ac_cv_type_off_t=yes ac_cv_type_pid_t=no ac_cv_type_sig_t=no ac_cv_type_size_t=yes ac_cv_type_uintptr_t=yes ac_cv_var_daylight=no ac_cv_var_tzname=no am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gl_cv_double_slash_root=yes lt_cv_ar_at_file=@ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd=func_win32_libid lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='MS dumpbin' lt_cv_objdir=.libs lt_cv_path_LD='link.exe -verbose' lt_cv_path_NM='dumpbin.exe -symbols -headers' lt_cv_path_mainfest_tool=yes lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-DDLL_EXPORT -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=no lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback lt_cv_sys_global_symbol_pipe='gawk '\'' {last_section=section; section=$ 3}; /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]}; /Section length .*#relocs.*(pick any)/{hide[last_section]=1}; /^ *Symbol name *: /{split($ 0,sn,":"); si=substr(sn[2],2)}; /^ *Type *: code/{print "T",si,substr(si,length(prfx))}; /^ *Type *: data/{print "I",si,substr(si,length(prfx))}; $ 0!~/External *\|/{next}; / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next}; {if(hide[section]) next}; {f="D"}; $ 0~/\(\).*\|/{f="T"}; {split($ 0,a,/\||\r/); split(a[2],s)}; s[1]~/^[@?]/{print f,s[1],s[1]; next}; s[1]~prfx {split(s[1],t,"@"); print f,t[1],substr(t[1],length(prfx))} '\'' prfx=^_ | /usr/bin/sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^I .* \(.*\)$/ {"\1", (void *) 0},/p'\'' -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^I .* \(lib.*\)$/ {"\1", (void *) 0},/p'\'' -e '\''s/^I .* \(.*\)$/ {"lib\1", (void *) 0},/p'\'' -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'\'' -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGISTW][ABCDGISTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import='/usr/bin/sed -n -e '\''s/^I .* \(.*\)$/\1/p'\''' lt_cv_sys_max_cmd_len=8192 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/d/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean/missing'\'' aclocal-1.16' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar-lib lib.exe' AUTOCONF='${SHELL} '\''/d/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/d/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/d/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean/missing'\'' automake-1.16' AWK='gawk' CC='compile cl.exe' CCDEPMODE='depmode=none' CFLAGS='-Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1' CPPFLAGS='-DWIN32 -D_WINDOWS -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_DEBUG' CSCOPE='cscope' CTAGS='ctags' CYGPATH_W='cygpath -w' DEFS='' DEPDIR='.deps' DLLTOOL='link.exe -verbose -dll' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ETAGS='etags' EXEEXT='.exe' FGREP='/usr/bin/grep -F' FILECMD='file' FSECT5_FALSE='' FSECT5_TRUE='#' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IS_CROSS_COMPILE_FALSE='' IS_CROSS_COMPILE_TRUE='' LD='link.exe -verbose' LDFLAGS='-Xlinker -Xlinker -Xlinker -LD:/Software/vcpkg/vcpkg/installed/x86-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:X86 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL' LIBOBJS=' getopt_long.obj asprintf.obj vasprintf.obj strlcpy.obj strlcat.obj getline.obj ctime_r.obj asctime_r.obj localtime_r.obj gmtime_r.obj pread.obj strcasestr.obj fmtcheck.obj dprintf.obj' LIBS='-llzma -lzlibd -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='cp -pR' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} '\''/d/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean/missing'\'' makeinfo' MANIFEST_TOOL='mt' MINGW='1' MINGW_FALSE='#' MINGW_TRUE='' MKDIR_P='/usr/bin/mkdir -p' NM='dumpbin.exe -symbols -headers' NMEDIT='' OBJDUMP='objdump' OBJEXT='obj' OTOOL64='' OTOOL='' PACKAGE='file' PACKAGE_BUGREPORT='christos@astron.com' PACKAGE_NAME='file' PACKAGE_STRING='file 5.40' PACKAGE_TARNAME='file' PACKAGE_URL='' PACKAGE_VERSION='5.40' PATH_SEPARATOR=':' RANLIB=':' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP=':' VERSION='5.40' WARNINGS='' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${prefix}/../tools/libmagic/debug/bin' build='x86_64-pc-mingw32' build_alias='x86_64-pc-mingw32' build_cpu='x86_64' build_os='mingw32' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share/libmagic' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' fsect='4' host='i686-pc-mingw32' host_alias='i686-pc-mingw32' host_cpu='i686' host_os='mingw32' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/../include' infodir='${datarootdir}/info' install_sh='${SHELL} /d/Software/vcpkg/vcpkg/buildtrees/libmagic/src/FILE5_40-612ec1dc40.clean/install-sh' libdir='${prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgdatadir='$(datadir)/misc' prefix='/D/Software/vcpkg/vcpkg/installed/x86-windows/debug' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${prefix}/../tools/libmagic/debug/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "file" #define PACKAGE_TARNAME "file" #define PACKAGE_VERSION "5.40" #define PACKAGE_STRING "file 5.40" #define PACKAGE_BUGREPORT "christos@astron.com" #define PACKAGE_URL "" #define PACKAGE "file" #define VERSION "5.40" #define BUILTIN_ELF 1 #define ELFCORE 1 #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_WCHAR_H 1 #define STDC_HEADERS 1 #define _ALL_SOURCE 1 #define _DARWIN_C_SOURCE 1 #define _GNU_SOURCE 1 #define _HPUX_ALT_XOPEN_SOCKET_API 1 #define _NETBSD_SOURCE 1 #define _OPENBSD_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 #define __STDC_WANT_LIB_EXT2__ 1 #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 #define _TANDEM_SOURCE 1 #define __EXTENSIONS__ 1 #define LT_OBJDIR ".libs/" #define HAVE_STDINT_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_WCHAR_H 1 #define HAVE_WCTYPE_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UTIME_H 1 #define HAVE_ZLIB_H 1 #define HAVE_BZLIB_H 1 #define HAVE_LZMA_H 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_DECL_TZNAME 0 #define HAVE_DECL_TZNAME 0 #define HAVE_TM_ISDST 1 #define HAVE_DECL_DAYLIGHT 0 #define HAVE_MBSTATE_T 1 #define pid_t int #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define vfork fork #define HAVE_MBRTOWC 1 #define HAVE_UTIME 1 #define HAVE_STRTOF 1 #define HAVE_LIBLZMA 1 configure: exit 1
D:\Software\vcpkg\vcpkg\buildtrees\libmagic\config-x86-windows-dbg-out.log checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-pc-mingw32-strip... : checking for a race-free 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... checking for file formats in man section 5... no checking build system type... x86_64-pc-mingw32 checking host system type... i686-pc-mingw32 checking whether make supports the include directive... yes (GNU style) checking for i686-pc-mingw32-gcc... compile cl.exe checking whether the C compiler works... yes checking for C compiler default output file name... conftest.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... obj checking whether the compiler supports GNU C... no checking whether compile cl.exe accepts -g... yes checking for compile cl.exe option to enable C11 features... unsupported checking for compile cl.exe option to enable C99 features... unsupported checking for compile cl.exe option to enable C89 features... unsupported checking whether compile cl.exe understands -c and -o together... yes checking dependency style of compile cl.exe... 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... no checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... no checking for wchar.h... yes checking for minix/config.h... no checking for sys/param.h... no 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... no checking whether ln -s works... no, using cp -pR checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for non-GNU ld... link.exe -verbose checking if the linker (link.exe -verbose) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... dumpbin.exe -symbols -headers checking the name lister (dumpbin.exe -symbols -headers) interface... MS dumpbin checking the maximum length of command line arguments... 8192 checking how to convert x86_64-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32 checking how to convert x86_64-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32 checking for link.exe -verbose option to reload object files... -r checking for i686-pc-mingw32-file... no checking for file... file checking for i686-pc-mingw32-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for i686-pc-mingw32-dlltool... link.exe -verbose -dll checking how to associate runtime and link libraries... func_cygming_dll_for_implib_fallback checking for i686-pc-mingw32-ar... ar-lib lib.exe checking for archiver @FILE support... @ checking for i686-pc-mingw32-strip... (cached) : checking for i686-pc-mingw32-ranlib... : checking command to parse dumpbin.exe -symbols -headers output from compile cl.exe 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 i686-pc-mingw32-mt... no checking for mt... mt checking if mt is a manifest tool... yes checking for dlfcn.h... no checking for objdir... .libs checking for compile cl.exe option to produce PIC... -DDLL_EXPORT -DPIC checking if compile cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes checking if compile cl.exe static flag works... yes checking if compile cl.exe supports -c -o file.obj... yes checking if compile cl.exe supports -c -o file.obj... (cached) yes checking whether the compile cl.exe linker (link.exe -verbose) supports shared libraries... yes checking dynamic linker characteristics... Win32 link.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for egrep... (cached) /usr/bin/grep -E checking for sys/mkdev.h... no checking for sys/sysmacros.h... no checking for sys/wait.h that is POSIX.1 compatible... no checking for stdint.h... (cached) yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) no checking for utime.h... no checking for wchar.h... (cached) yes checking for wctype.h... yes checking for getopt.h... no checking for err.h... no checking for xlocale.h... no checking for sys/mman.h... no checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/utime.h... yes checking for sys/time.h... no checking for sys/sysmacros.h... (cached) no checking for zlib.h... yes checking for bzlib.h... yes checking for lzma.h... yes checking for sig_t... no 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 compile cl.exe options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... no checking whether tzname is declared... no checking for tzname... no checking for tm_zone in struct tm... no checking whether tzname is declared... (cached) no checking for tzname... (cached) no checking for tm_isdst in struct tm... yes checking whether daylight is declared... no checking for daylight... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... unknown checking for _LARGE_FILES value needed for large files... unknown checking for _LARGEFILE_SOURCE value needed for large files... unknown checking for mbstate_t... yes checking for struct option in getopt... no checking for pid_t... no 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... no checking for fork... no checking for vfork... no checking for working mmap... no checking whether mbrtowc and mbstate_t are properly declared... yes checking for gcc compiler warnings... no checking for strndup... no checking for mkstemp... no checking for mkostemp... no checking for utimes... no checking for utime... yes checking for wcwidth... no checking for strtof... yes checking for newlocale... no checking for uselocale... no checking for freelocale... no checking for memmem... no checking for pipe2... no checking for getopt_long... no checking for asprintf... no checking for vasprintf... no checking for strlcpy... no checking for strlcat... no checking for getline... no checking for ctime_r... no checking for asctime_r... no checking for localtime_r... no checking for gmtime_r... no checking for pread... no checking for strcasestr... no checking for fmtcheck... no checking for dprintf... no checking for library containing gzopen... -lzlibd checking for BZ2_bzCompressInit in -lbz2... no checking for lzma_stream_decoder in -llzma... yes checking for seccomp_init in -lseccomp... no checking for library containing tre_regexec... no
D:\Software\vcpkg\vcpkg\buildtrees\libmagic\config-x86-windows-dbg-err.log configure: WARNING: using cross tools not prefixed with host triplet ./../src/FILE5_40-612ec1dc40.clean/configure: line 13500: gl_VISIBILITY: command not found ./../src/FILE5_40-612ec1dc40.clean/configure: line 15477: have_zlib: command not found configure: error: libtre is required to build file(1) with MinGW
FrankXie05 commented 1 year ago

Same issue: https://github.com/microsoft/vcpkg/issues/11832

FrankXie05 commented 1 year ago

This issue hasn’t been updated for a long time; if it is still an issue, please reopen this issue.