[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gettext-libintl] Build error on x64-windows #40356

Open
john-thorntac opened this issue Aug 8, 2024 · 8 comments
Open

[gettext-libintl] Build error on x64-windows #40356

john-thorntac opened this issue Aug 8, 2024 · 8 comments
Assignees
Labels
requires:repro The issue is not currently repro-able Stale

Comments

@john-thorntac
Copy link

Package: gettext-libintl:x64-windows@0.22.5#2

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.39.33523.0
  • vcpkg-tool version: 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
    vcpkg-scripts version: f5398d9 2024-08-07 (11 hours ago)

To Reproduce

vcpkg install gettext-libintl

Failure logs

-- Using cached gettext-0.22.5.tar.gz.
-- Cleaning sources at C:/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/src/gettext-0-5775b97cd5.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/john/source/tools/vcpkg/downloads/gettext-0.22.5.tar.gz
-- Applying patch uwp.patch
-- Applying patch 0003-Fix-win-unicode-paths.patch
-- Using source at C:/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/src/gettext-0-5775b97cd5.clean
-- Modifying 'configure' to use fast bash variable expansion
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- 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-2-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.1.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.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.5.3-3-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.10.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.6.2-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.6-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-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at C:/Users/john/source/tools/vcpkg/downloads/tools/msys2/212eb2bc95cd8a82
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at C:/Users/john/source/tools/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Installing x64-windows-dbg
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/Users/john/source/tools/vcpkg/downloads/tools/msys2/212eb2bc95cd8a82/usr/bin/make.exe -j 21 --trace -f Makefile all
    Working Directory: C:/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel/
    See logs for more information:
      C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\build-x64-windows-rel-out.log
      C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\build-x64-windows-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:136 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
  C:/Users/john/AppData/Local/vcpkg/registries/git-trees/f41e983c85004eb6ee8d290ecb2465832fce8c00/portfile.cmake:119 (vcpkg_install_make)
  scripts/ports.cmake:192 (include)



C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\build-x64-windows-rel-err.log
make[4]: *** [Makefile:2033: libgnu_la-itold.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:2047: libgnu_la-hard-locale.lo] Error 1
make[4]: *** [Makefile:2075: libgnu_la-localename-table.lo] Error 1
make[4]: *** [Makefile:2054: libgnu_la-localcharset.lo] Error 1
make[4]: *** [Makefile:2068: libgnu_la-localename-unsafe.lo] Error 1
make[4]: *** [Makefile:2061: libgnu_la-localename.lo] Error 1
make[4]: *** [Makefile:2096: libgnu_la-mbrtowc.lo] Error 1
make[4]: *** [Makefile:2089: libgnu_la-math.lo] Error 1
make[4]: *** [Makefile:2103: libgnu_la-mbsinit.lo] Error 1
make[4]: *** [Makefile:2124: libgnu_la-printf-frexp.lo] Error 1
make[4]: *** [Makefile:2110: libgnu_la-mbszero.lo] Error 1
make[4]: *** [Makefile:2131: libgnu_la-printf-frexpl.lo] Error 1
make[4]: *** [Makefile:2201: libgnu_la-tsearch.lo] Error 1
make[4]: *** [Makefile:2138: libgnu_la-setlocale_null.lo] Error 1
make[4]: *** [Makefile:2208: libgnu_la-unistd.lo] Error 1
make[4]: *** [Makefile:2152: libgnu_la-setlocale_null-unlocked.lo] Error 1
make[4]: *** [Makefile:2215: libgnu_la-wprintf-parse.lo] Error 1
make[4]: *** [Makefile:2222: libgnu_la-vasnwprintf.lo] Error 1
make[4]: *** [Makefile:2194: glthread/libgnu_la-threadlib.lo] Error 1
make[4]: *** [Makefile:2229: libgnu_la-asnwprintf.lo] Error 1
make[4]: *** [Makefile:2236: libgnu_la-windows-mutex.lo] Error 1
make[3]: *** [Makefile:2385: all-recursive] Error 1
make[2]: *** [Makefile:1871: all] Error 2
make[1]: *** [Makefile:2027: all-recursive] Error 1
make: *** [Makefile:1902: all] Error 2
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\build-x64-windows-rel-out.log
 /usr/bin/bash ./config.status
Makefile:1945: update target 'stamp-h1' due to: config.status
rm -f stamp-h1
cd . && /usr/bin/bash ./config.status config.h
Makefile:1941: update target 'config.h' due to: stamp-h1
test -f config.h || rm -f stamp-h1
test -f config.h || /usr/bin/make  stamp-h1
Makefile:1902: update target 'all' due to: target is .PHONY
/usr/bin/make  all-recursive
make[1]: Entering directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel'
 /usr/bin/bash ./config.status
Makefile:2027: update target 'all-recursive' due to: target is .PHONY
fail=; \
if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \	]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs	]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \
  failcom='fail=yes'; \
else \
  failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
case "all-recursive" in \
  distclean-* | maintainer-clean-*) list='gnulib-lib' ;; \
  *) list='gnulib-lib' ;; \
esac; \
for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  /usr/bin/make  "$target-am" || exit 1; \
fi; test -z "$fail"
Making all in gnulib-lib
make[2]: Entering directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel/gnulib-lib'
make[3]: Entering directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel'
 /usr/bin/bash ./config.status
Makefile:1907: update target 'am--refresh' due to: target is .PHONY
.....
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/localename-table.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-localename-table.obj
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
hard-locale.c
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/mbrtowc.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-mbrtowc.obj
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
localcharset.c
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/math.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-math.obj
localename.c
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdlib.h(36): fatal error C1083: Cannot open include file: '': No such file or directory
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/mbsinit.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-mbsinit.obj
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
localename-table.c
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/printf-frexp.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-printf-frexp.obj
localename-unsafe.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdio.h(55): fatal error C1083: Cannot open include file: '': No such file or directory
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdlib.h(36): fatal error C1083: Cannot open include file: '': No such file or directory
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdlib.h(36): fatal error C1083: Cannot open include file: '': No such file or directory
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/mbszero.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-mbszero.obj
mbrtowc.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
math.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
mbsinit.c
printf-frexp.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/mbsinit.c(54): error C2084: function 'int _libintl_mbsinit(const mbstate_t *)' already has a body
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\wchar.h(193): note: see previous definition of '_libintl_mbsinit'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/tsearch.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-tsearch.obj
mbszero.c
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/printf-frexpl.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-printf-frexpl.obj
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/setlocale_null.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-setlocale_null.obj
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/unistd.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-unistd.obj
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/wprintf-parse.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-wprintf-parse.obj
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/setlocale_null-unlocked.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-setlocale_null-unlocked.obj
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/vasnwprintf.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-vasnwprintf.obj
tsearch.c
printf-frexpl.c
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/glthread/threadlib.c  -DDLL_EXPORT -DPIC -o glthread/.libs/libgnu_la-threadlib.obj
setlocale_null.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/asnwprintf.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-asnwprintf.obj
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
unistd.c
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdlib.h(36): fatal error C1083: Cannot open include file: '': No such file or directory
wprintf-parse.c
setlocale_null-unlocked.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
libtool: compile:  compile cl.exe -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I.././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib -I.. -DIN_LIBRARY -DINSTALLDIR=\"/C/Users/john/source/projects/OcuSight/VideoProcessor/build/vcpkg_installed/x64-windows/lib\" -DNO_XMALLOC -DBUILDING_DLL -Dset_relocation_prefix=libintl_set_relocation_prefix -DDEPENDS_ON_LIBICONV=1 -DWIN32 -D_WINDOWS -nologo -utf-8 -MP -MD -O2 -Oi -Gy -Z7 -DNDEBUG -c .././../src/gettext-0-5775b97cd5.clean/gettext-runtime/intl/gnulib-lib/windows-mutex.c  -DDLL_EXPORT -DPIC -o .libs/libgnu_la-windows-mutex.obj
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdlib.h(36): fatal error C1083: Cannot open include file: '': No such file or directory
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
vasnwprintf.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdio.h(55): fatal error C1083: Cannot open include file: '': No such file or directory
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
threadlib.c
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdlib.h(36): fatal error C1083: Cannot open include file: '': No such file or directory
asnwprintf.c
C:\Users\john\source\tools\vcpkg\buildtrees\gettext-libintl\x64-windows-rel\gnulib-lib\stdio.h(55): fatal error C1083: Cannot open include file: '': No such file or directory
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
windows-mutex.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include\vcruntime.h(194): error C2632: '__int64' followed by 'long' is illegal
make[4]: Leaving directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel/gnulib-lib'
make[3]: Leaving directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel/gnulib-lib'
make[2]: Leaving directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel/gnulib-lib'
make[1]: Leaving directory '/c/Users/john/source/tools/vcpkg/buildtrees/gettext-libintl/x64-windows-rel'

Additional context

Problem is similar to this issue #26160 - the build error occurs after using 'taskkill /F / IM conftest.exe' which allows the 'Configuring x64-windows-rel' process to progress beyond the 'checking for a transitional chinese locale...' step

vcpkg.json
{
  "dependencies": [
    "gstreamer"
  ]
}

@greenozon
Copy link
greenozon commented Aug 8, 2024

I just tried to install this package,
and I"m not able to see this kind of issue... despite it was bulding really long!

but I've used MSVC2019, not 2022 as in your case (but should it matter?)

Details

.........
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/212eb2bc95cd8a82
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Installing x64-windows-dbg
-- Building x64-windows-rel
-- Installing x64-windows-rel
-- Installing: C:/Dev/vcpkg/packages/gettext-libintl_x64-windows/share/gettext-libintl/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 167 ms.
Elapsed time to handle gettext-libintl:x64-windows: 3.9 min
gettext-libintl:x64-windows package ABI: 570efabf87a8df0efe67320913862a1b1aa65b2dc745ba1995947058dfa21425
Total install time: 7.9 min
gettext-libintl is compatible with built-in CMake targets:

find_package(Intl REQUIRED)
target_link_libraries(main PRIVATE Intl::Intl) # since CMake 3.20

c:\Dev\vcpkg>vcpkg install gettext-libintl
Computing installation plan...
The following packages are already installed:
gettext-libintl:x64-windows@0.22.5#2
gettext-libintl:x64-windows is already installed
Total install time: 2 ms
gettext-libintl is compatible with built-in CMake targets:

find_package(Intl REQUIRED)
target_link_libraries(main PRIVATE Intl::Intl) # since CMake 3.20

@john-thorntac
Copy link
Author

Thanks for trying this, as you suggest, I don't think a compiler change would influence this, I think the core of the problem is the 'hang' when the configure step is 'checking for a transitional chinese locale...' I am a newbie to vcpkg and cmake and only need the gettext-libintl as it a dependency of gstreamer (I assume), and I certainly don't need to support transitional chinese at the moment. Do you know whether it is possible to configure gettext-libintl so that it doesn't look for this language?

@MonicaLiu0311
Copy link
Contributor
PS G:\vcpkg> ./vcpkg version
vcpkg package management program version 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658

See LICENSE.txt for license information.

Sorry I didn't repro your issue.

PS G:\vcpkg> ./vcpkg install gettext-libintl[*]:x64-windows
Computing installation plan...
The following packages will be built and installed:
    gettext-libintl:x64-windows@0.22.5#2
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\monica\AppData\Local\vcpkg\archives in 1.76 ms. Use --debug to see more details.
Installing 1/1 gettext-libintl:x64-windows@0.22.5#2...
Building gettext-libintl:x64-windows@0.22.5#2...
-- Using cached gettext-0.22.5.tar.gz.
-- Extracting source G:/vcpkg/downloads/gettext-0.22.5.tar.gz
-- Applying patch uwp.patch
-- Applying patch 0003-Fix-win-unicode-paths.patch
-- Using source at G:/vcpkg/buildtrees/gettext-libintl/src/gettext-0-5775b97cd5.clean
-- Modifying 'configure' to use fast bash variable expansion
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- 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-2-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.1.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.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.5.3-3-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.10.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.6.2-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.6-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-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at G:/vcpkg/downloads/tools/msys2/212eb2bc95cd8a82
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at G:/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Installing x64-windows-dbg
-- Building x64-windows-rel
-- Installing x64-windows-rel
-- Installing: G:/vcpkg/packages/gettext-libintl_x64-windows/share/gettext-libintl/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 280 ms.
Elapsed time to handle gettext-libintl:x64-windows: 10 min
gettext-libintl:x64-windows package ABI: 7225a947cd3468e930cb2416f9dc1ce2b07a052c5b9630e5616d59b195946c3c
Total install time: 10 min
gettext-libintl is compatible with built-in CMake targets:

    find_package(Intl REQUIRED)
    target_link_libraries(main PRIVATE Intl::Intl) # since CMake 3.20

@MonicaLiu0311 MonicaLiu0311 added the requires:repro The issue is not currently repro-able label Aug 9, 2024
@john-thorntac
Copy link
Author

Many thanks @MonicaLiu0311 - could you post your 'config-x64-windows-rel-out.log' from ...vcpkg\buildtrees\gettext-libintl so I can see if there is anything significantly different in what the pacakage detects?

@MonicaLiu0311
Copy link
Contributor

@john-thorntac
Copy link
Author

Many thanks - the config file is identical to mine, until mine stops at the 'checking for a transitional chinese locale... ' - I guess that at least shows what I need to solve!

Copy link

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.

@github-actions github-actions bot added the Stale label Sep 10, 2024
@dc6c
Copy link
dc6c commented Sep 24, 2024

In my case, I noticed that when I temporarily disabled my antivirus, installing gettext-intl (although I pulled in only indirectly, via other dependencies) worked fine. With the a/v active, it blocks up at "checking for a transitional Chinese locale", just as @john-thorntac describes, although killing the conftest.exe process allows the install to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able Stale
Projects
None yet
Development

No branches or pull requests

4 participants