-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[libmysql] build failure #29148
Comments
I'm sorry that I can't reproduce your issue. I found that the |
This is so strange. I update vcpkg package latest, but icu version is still 72.1. this is my operate command: ➜ vcpkg git:(master) git pull https://github.com/microsoft/vcpkg.git master
➜ vcpkg git:(master) ➜ vcpkg git:(master) ./bootstrap-vcpkg.sh
|
You have updated successfully, because icu changed from
|
sorry, I see this. CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /bin/bash -c "V=1 ./../src/c-72_1-src-507f6288e7.clean/source/configure --host=aarch64-apple-darwin \"--disable-samples\" \"--disable-tests\" \"--disable-layoutex\" \"--enable-tools\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--enable-debug\" \"--disable-release\" \"--prefix=/Users/haruhi/ClionProjects/vcpkg/installed/arm64-osx/debug\" \"--bindir=\\${prefix}/../tools/icu/debug/bin\" \"--sbindir=\\${prefix}/../tools/icu/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/icu\""
Working Directory: /Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/arm64-osx-dbg
Error code: 1
See logs for more information:
/Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/config-arm64-osx-dbg-config.log
/Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/config-arm64-osx-dbg-out.log
/Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/config-arm64-osx-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_make.cmake:811 (vcpkg_execute_required_process)
ports/icu/portfile.cmake:55 (vcpkg_configure_make)
scripts/ports.cmake:147 (include) |
thank you! |
➜ vcpkg git:(master) ./vcpkg --version
vcpkg package management program version 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9
See LICENSE.txt for license information.
when I use c++ connect mysql, I will install libmysql library, get this error.
error log:
➜ vcpkg git:(master) ./vcpkg install libmysql
Computing installation plan...
The following packages will be built and installed:
libmysql[core]:arm64-osx -> 8.0.20#9
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet arm64-osx...
Restored 0 package(s) from /Users/haruhi/.cache/vcpkg/archives in 45.92 us. Use --debug to see more details.
Installing 1/5 icu:arm64-osx...
Building icu[core]:arm64-osx...
warning: -- Using community triplet arm64-osx. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /Users/haruhi/ClionProjects/vcpkg/triplets/community/arm64-osx.cmake
-- Using cached icu4c-72_1-src.tgz.
-- Cleaning sources at /Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/src/c-72_1-src-507f6288e7.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/haruhi/ClionProjects/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 /Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/src/c-72_1-src-507f6288e7.clean
-- Found external ninja('1.11.1').
-- Getting CMake variables for arm64-osx-dbg
-- Getting CMake variables for arm64-osx-rel
-- Generating configure for arm64-osx
-- Finished generating configure for arm64-osx
-- Configuring arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /bin/bash -c "V=1 ./../src/c-72_1-src-507f6288e7.clean/source/configure --host=aarch64-apple-darwin "--disable-samples" "--disable-tests" "--disable-layoutex" "--disable-silent-rules" "--verbose" "--disable-shared" "--enable-static" "--enable-debug" "--disable-release" "--prefix=/Users/haruhi/ClionProjects/vcpkg/installed/arm64-osx/debug" "--bindir=\${prefix}/../tools/icu/debug/bin" "--sbindir=\${prefix}/../tools/icu/debug/sbin" "--libdir=\${prefix}/lib" "--includedir=\${prefix}/../include" "--datarootdir=\${prefix}/share/icu""
Working Directory: /Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/arm64-osx-dbg
Error code: 1
See logs for more information:
/Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/config-arm64-osx-dbg-config.log
/Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/config-arm64-osx-dbg-out.log
/Users/haruhi/ClionProjects/vcpkg/buildtrees/icu/config-arm64-osx-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_make.cmake:811 (vcpkg_execute_required_process)
ports/icu/portfile.cmake:50 (vcpkg_configure_make)
scripts/ports.cmake:147 (include)
error: building icu:arm64-osx failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+icu
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[icu]+Build+error
Include '[icu] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9
vcpkg-scripts version: e69dd97 2023-01-20 (3 days ago)
Please use the prefilled template from /Users/haruhi/ClionProjects/vcpkg/installed/vcpkg/issue_body.md when reporting your issue.
thanks!
The text was updated successfully, but these errors were encountered: