Skip to content

[libvpx[core]:x64-windows] build failure #14511

@ivanovmp

Description

@ivanovmp

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?

Metadata

Metadata

Assignees

Labels

category:port-featureThe issue is with a library, which is requesting new capabilities that didn’t exist

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions