microsoft / vcpkg

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

[<jasper>] build failure #41348

Open dongfangZh opened 5 days ago

dongfangZh commented 5 days ago

Operating system

x64-windows

Compiler

MSVC/14.29.30133/bin/Hostx64/x64/cl.exe

Steps to reproduce the behavior

.\vcpkg install jasper:x64-windows
Computing installation plan...
warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows. Consider using --triplet x86-windows or --triplet x86-uwp.
The following packages will be built and installed:
    jasper[core,default-features,opengl]:x64-windows@4.2.1
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\Viking\AppData\Local\vcpkg\archives in 2.36 ms. Use --debug to see more details.
Installing 1/1 jasper[core,default-features,opengl]:x64-windows@4.2.1...
Building jasper[core,default-features,opengl]:x64-windows@4.2.1...
-- Using cached jasper-software-jasper-version-4-2da4b72e.2.1.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/jasper/src/sion-4.2.1-8404b64315.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/jasper-software-jasper-version-4-2da4b72e.2.1.tar.gz
-- Applying patch no_stdc_check.patch
-- Applying patch fix-library-name.patch
-- Using source at D:/vcpkg/buildtrees/jasper/src/sion-4.2.1-8404b64315.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j9
    Working Directory: D:/vcpkg/buildtrees/jasper/x64-windows-dbg
    See logs for more information:
      D:\vcpkg\buildtrees\jasper\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/jasper/portfile.cmake:38 (vcpkg_cmake_install)
  scripts/ports.cmake:192 (include)

Failure logs

install-x64-windows-dbg-err.log install-x64-windows-dbg-out.log

Additional context

No response

dg0yt commented 2 days ago

The port was updated to 4.2.4. Does the problem still exist?