microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[libpq] Build error on x64-mingw-dynamic

ComradeMashkov opened this issue · comments

Package: libpq[core,lz4,openssl,zlib]:x64-mingw-dynamic@16.2#1

Host Environment

  • Host: x64-windows
  • Compiler: GNU 13.2.0
  • vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
    vcpkg-scripts version: 28b1cf6 2024-05-06 (13 hours ago)

To Reproduce

vcpkg install osgearth:x64-mingw-dynamic

Failure logs

-- Using cached postgresql-16.2.tar.bz2.
-- Cleaning sources at C:/vcpkg/buildtrees/libpq/src/tgresql-16-b00fbb6ff2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg/downloads/postgresql-16.2.tar.bz2
-- Applying patch unix/installdirs.patch
-- Applying patch unix/fix-configure.patch
-- Applying patch unix/single-linkage.patch
-- Applying patch unix/no-server-tools.patch
-- Applying patch unix/mingw-install.patch
-- Applying patch unix/python.patch
-- Applying patch windows/macro-def.patch
-- Applying patch windows/win_bison_flex.patch
-- Applying patch windows/msbuild.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch android/unversioned_so.patch
-- Using source at C:/vcpkg/buildtrees/libpq/src/tgresql-16-b00fbb6ff2.clean
-- Found external ninja('1.11.1').
-- Getting CMake variables for x64-mingw-dynamic
-- Getting CMake variables for x64-mingw-dynamic
-- Using cached tzcode-2023c-1-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst.
-- Using cached msys2-automake-wrapper-20221207-2-any.pkg.tar.zst.
-- Using cached msys2-binutils-2.42-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libtool-2.4.7-3-x86_64.pkg.tar.zst.
-- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.1.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst.
-- Using cached msys2-bash-5.2.026-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf2.71-2.71-3-any.pkg.tar.zst.
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
-- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst.
-- Using cached msys2-findutils-4.9.0-3-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.2.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.4.6-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.010-1-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst.
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.38.2-1-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.4-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at C:/vcpkg/downloads/tools/msys2/33e2a3f4425f018d
-- Generating configure for x64-mingw-dynamic
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: C:/vcpkg/downloads/tools/msys2/33e2a3f4425f018d/usr/bin/bash.exe --noprofile --norc --debug -c "autoreconf -vfi"
    Working Directory: C:/vcpkg/buildtrees/libpq/src/tgresql-16-b00fbb6ff2.clean/
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\libpq\autoconf-x64-mingw-dynamic-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:722 (vcpkg_execute_required_process)
  ports/libpq/portfile.cmake:115 (vcpkg_configure_make)
  scripts/ports.cmake:175 (include)



C:\vcpkg\buildtrees\libpq\autoconf-x64-mingw-dynamic-err.log
ac-wrapper: autoreconf: warning: auto-detected versions not found ( 2.69 ); falling back to latest available
autoreconf-2.71: export WARNINGS=
autoreconf-2.71: Entering directory '.'
autoreconf-2.71: configure.ac: not using Gettext
autoreconf-2.71: configure.ac: not using aclocal
autoreconf-2.71: configure.ac: tracing
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
/usr/bin/sed: -e expression #1, char 6: unterminated `s' command
autom4te-2.71: error: --trace=: no such file or directory
autoreconf-2.71: error: /usr/bin/autoconf-2.71 failed with exit status: 1