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 #40002

Open ArthurChan2018 opened 2 months ago

ArthurChan2018 commented 2 months ago

Package: python3:x64-osx@3.11.8#4Host Environment- Host: x64-osx- Compiler: AppleClang 15.0.0.15000309- vcpkg-tool version: 2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9 vcpkg-scripts version: 821100d96 2024-07-20 (12 hours ago)To Reproducevcpkg install python3:x64-osx --clean-after-buildFailure logsCMake 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-archiveCall Stack (most recent call first): scripts/ports.cmake:192 (include)-- Using cached python-cpython-v3.11.8.tar.gz.-- Extracting source ~/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 ~/vcpkg/buildtrees/python3/src/v3.11.8-31d17ab840.clean-- Getting CMake variables for x64-osx-dbg-- Getting CMake variables for x64-osx-rel-- Generating configure for x64-osxCMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message): Command failed: /opt/local/bin/autoreconf -vfi Working Directory: ~/vcpkg/buildtrees/python3/src/v3.11.8-31d17ab840.clean/ Error code: 1 See logs for more information: ~/vcpkg/buildtrees/python3/autoconf-x64-osx-err.logCall Stack (most recent call first): scripts/cmake/vcpkg_configure_make.cmake:731 (vcpkg_execute_required_process) ports/python3/portfile.cmake:274 (vcpkg_configure_make) scripts/ports.cmake:192 (include)

~/vcpkg/buildtrees/python3/autoconf-x64-osx-err.logautoreconf: export WARNINGS=autoreconf: Entering directory '.'autoreconf: configure.ac: not using Gettextautoreconf: running: /opt/local/bin/aclocal --force autoreconf: configure.ac: tracingautoreconf: configure.ac: not using Libtoolautoreconf: configure.ac: not using Intltoolautoreconf: configure.ac: not using Gtkdocautoreconf: running: /opt/local/bin/autoconf --forceconfigure.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: /opt/local/bin/autoconf failed with exit status: 1

autoantwort commented 2 months ago

A few new lines are missing here...

FrankXie05 commented 2 months ago

Please run brew install autoconf automake autoconf-archive.

error: possibly undefined macro: AC_MSG_ERROR
ArthurChan2018 commented 2 months ago

@FrankXie05 I have autoconf automake autoconf-archive installed but got same error

path_to/vcpkg/buildtrees/python3/autoconf-x64-osx-err.log autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /opt/local/bin/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: /opt/local/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: /opt/local/bin/autoconf failed with exit status: 1

github-actions[bot] commented 1 month ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

SpiritDogstar commented 1 month ago

Got the same issue here...