-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[magnum] build failure - actual issue is vcpkg_copy_tools.cmake #14329
Comments
@StarGate-One, thanks for reporting this issue! It looks regression isssues involved by PR #13968 recently, cc @jgehw Repro: |
After some investigation, and found the changes in
Currently it switch to The TOOL_NAMES is
And for previous revision: The TOOL_NAMES is
This is is known CMake issue https://gitlab.kitware.com/cmake/cmake/-/issues/20317. I think we have 2 workaounds:
|
@PhoebeHui thank you. |
@StarGate-One, I have summited PR #14383 to remove the backslash in args. |
@PhoebeHui Thank you very much. |
Host Environment
Visual Studio 2017 Version: 15.9.28 VS Tools Version: 14.16.27023
To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install --x-use-aria2 --recurse --keep-going --editable magnum[al-info,anyaudioimporter,anyimageconverter,anyimageimporter,anysceneconverter,anysceneimporter,audio,cglcontext,core,debugtools,distancefieldconverter,fontconverter,gl,gl-info,glfwapplication,imageconverter,magnumfont,magnumfontconverter,meshtools,objimporter,opengltester,primitives,scenegraph,sdl2application,shaders,text,texturetools,tgaimageconverter,tgaimporter,trade,wavaudioimporter,wglcontext,windowlesswglapplication]:x64-windows magnum-extras[core,ui]:x64-windows magnum-integration[bullet,core,glm,imgui]:x64-windows magnum-plugins[core,ddsimporter,devilimageimporter,drflacaudioimporter,freetypefont,harfbuzzfont,icoimporter,jpegimageconverter,jpegimporter,miniexrimageconverter,openddl,opengeximporter,pngimageconverter,pngimporter,stanfordimporter,stanfordsceneconverter,stbimageconverter,stbimageimporter,stlimporter]:x64-windows
Failure logs
Computing installation plan...
The following packages will be built and installed:
magnum[al-info,anyaudioimporter,anyimageconverter,anyimageimporter,anysceneconverter,anysceneimporter,audio,cglcontext,core,debugtools,distancefieldconverter,fontconverter,gl,gl-info,glfwapplication,imageconverter,magnumfont,magnumfontconverter,meshtools,objimporter,opengltester,primitives,scenegraph,sdl2application,shaders,text,texturetools,tgaimageconverter,tgaimporter,trade,wavaudioimporter,wglcontext,windowlesswglapplication]:x64-windows
magnum-extras[core,ui]:x64-windows
magnum-integration[bullet,core,glm,imgui]:x64-windows
magnum-plugins[core,ddsimporter,devilimageimporter,drflacaudioimporter,freetypefont,harfbuzzfont,icoimporter,jpegimageconverter,jpegimporter,miniexrimageconverter,openddl,opengeximporter,pngimageconverter,pngimporter,stanfordimporter,stanfordsceneconverter,stbimageconverter,stbimageimporter,stlimporter]:x64-windows
Starting package 1/4: magnum:x64-windows
Building package magnum[al-info,anyaudioimporter,anyimageconverter,anyimageimporter,anysceneconverter,anysceneimporter,audio,cglcontext,core,debugtools,distancefieldconverter,fontconverter,gl,gl-info,glfwapplication,imageconverter,magnumfont,magnumfontconverter,meshtools,objimporter,opengltester,primitives,scenegraph,sdl2application,shaders,text,texturetools,tgaimageconverter,tgaimporter,trade,wavaudioimporter,wglcontext,windowlesswglapplication]:x64-windows...
-- Using cached D:/vcpkg_x64/vs2019/prod/downloads/mosra-magnum-v2020.06.tar.gz
-- Extracting source D:/vcpkg_x64/vs2019/prod/downloads/mosra-magnum-v2020.06.tar.gz
-- Applying patch 001-tools-path.patch
-- Applying patch 002-sdl-includes.patch
-- Using source at D:/vcpkg_x64/vs2019/prod/buildtrees/magnum/src/v2020.06-97c0869c1f
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- magnum-al-infomagnum-distancefieldconvertermagnum-fontconvertermagnum-gl-infomagnum-imageconverter
CMake Error at scripts/cmake/vcpkg_copy_tools.cmake:45 (if):
if given arguments:
"EXISTS" "D:/vcpkg_x64/vs2019/prod/packages/magnum_x64-windows/bin/magnum-al-info" "magnum-distancefieldconverter" "magnum-fontconverter" "magnum-gl-info" "magnum-imageconverter.exe"
Unknown arguments specified
Call Stack (most recent call first):
ports/magnum/portfile.cmake:105 (vcpkg_copy_tools)
scripts/ports.cmake:135 (include)
Error: Building package magnum: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: magnum:x64-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
N/A
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
cmake_parse_arguments(_vct "AUTO_CLEAN" "SEARCH_DIR" "TOOL_NAMES" ${ARGN})
tocmake_parse_arguments(PARSE_ARGV 0 _vct "AUTO_CLEAN" "SEARCH_DIR" "TOOL_NAMES")
vcpkg/scripts/cmake/vcpkg_copy_tools.cmake
Line 45 in e9ff3cd
The text was updated successfully, but these errors were encountered: