microsoft / vcpkg

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

[icu] Build error #38646

Open hengxinchou opened 6 months ago

hengxinchou commented 6 months ago

Package: icu[core,tools]:x64-linux-avx -> 72.1#3

Host Environment

To Reproduce

vcpkg install --no-print-usage Failure logs

-- Downloading https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-src.tgz -> icu4c-72_1-src.tgz...
-- Extracting source /codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/downloads/icu4c-72_1-src.tgz
-- Applying patch disable-escapestr-tool.patch
-- Applying patch remove-MD-from-configure.patch
-- Applying patch fix_parallel_build_on_windows.patch
-- Applying patch fix-extra.patch
-- Applying patch mingw-dll-install.patch
-- Applying patch disable-static-prefix.patch
-- Applying patch fix-win-build.patch
-- Using source at /codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/src/c-72_1-src-deba61ed52.clean
-- Found external ninja('1.10.2').
-- Getting CMake variables for x64-linux-avx-rel
-- Generating configure for x64-linux-avx
-- Finished generating configure for x64-linux-avx
-- Configuring x64-linux-avx-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/c-72_1-src-deba61ed52.clean/source/configure  \"--disable-samples\" \"--disable-tests\" \"--disable-layoutex\" \"--enable-tools\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--disable-debug\" \"--enable-release\" \"--prefix=/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx\" \"--bindir=\\${prefix}/tools/icu/bin\" \"--sbindir=\\${prefix}/tools/icu/sbin\" \"--libdir=\\${prefix}/lib\" \"--mandir=\\${prefix}/share/icu\" \"--docdir=\\${prefix}/share/icu\" \"--datarootdir=\\${prefix}/share/icu\""
    Working Directory: /codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/x64-linux-avx-rel
    Error code: 2
    See logs for more information:
      /codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/config-x64-linux-avx-rel-config.log
      /codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/config-x64-linux-avx-rel-out.log
      /codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/config-x64-linux-avx-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:838 (vcpkg_execute_required_process)
  buildtrees/versioning_/versions/icu/36a3246630c4794b3781e881e5a57db36092deea/portfile.cmake:55 (vcpkg_configure_make)
  scripts/ports.cmake:168 (include)
