microsoft / vcpkg

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

[python3] Build error on x64-osx #39440

Closed corymcox closed 3 months ago

corymcox commented 3 months ago

Package: python3:x64-osx@3.11.8#4

Host Environment

To Reproduce

vcpkg install pybind11

Failure logs

CMake Warning at ports/python3/portfile.cmake:7 (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:191 (include)

-- Downloading https://github.com/python/cpython/archive/v3.11.8.tar.gz -> python-cpython-v3.11.8.tar.gz...
-- Extracting source /Users/cmcox007/.vcpkg-clion/vcpkg/downloads/python-cpython-v3.11.8.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 0002-static-library.patch
-- Using source at /Users/cmcox007/.vcpkg-clion/vcpkg/buildtrees/python3/src/v3.11.8-31d17ab840.clean
-- Found external ninja('1.12.0').
-- 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/cmcox007/.vcpkg-clion/vcpkg/buildtrees/python3/src/v3.11.8-31d17ab840.clean/
    Error code: 1
    See logs for more information:
      /Users/cmcox007/.vcpkg-clion/vcpkg/buildtrees/python3/autoconf-x64-osx-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:728 (vcpkg_execute_required_process)
  ports/python3/portfile.cmake:274 (vcpkg_configure_make)
  scripts/ports.cmake:191 (include)
/Users/cmcox007/.vcpkg-clion/vcpkg/buildtrees/python3/autoconf-x64-osx-err.log ``` autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/local/Cellar/autoconf/2.69/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: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1 ```
autoantwort commented 3 months ago

brew install autoconf automake autoconf-archive

Have you done this?

corymcox commented 3 months ago

I have now! Let me see where I stand today....

corymcox commented 3 months ago

I have resolved the issue per @autoantwort's suggestion.