{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/3631","repository_url":"https://api.github.com/repos/Microsoft/vcpkg","labels_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/3631/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/3631/comments","events_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/3631/events","html_url":"https://github.com/Microsoft/vcpkg/issues/3631","id":328221188,"node_id":"MDU6SXNzdWUzMjgyMjExODg=","number":3631,"title":"Fail to install libffi:x64-windows, but x86-windows succeeds","user":{"login":"snluu","id":1189909,"node_id":"MDQ6VXNlcjExODk5MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1189909?v=4","gravatar_id":"","url":"https://api.github.com/users/snluu","html_url":"https://github.com/snluu","followers_url":"https://api.github.com/users/snluu/followers","following_url":"https://api.github.com/users/snluu/following{/other_user}","gists_url":"https://api.github.com/users/snluu/gists{/gist_id}","starred_url":"https://api.github.com/users/snluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snluu/subscriptions","organizations_url":"https://api.github.com/users/snluu/orgs","repos_url":"https://api.github.com/users/snluu/repos","events_url":"https://api.github.com/users/snluu/events{/privacy}","received_events_url":"https://api.github.com/users/snluu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-31T17:02:02Z","updated_at":"2018-06-13T12:12:25Z","closed_at":null,"author_association":"NONE","body":"Repro: run `vcpkg install libffi:x64-windows`\r\nVcpkg version: 0.0.113-nohash, running on Windows 10 64 bit\r\n\r\nConsole output:\r\n```\r\nC:\\>vcpkg install libffi:x64-windows\r\nThe following packages will be built and installed:\r\n    libffi[core]:x64-windows\r\nStarting package 1/1: libffi:x64-windows\r\nBuilding package libffi[core]:x64-windows...\r\n-- CURRENT_INSTALLED_DIR=C:/dev/vcpkg/installed/x64-windows\r\n-- DOWNLOADS=C:/dev/vcpkg/downloads\r\n-- CURRENT_PACKAGES_DIR=C:/dev/vcpkg/packages/libffi_x64-windows\r\n-- CURRENT_BUILDTREES_DIR=C:/dev/vcpkg/buildtrees/libffi\r\n-- CURRENT_PORT_DIR=C:/dev/vcpkg/ports/libffi\r\n-- Using cached C:/dev/vcpkg/downloads/libffi-libffi-v3.1.tar.gz\r\n-- Testing integrity of cached file...\r\n-- Testing integrity of cached file... OK\r\n-- Applying patch C:/dev/vcpkg/ports/libffi/export-global-data.patch\r\n-- Applying patch failed. This is expected if this patch was previously applied.\r\n-- Applying patch C:/dev/vcpkg/ports/libffi/export-global-data.patch done\r\n-- Configuring x64-windows\r\nCMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):\r\n    Command failed: ninja;-v\r\n    Working Directory: C:/dev/vcpkg/buildtrees/libffi/x64-windows-rel/vcpkg-parallel-configure\r\n    See logs for more information:\r\n      C:\\dev\\vcpkg\\buildtrees\\libffi\\config-x64-windows-out.log\r\n\r\nCall Stack (most recent call first):\r\n  scripts/cmake/vcpkg_configure_cmake.cmake:237 (vcpkg_execute_required_process)\r\n  ports/libffi/portfile.cmake:22 (vcpkg_configure_cmake)\r\n  scripts/ports.cmake:72 (include)\r\n\r\n\r\nError: Building package libffi:x64-windows failed with: BUILD_FAILED\r\nPlease ensure you're using the latest portfiles with `.\\vcpkg update`, then\r\nsubmit an issue at https://github.com/Microsoft/vcpkg/issues including:\r\n  Package: libffi:x64-windows\r\n  Vcpkg version: 0.0.113-nohash\r\n\r\nAdditionally, attach any relevant sections from the log files above.\r\n```\r\n\r\n\r\nContent of config-x64-windows-out.log:\r\n```\r\n[1/2] cmd /c \"cd ../../x64-windows-dbg && \"C:/Program Files/CMake/bin/cmake.exe\" \"C:/dev/vcpkg/buildtrees/libffi/src/v3.1-206c189062\" \"-DFFI_CONFIG_FILE=C:/dev/vcpkg/ports/libffi/fficonfig.h\" \"-DBUILD_SHARED_LIBS=ON\" \"-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake\" \"-DVCPKG_TARGET_TRIPLET=x64-windows\" \"-DVCPKG_PLATFORM_TOOLSET=v141\" \"-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON\" \"-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE\" \"-DCMAKE_VERBOSE_MAKEFILE=ON\" \"-DVCPKG_APPLOCAL_DEPS=OFF\" \"-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake\" \"-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON\" \"-DVCPKG_CXX_FLAGS=\" \"-DVCPKG_CXX_FLAGS_RELEASE=\" \"-DVCPKG_CXX_FLAGS_DEBUG=\" \"-DVCPKG_C_FLAGS=\" \"-DVCPKG_C_FLAGS_RELEASE=\" \"-DVCPKG_C_FLAGS_DEBUG=\" \"-DVCPKG_CRT_LINKAGE=dynamic\" \"-DVCPKG_LINKER_FLAGS=\" \"-DCMAKE_INSTALL_LIBDIR:STRING=lib\" \"-DCMAKE_INSTALL_BINDIR:STRING=bin\" \"-DFFI_SKIP_HEADERS=ON\" \"-G\" \"Visual Studio 15 2017 Win64\" \"-DCMAKE_BUILD_TYPE=Debug\" \"-DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/libffi_x64-windows/debug\"\"\r\nFAILED: ../../x64-windows-dbg/CMakeCache.txt \r\ncmd /c \"cd ../../x64-windows-dbg && \"C:/Program Files/CMake/bin/cmake.exe\" \"C:/dev/vcpkg/buildtrees/libffi/src/v3.1-206c189062\" \"-DFFI_CONFIG_FILE=C:/dev/vcpkg/ports/libffi/fficonfig.h\" \"-DBUILD_SHARED_LIBS=ON\" \"-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake\" \"-DVCPKG_TARGET_TRIPLET=x64-windows\" \"-DVCPKG_PLATFORM_TOOLSET=v141\" \"-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON\" \"-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE\" \"-DCMAKE_VERBOSE_MAKEFILE=ON\" \"-DVCPKG_APPLOCAL_DEPS=OFF\" \"-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake\" \"-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON\" \"-DVCPKG_CXX_FLAGS=\" \"-DVCPKG_CXX_FLAGS_RELEASE=\" \"-DVCPKG_CXX_FLAGS_DEBUG=\" \"-DVCPKG_C_FLAGS=\" \"-DVCPKG_C_FLAGS_RELEASE=\" \"-DVCPKG_C_FLAGS_DEBUG=\" \"-DVCPKG_CRT_LINKAGE=dynamic\" \"-DVCPKG_LINKER_FLAGS=\" \"-DCMAKE_INSTALL_LIBDIR:STRING=lib\" \"-DCMAKE_INSTALL_BINDIR:STRING=bin\" \"-DFFI_SKIP_HEADERS=ON\" \"-G\" \"Visual Studio 15 2017 Win64\" \"-DCMAKE_BUILD_TYPE=Debug\" \"-DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/libffi_x64-windows/debug\"\"\r\n-- The C compiler identification is MSVC 19.14.26429.4\r\n-- The ASM compiler identification is MSVC\r\n-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\nwin64.S\r\nc1: fatal error C1356: unable to find mspdbcore.dll\r\nMicrosoft (R) Macro Assembler (x64) Version 14.14.26429.4\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n Assembling: win64.asm\r\nwin64.asm(1) : error A2088:END directive required at end of file\r\n-- Configuring done\r\nCMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:159 (_add_library):\r\n  Cannot find source file:\r\n\r\n    C:/dev/vcpkg/buildtrees/libffi/x64-windows-dbg/win64.obj\r\n\r\n  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm\r\n  .hpp .hxx .in .txx\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:124 (add_library)\r\n\r\n\r\nCMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:159 (_add_library):\r\n  No SOURCES given to target: libffi\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:124 (add_library)\r\n\r\n\r\n-- Build files have been written to: C:/dev/vcpkg/buildtrees/libffi/x64-windows-dbg\r\n[2/2] cmd /c \"cd .. && \"C:/Program Files/CMake/bin/cmake.exe\" \"C:/dev/vcpkg/buildtrees/libffi/src/v3.1-206c189062\" \"-DFFI_CONFIG_FILE=C:/dev/vcpkg/ports/libffi/fficonfig.h\" \"-DBUILD_SHARED_LIBS=ON\" \"-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake\" \"-DVCPKG_TARGET_TRIPLET=x64-windows\" \"-DVCPKG_PLATFORM_TOOLSET=v141\" \"-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON\" \"-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE\" \"-DCMAKE_VERBOSE_MAKEFILE=ON\" \"-DVCPKG_APPLOCAL_DEPS=OFF\" \"-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake\" \"-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON\" \"-DVCPKG_CXX_FLAGS=\" \"-DVCPKG_CXX_FLAGS_RELEASE=\" \"-DVCPKG_CXX_FLAGS_DEBUG=\" \"-DVCPKG_C_FLAGS=\" \"-DVCPKG_C_FLAGS_RELEASE=\" \"-DVCPKG_C_FLAGS_DEBUG=\" \"-DVCPKG_CRT_LINKAGE=dynamic\" \"-DVCPKG_LINKER_FLAGS=\" \"-DCMAKE_INSTALL_LIBDIR:STRING=lib\" \"-DCMAKE_INSTALL_BINDIR:STRING=bin\" \"-G\" \"Visual Studio 15 2017 Win64\" \"-DCMAKE_BUILD_TYPE=Release\" \"-DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/libffi_x64-windows\"\"\r\nFAILED: ../CMakeCache.txt \r\ncmd /c \"cd .. && \"C:/Program Files/CMake/bin/cmake.exe\" \"C:/dev/vcpkg/buildtrees/libffi/src/v3.1-206c189062\" \"-DFFI_CONFIG_FILE=C:/dev/vcpkg/ports/libffi/fficonfig.h\" \"-DBUILD_SHARED_LIBS=ON\" \"-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake\" \"-DVCPKG_TARGET_TRIPLET=x64-windows\" \"-DVCPKG_PLATFORM_TOOLSET=v141\" \"-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON\" \"-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON\" \"-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE\" \"-DCMAKE_VERBOSE_MAKEFILE=ON\" \"-DVCPKG_APPLOCAL_DEPS=OFF\" \"-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake\" \"-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON\" \"-DVCPKG_CXX_FLAGS=\" \"-DVCPKG_CXX_FLAGS_RELEASE=\" \"-DVCPKG_CXX_FLAGS_DEBUG=\" \"-DVCPKG_C_FLAGS=\" \"-DVCPKG_C_FLAGS_RELEASE=\" \"-DVCPKG_C_FLAGS_DEBUG=\" \"-DVCPKG_CRT_LINKAGE=dynamic\" \"-DVCPKG_LINKER_FLAGS=\" \"-DCMAKE_INSTALL_LIBDIR:STRING=lib\" \"-DCMAKE_INSTALL_BINDIR:STRING=bin\" \"-G\" \"Visual Studio 15 2017 Win64\" \"-DCMAKE_BUILD_TYPE=Release\" \"-DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/libffi_x64-windows\"\"\r\n-- The C compiler identification is MSVC 19.14.26429.4\r\n-- The ASM compiler identification is MSVC\r\n-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe\r\n-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\nwin64.S\r\nc1: fatal error C1356: unable to find mspdbcore.dll\r\nMicrosoft (R) Macro Assembler (x64) Version 14.14.26429.4\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n Assembling: win64.asm\r\nwin64.asm(1) : error A2088:END directive required at end of file\r\n-- Configuring done\r\nCMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:159 (_add_library):\r\n  Cannot find source file:\r\n\r\n    C:/dev/vcpkg/buildtrees/libffi/x64-windows-rel/win64.obj\r\n\r\n  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm\r\n  .hpp .hxx .in .txx\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:124 (add_library)\r\n\r\n\r\nCMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:159 (_add_library):\r\n  No SOURCES given to target: libffi\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:124 (add_library)\r\n\r\n\r\n-- Build files have been written to: C:/dev/vcpkg/buildtrees/libffi/x64-windows-rel\r\nninja: build stopped: subcommand failed.\r\n```\r\n\r\nAm I missing something?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/comments/396915649","html_url":"https://github.com/Microsoft/vcpkg/issues/3631#issuecomment-396915649","issue_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/3631","id":396915649,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkxNTY0OQ==","user":{"login":"JulianDE90","id":30926730,"node_id":"MDQ6VXNlcjMwOTI2NzMw","avatar_url":"https://avatars3.githubusercontent.com/u/30926730?v=4","gravatar_id":"","url":"https://api.github.com/users/JulianDE90","html_url":"https://github.com/JulianDE90","followers_url":"https://api.github.com/users/JulianDE90/followers","following_url":"https://api.github.com/users/JulianDE90/following{/other_user}","gists_url":"https://api.github.com/users/JulianDE90/gists{/gist_id}","starred_url":"https://api.github.com/users/JulianDE90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulianDE90/subscriptions","organizations_url":"https://api.github.com/users/JulianDE90/orgs","repos_url":"https://api.github.com/users/JulianDE90/repos","events_url":"https://api.github.com/users/JulianDE90/events{/privacy}","received_events_url":"https://api.github.com/users/JulianDE90/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T12:12:25Z","updated_at":"2018-06-13T12:12:25Z","author_association":"NONE","body":"Same issue here when trying to install grpc\r\n\r\nAny ideas?\r\n\r\n[CMakeError.log](https://github.com/Microsoft/vcpkg/files/2097999/CMakeError.log)\r\n"}}
{"actor":{"display_login":"JulianDE90"}}