/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/config-x64-linux-avx-rel-config.log ``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ICU configure 72.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./../src/c-72_1-src-deba61ed52.clean/source/configure --disable-samples --disable-tests --disable-layoutex --enable-tools --disable-silent-rules --verbose --disable-shared --enable-static --disable-debug --enable-release --prefix=/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx --bindir=${prefix}/tools/icu/bin --sbindir=${prefix}/tools/icu/sbin --libdir=${prefix}/lib --mandir=${prefix}/share/icu --docdir=${prefix}/share/icu --datarootdir=${prefix}/share/icu ## --------- ## ## Platform. ## ## --------- ## hostname = zhxmint2024 uname -m = x86_64 uname -r = 5.15.0-76-generic uname -s = Linux uname -v = #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /opt/rh/devtoolset-9/root/usr/bin PATH: /usr/lib/jvm/java-1.8.0-openjdk/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /root/bin PATH: /usr/lib/maven/bin PATH: /usr/bin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2678: checking for ICU version numbers configure:2711: result: release 72.1, library 72.1, unicode version 15.0 configure:2750: checking build system type configure:2764: result: x86_64-pc-linux-gnu configure:2784: checking host system type configure:2797: result: x86_64-pc-linux-gnu configure:2869: checking whether to build debug libraries configure:2881: result: no configure:2886: checking whether to build release libraries configure:2898: result: yes configure:3019: checking for C compiler version configure:3028: /opt/rh/devtoolset-9/root/usr/bin/cc --version >&5 cc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3039: $? = 0 configure:3028: /opt/rh/devtoolset-9/root/usr/bin/cc -v >&5 Using built-in specs. COLLECT_GCC=/opt/rh/devtoolset-9/root/usr/bin/cc COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-9/root/usr --mandir=/opt/rh/devtoolset-9/root/usr/share/man --infodir=/opt/rh/devtoolset-9/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-9.3.1-20200408/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) configure:3039: $? = 0 configure:3028: /opt/rh/devtoolset-9/root/usr/bin/cc -V >&5 cc: error: unrecognized command line option '-V' cc: fatal error: no input files compilation terminated. configure:3039: $? = 1 configure:3028: /opt/rh/devtoolset-9/root/usr/bin/cc -qversion >&5 cc: error: unrecognized command line option '-qversion'; did you mean '--version'? cc: fatal error: no input files compilation terminated. configure:3039: $? = 1 configure:3059: checking whether the C compiler works configure:3081: /opt/rh/devtoolset-9/root/usr/bin/cc -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3 -DNDEBUG -L/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx/lib -static-libstdc++ -static-libgcc conftest.c >&5 configure:3085: $? = 0 configure:3133: result: yes configure:3136: checking for C compiler default output file name configure:3138: result: a.out configure:3144: checking for suffix of executables configure:3151: /opt/rh/devtoolset-9/root/usr/bin/cc -o conftest -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3 -DNDEBUG -L/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx/lib -static-libstdc++ -static-libgcc conftest.c >&5 configure:3155: $? = 0 configure:3177: result: configure:3199: checking whether we are cross compiling configure:3207: /opt/rh/devtoolset-9/root/usr/bin/cc -o conftest -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3 -DNDEBUG -L/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx/lib -static-libstdc++ -static-libgcc conftest.c >&5 configure:3211: $? = 0 configure:3218: ./conftest configure:3222: $? = 0 configure:3237: result: no configure:3242: checking for suffix of object files configure:3264: /opt/rh/devtoolset-9/root/usr/bin/cc -c -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3 -DNDEBUG conftest.c >&5 configure:3268: $? = 0 configure:3289: result: o configure:3293: checking whether we are using the GNU C compiler configure:3312: /opt/rh/devtoolset-9/root/usr/bin/cc -c -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3 -DNDEBUG conftest.c >&5 configure:3312: $? = 0 configure:3321: result: yes configure:3330: checking whether /opt/rh/devtoolset-9/root/usr/bin/cc accepts -g configure:3350: /opt/rh/devtoolset-9/root/usr/bin/cc -c -g -DNDEBUG conftest.c >&5 configure:3350: $? = 0 configure:3391: result: yes configure:3408: checking for /opt/rh/devtoolset-9/root/usr/bin/cc option to accept ISO C89 configure:3471: /opt/rh/devtoolset-9/root/usr/bin/cc -c -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3 -DNDEBUG conftest.c >&5 configure:3471: $? = 0 configure:3484: result: none needed configure:3618: checking for C++ compiler version configure:3627: /opt/rh/devtoolset-9/root/usr/bin/c++ --version >&5 c++ (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3638: $? = 0 configure:3627: /opt/rh/devtoolset-9/root/usr/bin/c++ -v >&5 Using built-in specs. COLLECT_GCC=/opt/rh/devtoolset-9/root/usr/bin/c++ COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-9/root/usr --mandir=/opt/rh/devtoolset-9/root/usr/share/man --infodir=/opt/rh/devtoolset-9/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-9.3.1-20200408/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) configure:3638: $? = 0 configure:3627: /opt/rh/devtoolset-9/root/usr/bin/c++ -V >&5 c++: error: unrecognized command line option '-V' c++: fatal error: no input files compilation terminated. configure:3638: $? = 1 configure:3627: /opt/rh/devtoolset-9/root/usr/bin/c++ -qversion >&5 c++: error: unrecognized command line option '-qversion'; did you mean '--version'? c++: fatal error: no input files compilation terminated. configure:3638: $? = 1 configure:3642: checking whether we are using the GNU C++ compiler configure:3661: /opt/rh/devtoolset-9/root/usr/bin/c++ -c -fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17 -mbmi2 -O3 -DNDEBUG conftest.cpp >&5 configure:3661: $? = 0 configure:3670: result: yes configure:3679: checking whether /opt/rh/devtoolset-9/root/usr/bin/c++ accepts -g configure:3699: /opt/rh/devtoolset-9/root/usr/bin/c++ -c -g -DNDEBUG conftest.cpp >&5 configure:3699: $? = 0 configure:3740: result: yes ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/opt/rh/devtoolset-9/root/usr/bin/cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-DNDEBUG ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17 -mbmi2 -O3' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/opt/rh/devtoolset-9/root/usr/bin/c++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx/lib -static-libstdc++ -static-libgcc' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-pc-linux-gnu ac_cv_objext=o ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/opt/rh/devtoolset-9/root/usr/bin/ar' ARFLAGS='' CC='/opt/rh/devtoolset-9/root/usr/bin/cc' CFLAGS='-fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -mbmi2 -O3' COMPILE_LINK_ENVVAR='' CPP='' CPPFLAGS='-DNDEBUG' CXX='/opt/rh/devtoolset-9/root/usr/bin/c++' CXXFLAGS='-fPIC -mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17 -mbmi2 -O3' DATA_PACKAGING_MODE='' DATA_TRUE='' DEFS='' DOXYGEN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_DEBUG='0' ENABLE_RELEASE='1' ENABLE_RPATH='' ENABLE_SHARED='' ENABLE_STATIC='' EXEEXT='' EXTRAS_TRUE='' FUZZER_TRUE='' GENCCODE_ASSEMBLY='' GREP='' HAVE_MMAP='' ICUDATA_CHAR='' ICUIO_TRUE='' ICULIBSUFFIX='' ICULIBSUFFIXCNAME='' ICU_ECHO_C='' ICU_ECHO_N='-n' ICU_ECHO_T='' INSTALL_DATA='' INSTALL_ICU_BUILD_WIN='true' INSTALL_ICU_CONFIG='true' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LAYOUTEX_TRUE='' LDFLAGS='-L/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx/lib -static-libstdc++ -static-libgcc' LIBCFLAGS='' LIBCXXFLAGS='' LIBOBJS='' LIBS='' LIB_M='' LIB_THREAD='' LIB_VERSION='72.1' LIB_VERSION_MAJOR='72' LTLIBOBJS='' OBJEXT='o' PACKAGE='icu' PACKAGE_BUGREPORT='http://icu-project.org/bugs' PACKAGE_NAME='ICU' PACKAGE_STRING='ICU 72.1' PACKAGE_TARNAME='International Components for Unicode' PACKAGE_URL='http://icu-project.org' PACKAGE_VERSION='72.1' PATH_SEPARATOR=':' PLUGINS_TRUE='' PYTHON='/usr/bin/python3' RANLIB='/opt/rh/devtoolset-9/root/usr/bin/ranlib' SAMPLES_TRUE='' SED='' SHELL='/bin/sh' TESTS_TRUE='' TOOLS_TRUE='' UCLN_NO_AUTO_CLEANUP='' UCONFIG_CFLAGS='' UCONFIG_CPPFLAGS='' UCONFIG_CXXFLAGS='' UNICODE_VERSION='15.0' U_DEFAULT_SHOW_DRAFT='' U_DISABLE_RENAMING='' U_ENABLE_DYLOAD='' U_ENABLE_TRACING='' U_HAVE_DATA='' U_HAVE_DIRENT_H='' U_HAVE_EXTRAS='' U_HAVE_FUZZER='' U_HAVE_ICUIO='' U_HAVE_INTTYPES_H='' U_HAVE_LAYOUTEX='' U_HAVE_LIB_SUFFIX='' U_HAVE_NL_LANGINFO_CODESET='' U_HAVE_PLACEMENT_NEW='' U_HAVE_PLUGINS='' U_HAVE_POPEN='' U_HAVE_SAMPLES='' U_HAVE_STRTOD_L='' U_HAVE_TESTS='' U_HAVE_TIMEZONE='' U_HAVE_TOOLS='' U_HAVE_TZNAME='' U_HAVE_TZSET='' U_HAVE_WCHAR_H='' U_HAVE_WCSCPY='' U_IS_BIG_ENDIAN='' U_MAKE='' U_NL_LANGINFO_CODESET='' U_OVERRIDE_CXX_ALLOCATION='' U_TIMEZONE='' U_TZNAME='' U_TZSET='' VERSION='72.1' ac_ct_CC='' ac_ct_CXX='' bindir='${prefix}/tools/icu/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' cross_buildroot='' cross_compiling='no' datadir='${datarootdir}' datarootdir='${prefix}/share/icu' docdir='${prefix}/share/icu' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${prefix}/share/icu' oldincludedir='/usr/include' pdfdir='${docdir}' pkgicudatadir='' platform='' platform_make_fragment='' platform_make_fragment_name='' prefix='/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/vcpkg_installed/x64-linux-avx' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${prefix}/tools/icu/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' thepkgicudatadir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "ICU" #define PACKAGE_TARNAME "International Components for Unicode" #define PACKAGE_VERSION "72.1" #define PACKAGE_STRING "ICU 72.1" #define PACKAGE_BUGREPORT "http://icu-project.org/bugs" #define PACKAGE_URL "http://icu-project.org" configure: exit 2 ```
/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/config-x64-linux-avx-rel-out.log ``` checking for ICU version numbers... release 72.1, library 72.1, unicode version 15.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to build debug libraries... no checking whether to build release libraries... yes checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /opt/rh/devtoolset-9/root/usr/bin/cc accepts -g... yes checking for /opt/rh/devtoolset-9/root/usr/bin/cc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether /opt/rh/devtoolset-9/root/usr/bin/c++ accepts -g... yes ```
/codes/incubator-gluten-v1.1.0-centos7/dev/vcpkg/.vcpkg/buildtrees/icu/config-x64-linux-avx-rel-err.log ``` configure: WARNING: unrecognized options: --disable-silent-rules ./../src/c-72_1-src-deba61ed52.clean/source/configure: line 3765: syntax error near unexpected token `0.20' ./../src/c-72_1-src-deba61ed52.clean/source/configure: line 3765: `PKG_PROG_PKG_CONFIG(0.20)' ```
**Additional context**
vcpkg.json ``` { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "builtin-baseline": "a7b6122f6b6504d16d96117336a0562693579933", "dependencies": [ "jemalloc" ], "default-features": [ "velox", "velox-s3", "velox-gcs", "velox-hdfs" ], "features": { "velox": { "description": "Velox backend", "dependencies": [ "libevent", "openssl", "zstd", "lz4", "double-conversion", "bzip2", "curl", "libxml2", "libuuid", "lzo", "re2", "gflags", "glog", "snappy", "libdwarf", "fmt", { "name": "folly", "features": [ "zstd", "lz4", "lzma", "snappy" ] }, "boost-atomic", "boost-context", "boost-circular-buffer", "boost-date-time", "boost-format", "boost-filesystem", "boost-program-options", "boost-process", "boost-regex", "boost-system", "boost-stacktrace", "boost-sort", "boost-thread", "boost-multiprecision", "boost-uuid", "gtest", "xsimd", "xxhash", "protobuf", "benchmark", "jemalloc", "icu", "simdjson" ] }, "velox-s3": { "description": "Velox S3 Support", "dependencies": [ { "name": "aws-sdk-cpp", "features": [ "identity-management", "s3", "sts", "cognito-identity" ] } ] }, "velox-gcs": { "description": "Velox GCS Support", "dependencies": [ { "name": "google-cloud-cpp", "features": [ "storage" ] } ] }, "velox-hdfs": { "description": "Velox HDFS Support", "dependencies": [ "libhdfs3" ] }, "hbm": { "description": "HBM", "dependencies": [ "memkind" ] }, "qat": { "description": "QAT", "dependencies": [ { "name": "zstd", "version>=": "1.5.4" } ] } }, "overrides": [ { "name": "fmt", "version": "8.0.1" }, { "name": "simdjson", "version": "3.1.5" } ] } ```
txemaotero commented 5 months ago

I found also this error and running:

./vcpkg install icu[core,tools]:x64-linux

Printed:

icu 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:175 (include)

So installing those packages the problem got solved. Hope it helps :wink:

shaileneF commented 4 months ago

@hengxinchou Hello, I encountered the same problem as you did. Have you solved this issue? If so, how did you resolve it? @txemaotero By the way,installing these packages is not work. 😭

dingxin-tech commented 4 months ago

I've encountered the same problem.

#autoconf --version
autoconf (GNU Autoconf) 2.69

#automake --version
automake (GNU automake) 1.16.5

#yum install autoconf-archive
Package autoconf-archive-2017.03.21-1.1.alios7.noarch already installed
dg0yt commented 4 months ago

./../src/c-72_1-src-deba61ed52.clean/source/configure: line 3765: syntax error near unexpected token 0.20' ./../src/c-72_1-src-deba61ed52.clean/source/configure: line 3765:PKG_PROG_PKG_CONFIG(0.20)'

https://askubuntu.com/a/468895: "The PKG_PROG_PKG_CONFIG variable refers to a macro pkg.m4 that is provided as part of the pkg-config package." So this is what you want to install from your system.

dingxin-tech commented 4 months ago

./../src/c-72_1-src-deba61ed52.clean/source/configure: line 3765: syntax error near unexpected token 0.20' ./../src/c-72_1-src-deba61ed52.clean/source/configure: line 3765:PKG_PROG_PKG_CONFIG(0.20)'

https://askubuntu.com/a/468895: "The PKG_PROG_PKG_CONFIG variable refers to a macro pkg.m4 that is provided as part of the pkg-config package." So this is what you want to install from your system.

I've already installed the pkg-config package.

#pkg-config --version
0.27.1

However, I finally found the problem i met. Thanks for your Reply.

https://askubuntu.com/questions/468661/how-to-fix-pkg-prog-pkg-config-command-not-found-error