From 0b64b30b81cae84acea3cffb6c5ca87531e56802 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 25 Apr 2024 15:59:08 +0200 Subject: [PATCH] ci/GHA: fix `autoreconf` failure on macOS/Homebrew (#1374) By manually installing `libtool`. ``` autoreconf -fi shell: /bin/bash -e {0} configure.ac:75: 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:76: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf: error: /opt/homebrew/Cellar/autoconf/2.72/bin/autoconf failed with exit status: 1 ``` Ref: https://github.com/libssh2/libssh2/actions/runs/8833608758/job/24253334557#step:4:1 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12ad8dd5..64c6eacf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -550,7 +550,7 @@ jobs: cmake: -DCRYPTO_BACKEND=mbedTLS "-DMBEDTLS_INCLUDE_DIR=$(brew --prefix)/opt/mbedtls/include" "-DMBEDCRYPTO_LIBRARY=$(brew --prefix)/opt/mbedtls/lib/libmbedcrypto.a" steps: - name: 'install packages' - run: brew install automake ${{ matrix.crypto.install }} + run: brew install automake libtool ${{ matrix.crypto.install }} - uses: actions/checkout@v4 - name: 'autotools autoreconf' if: ${{ matrix.build == 'autotools' }}