Host Environment
- OS: Windows 10 Home Single Language (Russian) x64
- Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.27.29110
To Reproduce
Steps to reproduce the behavior:
./vcpkg install libvpx[core]:x64-windows
Failure logs
C:\misc\vcpkg>vcpkg install libvpx[core]:x64-windows
Computing installation plan...
The following packages will be built and installed:
libvpx[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: libvpx:x64-windows
Building package libvpx[core]:x64-windows...
Could not locate cached archive: C:\Users\user\AppData\Local\vcpkg\archives\3f\3f5f6426b4370fcf9fd7812ce359cb51167ac16c.zip
-- Note: libvpx only supports static library linkage. Building static library.
-- Using cached C:/misc/vcpkg/downloads/webmproject-libvpx-v1.9.0.tar.gz
-- Cleaning sources at C:/misc/vcpkg/buildtrees/libvpx/src/v1.9.0-8ebe882649.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/misc/vcpkg/downloads/webmproject-libvpx-v1.9.0.tar.gz
-- Using source at C:/misc/vcpkg/buildtrees/libvpx/src/v1.9.0-8ebe882649.clean
-- Using msys root at C:/misc/vcpkg/downloads/tools/msys2/b1b4e6089ab84adb
CMake Error at installed/x64-windows/share/yasm-tool-helper/yasm-tool-helper.cmake:16 (message):
Cross-targetting and x64 ports requiring yasm require the x86-windows
yasm-tool to be available. Please install yasm-tool:x86-windows first.
Call Stack (most recent call first):
ports/libvpx/portfile.cmake:27 (yasm_tool_helper)
scripts/ports.cmake:136 (include)
Error: Building package libvpx:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libvpx:x64-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
Additional context
As far as I know, if some vcpkg packages require some other packages, vcpkg manages to install them all in the right order. However, for some reason yasm-tool:x86-windows is not among these dependencies, and when vcpkg tries to install libvpx[core]:x64-windows without yasm-tool:x86-windows being available it simply fails. Shouldn't such behaviour be fixed?
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install libvpx[core]:x64-windowsFailure logs
Additional context
As far as I know, if some
vcpkgpackages require some other packages,vcpkgmanages to install them all in the right order. However, for some reasonyasm-tool:x86-windowsis not among these dependencies, and whenvcpkgtries to installlibvpx[core]:x64-windowswithoutyasm-tool:x86-windowsbeing available it simply fails. Shouldn't such behaviour be fixed?