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

The command vcpkg install poco executes successfully, but vcpkg install poco[crypto]:x64-mingw-static --recurse fails. How should I handle this issue? #4735

Open
LetAmericaGreatAgain opened this issue Oct 15, 2024 · 3 comments

Comments

@LetAmericaGreatAgain
Copy link

The command vcpkg install poco executes successfully, but vcpkg install poco[crypto]:x64-mingw-static --recurse fails. How should I handle this issue?

@LetAmericaGreatAgain
Copy link
Author

Computing installation plan...
The following packages will be built and installed:
poco[core,crypto]:[email protected]
Detecting compiler hash for triplet x64-mingw-static...
-- Automatically setting %HTTP(S)_PROXY% environment variables to "127.0.0.1:7890".
Compiler found: D:/clib/Qt/Tools/mingw1310_64/bin/x86_64-w64-mingw32-g++.exe
Restored 0 package(s) from C:\Users\universe\AppData\Local\vcpkg\archives in 83.4 us. Use --debug to see more details.
Installing 1/1 poco[core,crypto]:[email protected]...
Building poco[core,crypto]:[email protected]...
D:\vcpkg\triplets\community\x64-mingw-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
-- Using cached pocoproject-poco-poco-1.13.3-release.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/poco/src/.3-release-bdefce8352.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/pocoproject-poco-poco-1.13.3-release.tar.gz
-- Applying patch 0001-static-pcre.patch
-- Applying patch 0002-arm64-pcre.patch
-- Applying patch 0003-fix-dependency.patch
-- Applying patch 0004-fix-feature-sqlite3.patch
-- Applying patch 0005-fix-error-c3861.patch
-- Applying patch 0007-find-pcre2.patch
-- Using source at D:/vcpkg/buildtrees/poco/src/.3-release-bdefce8352.clean
-- Configuring x64-mingw-static
-- Building x64-mingw-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: "D:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j25
Working Directory: D:/vcpkg/buildtrees/poco/x64-mingw-static-dbg
See logs for more information:
D:\vcpkg\buildtrees\poco\install-x64-mingw-static-dbg-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/poco/portfile.cmake:84 (vcpkg_cmake_install)
scripts/ports.cmake:192 (include)

error: building poco:x64-mingw-static failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle poco:x64-mingw-static: 2 min
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+poco
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[poco]+Build+error+on+x64-mingw-static&body=Copy+issue+body+from+D%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

@matejk
Copy link
Contributor

matejk commented Oct 15, 2024

Compiling with mingw is unfortunately not actively maintained.

@Guinidi
Copy link

Guinidi commented Oct 20, 2024

Compiling with mingw is unfortunately not actively maintained.

have you found the answer cz i have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@matejk @LetAmericaGreatAgain @Guinidi and others