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

[liblzma] Build error on x64-windows #38748

Open
blackonyyx opened this issue May 16, 2024 · 1 comment
Open

[liblzma] Build error on x64-windows #38748

blackonyyx opened this issue May 16, 2024 · 1 comment
Assignees
Labels
category:question This issue is a question

Comments

@blackonyyx
Copy link

blackonyyx commented May 16, 2024

OS:

Windows 11 Home

Reproduce:

vcpkg install boost:x64-windows

https://github.com/HO-COOH/CPPDevOnWindows?tab=readme-ov-file#Using-a-library

 Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\Stephen\AppData\Local\vcpkg\archives in 567 us. Use --debug to see more details.
Installing 1/50 liblzma:x64-windows@5.4.4...
Building liblzma:x64-windows@5.4.4...
-- Using cached tukaani-project-xz-v5.4.4.tar.gz.
-- Cleaning sources at C:/Users/Stephen/GitRepo/vcpkg/buildtrees/liblzma/src/v5.4.4-6f848a7cca.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/Stephen/GitRepo/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz
-- Applying patch fix_config_include.patch
-- Applying patch win_output_name.patch
-- Applying patch add_support_ios.patch
-- Applying patch build-tools.patch
-- Using source at C:/Users/Stephen/GitRepo/vcpkg/buildtrees/liblzma/src/v5.4.4-6f848a7cca.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/msys64/mingw64/bin/cmake.exe --build . --config Debug --target install -- -v -j21
    Working Directory: C:/Users/Stephen/GitRepo/vcpkg/buildtrees/liblzma/x64-windows-dbg
    See logs for more information:
      C:\Users\Stephen\GitRepo\vcpkg\buildtrees\liblzma\install-x64-windows-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/liblzma/portfile.cmake:37 (vcp

When installing boost:x64-windows this fails causing the installation of Boost to fail.
install-x64-windows-dbg-out.log

@LilyWangLL LilyWangLL added the category:question This issue is a question label May 16, 2024
@LilyWangLL
Copy link
Contributor

Duplicate of #36493, #37648.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants