microsoft / vcpkg

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

[python3] Build error on x64-osx #41917

Open StarRiversAreinDream opened 3 days ago

StarRiversAreinDream commented 3 days ago

Package: python3[core,extensions]:x64-osx@3.11.10

Host Environment

To Reproduce

vcpkg install boost

Failure logs

CMake Warning at ports/python3/portfile.cmake:16 (message):
  python3 currently requires the following programs from the system package
  manager:

      autoconf automake autoconf-archive

  On Debian and Ubuntu derivatives:

      sudo apt-get install autoconf automake autoconf-archive

  On recent Red Hat and Fedora derivatives:

      sudo dnf install autoconf automake autoconf-archive

  On Arch Linux and derivatives:

      sudo pacman -S autoconf automake autoconf-archive

  On Alpine:

      apk add autoconf automake autoconf-archive

  On macOS:

      brew install autoconf automake autoconf-archive

Call Stack (most recent call first):
  scripts/ports.cmake:192 (include)

-- Using cached python-cpython-v3.11.10.tar.gz.
-- Cleaning sources at /Users/cennanyin/vcpkg/buildtrees/python3/src/v3.11.10-0ce35030d7.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/cennanyin/vcpkg/downloads/python-cpython-v3.11.10.tar.gz
-- Applying patch 0001-only-build-required-projects.patch
-- Applying patch 0003-use-vcpkg-zlib.patch
-- Applying patch 0004-devendor-external-dependencies.patch
-- Applying patch 0005-dont-copy-vcruntime.patch
-- Applying patch 0008-python.pc.patch
-- Applying patch 0010-dont-skip-rpath.patch
-- Applying patch 0012-force-disable-modules.patch
-- Applying patch 0014-fix-get-python-inc-output.patch
-- Applying patch 0015-dont-use-WINDOWS-def.patch
-- Applying patch 0016-undup-ffi-symbols.patch
-- Applying patch 0018-fix-sysconfig-include.patch
-- Applying patch 0019-fix-ssl-linkage.patch
-- Applying patch 0002-static-library.patch
-- Using source at /Users/cennanyin/vcpkg/buildtrees/python3/src/v3.11.10-0ce35030d7.clean
-- Found external ninja('1.12.1').
-- 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:127 (message):
    Command failed: /usr/local/bin/autoreconf -vfi
    Working Directory: /Users/cennanyin/vcpkg/buildtrees/python3/src/v3.11.10-0ce35030d7.clean/
    Error code: 1
    See logs for more information:
      /Users/cennanyin/vcpkg/buildtrees/python3/autoconf-x64-osx-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:731 (vcpkg_execute_required_process)
  ports/python3/portfile.cmake:293 (vcpkg_configure_make)
  scripts/ports.cmake:192 (include)
/Users/cennanyin/vcpkg/buildtrees/python3/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.72/bin/autoconf --force configure.ac:18: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/local/Cellar/autoconf/2.72/bin/autoconf failed with exit status: 1 ```
d1str4ught commented 2 days ago

brew install autoconf automake autoconf-archive