microsoft / vcpkg

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

[gmp] Build error #28957

Closed apurvazaveri closed 1 year ago

apurvazaveri commented 1 year ago

Host Environment

To Reproduce

Steps to reproduce the behavior:

./vcpkg/vcpkg install cgal ─╯

Failure logs

./vcpkg/vcpkg install cgal ─╯ Computing installation plan... The following packages will be built and installed: cgal[core]:x64-osx -> 5.5.1

Call Stack (most recent call first): scripts/cmake/vcpkg_configure_make.cmake:610 (vcpkg_execute_required_process) ports/gmp/portfile.cmake:82 (vcpkg_configure_make) scripts/ports.cmake:147 (include)

error: building gmp:x64-osx failed with: BUILD_FAILED error: Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+gmp You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[gmp]+Build+error Include '[gmp] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above. vcpkg-tool version: 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9 vcpkg-scripts version: 472ed329f 2023-01-13 (23 hours ago)

Please use the prefilled template from /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/installed/vcpkg/issue_body.md when reporting your issue.

╭─    ~/Doc/my_/V/t/openmvs_011423 ────── 127 ✘  with apzaveri@apzaveri-mp  at 02:18:56 PM  ─╮ ╰─ ./vcpkg/vcpkg install gmp ─╯ Computing installation plan... The following packages will be built and installed: gmp[core]:x64-osx -> 6.2.1#14 Detecting compiler hash for triplet x64-osx... Restored 0 package(s) from /Users/apzaveri/.cache/vcpkg/archives in 15.14 us. Use --debug to see more details. Installing 1/1 gmp:x64-osx... Building gmp[core]:x64-osx... -- Using cached gmp-6.2.1.tar.xz. -- Using cached gmp-arm64-asm-fix-5f32dbc41afc.patch. -- Cleaning sources at /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/downloads/gmp-6.2.1.tar.xz -- Applying patch asmflags.patch -- Applying patch cross-tools.patch -- Applying patch subdirs.patch -- Applying patch msvc_symbol.patch -- Applying patch arm64-coff.patch -- Applying patch /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/downloads/gmp-arm64-asm-fix-5f32dbc41afc.patch -- Using source at /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean -- Found external ninja('1.11.0'). -- Getting CMake variables for x64-osx -- Getting CMake variables for x64-osx-dbg -- Getting CMake variables for x64-osx-rel -- Generating configure for x64-osx CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): Command failed: /usr/local/bin/autoreconf -vfi Working Directory: /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean/ Error code: 1 See logs for more information: /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/autoconf-x64-osx-err.log

Call Stack (most recent call first): scripts/cmake/vcpkg_configure_make.cmake:610 (vcpkg_execute_required_process) ports/gmp/portfile.cmake:82 (vcpkg_configure_make) scripts/ports.cmake:147 (include)

error: building gmp:x64-osx failed with: BUILD_FAILED error: Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+gmp You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[gmp]+Build+error Include '[gmp] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above. vcpkg-tool version: 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9 vcpkg-scripts version: 472ed329f 2023-01-13 (23 hours ago)

Please use the prefilled template from /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/installed/vcpkg/issue_body.md when reporting your issue.

Additional context

Add any other context about the problem here, such as what you have already tried to resolve the issue.

autoantwort commented 1 year ago

Please use the prefilled template from /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/installed/vcpkg/issue_body.md when reporting your issue.

apurvazaveri commented 1 year ago

Package: gmp[core]:x64-osx -> 6.2.1#14

Host Environment

To Reproduce

vcpkg install gmp

Failure logs

-- Using cached gmp-6.2.1.tar.xz.
-- Using cached gmp-arm64-asm-fix-5f32dbc41afc.patch.
-- Cleaning sources at /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/downloads/gmp-6.2.1.tar.xz
-- Applying patch asmflags.patch
-- Applying patch cross-tools.patch
-- Applying patch subdirs.patch
-- Applying patch msvc_symbol.patch
-- Applying patch arm64-coff.patch
-- Applying patch /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/downloads/gmp-arm64-asm-fix-5f32dbc41afc.patch
-- Using source at /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-osx
-- Getting CMake variables for x64-osx-dbg
-- Getting CMake variables for x64-osx-rel
-- Generating configure for x64-osx
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/local/bin/autoreconf -vfi
    Working Directory: /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean/
    Error code: 1
    See logs for more information:
      /Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/autoconf-x64-osx-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:610 (vcpkg_execute_required_process)
  ports/gmp/portfile.cmake:82 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)
/Users/apzaveri/Documents/my_work/VirtualMakeOver/third_party/openmvs_011423/vcpkg/buildtrees/gmp/autoconf-x64-osx-err.log ``` autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/local/Cellar/autoconf/2.71/bin/autoconf --force configure.ac:87: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:87: the top level configure.ac:105: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:105: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:105: the top level configure.ac:130: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:130: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:130: the top level configure.ac:139: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:139: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:139: the top level configure.ac:148: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:148: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:148: the top level configure.ac:162: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:162: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:162: the top level configure.ac:176: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:176: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:176: the top level configure.ac:195: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:195: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:195: the top level configure.ac:229: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:229: the top level configure.ac:239: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:239: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:239: the top level configure.ac:249: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:249: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:249: the top level configure.ac:259: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:259: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:259: the top level configure.ac:2029: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: the \"none\" host is obsolete, use --disable-assembly ... Skipped 428 lines ... configure.ac:3693: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3693: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:1885: GMP_ASM_BYTE is expanded from... acinclude.m4:2279: GMP_ASM_W32 is expanded from... configure.ac:3693: the top level configure.ac:3693: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3693: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:1885: GMP_ASM_BYTE is expanded from... acinclude.m4:2279: GMP_ASM_W32 is expanded from... configure.ac:3693: the top level configure.ac:3693: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3693: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2279: GMP_ASM_W32 is expanded from... configure.ac:3693: the top level configure.ac:3694: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3694: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:1797: GMP_ASM_ALIGN_LOG is expanded from... configure.ac:3694: the top level configure.ac:3718: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3718: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2790: GMP_ASM_IA64_ALIGN_OK is expanded from... configure.ac:3718: the top level configure.ac:3721: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3721: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2904: GMP_ASM_M68K_INSTRUCTION is expanded from... configure.ac:3721: the top level configure.ac:3722: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3722: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2935: GMP_ASM_M68K_ADDRESSING is expanded from... configure.ac:3722: the top level configure.ac:3722: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3722: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2935: GMP_ASM_M68K_ADDRESSING is expanded from... configure.ac:3722: the top level configure.ac:3723: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3723: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2972: GMP_ASM_M68K_BRANCHES is expanded from... configure.ac:3723: the top level configure.ac:3726: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3726: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3011: GMP_ASM_POWERPC_PIC_ALWAYS is expanded from... configure.ac:3726: the top level configure.ac:3727: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3727: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3048: GMP_ASM_POWERPC_R_REGISTERS is expanded from... configure.ac:3727: the top level configure.ac:3727: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3727: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3048: GMP_ASM_POWERPC_R_REGISTERS is expanded from... configure.ac:3727: the top level configure.ac:3775: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3775: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3073: GMP_ASM_SPARC_REGISTER is expanded from... configure.ac:3775: the top level configure.ac:3778: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3778: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3094: GMP_ASM_SPARC_GOTDATA is expanded from... configure.ac:3778: the top level configure.ac:3779: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3779: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3118: GMP_ASM_SPARC_SHARED_THUNKS is expanded from... configure.ac:3779: the top level configure.ac:3782: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3782: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:1856: GMP_ASM_ALIGN_FILL_0x90 is expanded from... configure.ac:3782: the top level configure.ac:3784: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3784: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2651: GMP_ASM_X86_MULX is expanded from... configure.ac:3784: the top level configure.ac:3786: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3786: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2163: GMP_ASM_COFF_TYPE is expanded from... configure.ac:3786: the top level configure.ac:3791: warning: AC_LIBTOOL_PROG_COMPILER_PIC is m4_require'd but not m4_defun'd acinclude.m4:2363: GMP_ASM_X86_GOT_UNDERSCORE is expanded from... configure.ac:3791: the top level configure.ac:3791: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3791: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2363: GMP_ASM_X86_GOT_UNDERSCORE is expanded from... configure.ac:3791: the top level configure.ac:3792: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3792: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:2587: GMP_ASM_X86_SHLDL_CL is expanded from... configure.ac:3792: the top level configure.ac:3794: warning: AC_ENABLE_SHARED is m4_require'd but not m4_defun'd acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from... configure.ac:3794: the top level configure.ac:3794: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from... configure.ac:3794: the top level configure.ac:3794: warning: The macro `AC_FD_CC' is obsolete. configure.ac:3794: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from... configure.ac:3794: the top level configure.ac:3997: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:411: AM_PROG_LEX is expanded from... configure.ac:3997: the top level configure.ac:4008: warning: AC_OUTPUT should be used without arguments. configure.ac:4008: You should run autoupdate. configure.ac:2664: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:2752: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:2875: error: possibly undefined macro: AC_CHECK_LIBM configure:11987: error: possibly undefined macro: AC_PROG_NM configure:16290: error: possibly undefined macro: AC_LIBTOOL_PROG_COMPILER_PIC configure:16387: error: possibly undefined macro: AC_ENABLE_SHARED autoreconf: error: /usr/local/Cellar/autoconf/2.71/bin/autoconf failed with exit status: 1 ```

Additional context

autoantwort commented 1 year ago

Try brew install libtool

apurvazaveri commented 1 year ago

Thanks, that works!

Jake-The-D0g commented 1 year ago

Package: gmp[core]:x64-windows -> 6.2.1#14

Host Environment

Host: x64-windows Compiler: Visual Studio 2022

To Reproduce

vcpkg install gmp

Failure logs

-- Using cached gmp-6.2.1.tar.xz.
-- Using cached gmp-arm64-asm-fix-5f32dbc41afc.patch.
-- Cleaning sources at C:/Users/Jake/Downloads/OpenMVS/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/Jake/Downloads/OpenMVS/vcpkg/downloads/gmp-6.2.1.tar.xz
-- Applying patch asmflags.patch
-- Applying patch cross-tools.patch
-- Applying patch subdirs.patch
-- Applying patch msvc_symbol.patch
-- Applying patch arm64-coff.patch
-- Applying patch C:/Users/Jake/Downloads/OpenMVS/vcpkg/downloads/gmp-arm64-asm-fix-5f32dbc41afc.patch
-- Using source at C:/Users/Jake/Downloads/OpenMVS/vcpkg/buildtrees/gmp/src/v6.2.1-0c723d4b6f.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Getting CMake variables for x64-windows
-- Using cached msys-gzip-1.11-1-x86_64.pkg.tar.zst.
-- Using cached msys-bash-5.1.008-1-x86_64.pkg.tar.zst.
-- Using cached msys-autoconf-2.71-3-any.pkg.tar.zst.
-- Using cached msys-diffutils-3.8-2-x86_64.pkg.tar.zst.
-- Using cached msys-binutils-2.37-5-x86_64.pkg.tar.zst.
-- Downloading https://repo.msys2.org/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://mirror.bit.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://mirror.selfnet.de/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz;https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz -> msys-libtool-2.4.6-9-x86_64.pkg.tar.xz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://repo.msys2.org/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
Downloading https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
Downloading https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
Downloading https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
Downloading https://mirror.bit.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
Downloading https://mirror.selfnet.de/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz
error: Failed to download from mirror set
error: https://repo.msys2.org/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
error: https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
error: https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
error: https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
error: https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007
error: https://mirror.selfnet.de/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
error: https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/libtool-2.4.6-9-x86_64.pkg.tar.xz: failed: status code 404
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(956):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 3 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 3831 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 14.15 s (14140086 us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you use a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
         will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
         Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
         Change `http=address:port;https=address:port` to `address`, and fill the port number.

      3. Your proxy's remote server is out of service.

      In future vcpkg releases, if you are using Windows, you no longer need to set
      HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
      Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
      and (https://github.com/microsoft/vcpkg-tool/pull/77)

      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile)
  scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package)
  scripts/cmake/vcpkg_acquire_msys.cmake:186 (z_vcpkg_acquire_msys_declare_package)
  scripts/cmake/vcpkg_configure_make.cmake:207 (vcpkg_acquire_msys)
  ports/gmp/portfile.cmake:82 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)

I try to install the gmp but keep getting this error and am not sure what to do, I tried downloading locally the .patch file and it still did not work.