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

x264:x64-windows build failure #13693

Closed
MattLathropTL opened this issue Sep 23, 2020 · 1 comment
Closed

x264:x64-windows build failure #13693

MattLathropTL opened this issue Sep 23, 2020 · 1 comment
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly

Comments

@MattLathropTL
Copy link

Host Environment

  • OS: Windows 10
  • Compiler: MSVC 2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install x264:x64-windows

Failure logs

PS C:\Users\mattl\Documents\Code\vcpkg> ./vcpkg install x264:x64-windows --recurse
Computing installation plan...
The following packages will be built and installed:
    x264[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: x264:x64-windows
Building package x264[core]:x64-windows...
Could not locate cached archive: C:\Users\mattl\AppData\Local\vcpkg\archives\bc\bc313708f405c75589135ebddc803556e20780d7.zip
-- Using cached C:/Users/mattl/Documents/Code/vcpkg/downloads/mirror-x264-303c484ec828ed0d8bfe743500e70314d026c3bd.tar.gz
-- Cleaning sources at C:/Users/mattl/Documents/Code/vcpkg/buildtrees/x264/src/14d026c3bd-bca2ebf740.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/mattl/Documents/Code/vcpkg/downloads/mirror-x264-303c484ec828ed0d8bfe743500e70314d026c3bd.tar.gz
-- Applying patch uwp-cflags.patch
-- Using source at C:/Users/mattl/Documents/Code/vcpkg/buildtrees/x264/src/14d026c3bd-bca2ebf740.clean
-- Acquiring MSYS Packages...
-- Acquiring MSYS Packages... OK
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: C:/Users/mattl/Documents/Code/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc --debug -c " CC='C:/Users/mattl/Documents/Code/vcpkg/downloads/tools/msys2/msys64/usr/share/automake-1.16/compile cl.exe -nologo' CXX='C:/Users/mattl/Documents/Code/vcpkg/downloads/tools/msys2/msys64/usr/share/automake-1.16/compile cl.exe -nologo' LD='link.exe -verbose' AR='C:/Users/mattl/Documents/Code/vcpkg/downloads/tools/msys2/msys64/usr/share/automake-1.16/ar-lib lib.exe -verbose' RANLIB=':' CCAS=':' NM='dumpbin.exe -symbols -headers -all' DLLTOOL='link.exe -verbose -dll' ./../src/14d026c3bd-bca2ebf740.clean/configure --build=x86_64-pc-mingw32 --target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32 --enable-strip --disable-lavf --disable-swscale --disable-avs --disable-ffms --disable-gpac --disable-lsmash --disable-asm --enable-debug --disable-silent-rules --verbose --enable-shared --disable-static --prefix=/C/Users/mattl/Documents/Code/vcpkg/installed/x64-windows/debug --bindir='${prefix}'/../tools/x264/debug/bin --sbindir='${prefix}'/../tools/x264/debug/sbin --includedir='${prefix}'/../include --datarootdir='${prefix}'/share/x264"
    Working Directory: C:/Users/mattl/Documents/Code/vcpkg/buildtrees/x264/x64-windows-dbg
    Error code: 1
    See logs for more information:
      C:\Users\mattl\Documents\Code\vcpkg\buildtrees\x264\config-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:461 (vcpkg_execute_required_process)
  ports/x264/portfile.cmake:15 (vcpkg_configure_make)
  scripts/ports.cmake:79 (include)


Error: Building package x264: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: x264:x64-windows
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

Log file C:\Users\mattl\Documents\Code\vcpkg\buildtrees\x264\config-x64-windows-dbg-out.log

Unknown option --build=x86_64-pc-mingw32, ignored
Unknown option --target=x86_64-pc-mingw32, ignored
Unknown option --disable-silent-rules, ignored
Unknown option --verbose, ignored
Unknown option --disable-static, ignored
Unknown option --sbindir=${prefix}/../tools/x264/debug/sbin, ignored
Unknown option --datarootdir=${prefix}/share/x264, ignored
No working C compiler found.

Additional context
I can build ffmpeg fine but ffmpeg[x264] fails when trying to build x264 and I can't build x264 either

@NancyLi1013 NancyLi1013 added category:port-bug The issue is with a library, which is something the port should already support category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly labels Sep 24, 2020
@NancyLi1013
Copy link
Contributor

Hi @MattLathropTL
Thanks for posting this issue/
Since it's duplicated to #13327, which will be fixed via #13450.
Let's track this issue there.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly
Projects
None yet
Development

No branches or pull requests

2 participants