Closed mvfpoa closed 1 year ago
Please test #32985.
Please test #32985.
Package: libwebp[core,libwebpmux,nearlossless,simd,unicode]:x86-windows-static -> 1.3.1#1
Host Environment
To Reproduce
vcpkg install libwebp:x86-windows-static
Failure logs
-- Using cached webmproject-libwebp-v1.3.1.tar.gz.
-- Extracting source C:/vcpkg/downloads/webmproject-libwebp-v1.3.1.tar.gz
-- Applying patch 0002-cmake-config.patch
-- Applying patch 0003-simd.patch
-- Applying patch 0008-sdl.patch
-- Applying patch 0010-fix_build.patch
-- Using source at C:/vcpkg/buildtrees/libwebp/src/v1.3.1-c1605ceee1.clean
-- Configuring x86-windows-static
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v
Working Directory: C:/vcpkg/buildtrees/libwebp/x86-windows-static-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\vcpkg\buildtrees\libwebp\config-x86-windows-static-dbg-CMakeCache.txt.log
C:\vcpkg\buildtrees\libwebp\config-x86-windows-static-rel-CMakeCache.txt.log
C:\vcpkg\buildtrees\libwebp\config-x86-windows-static-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
ports/libwebp/portfile.cmake:35 (vcpkg_cmake_configure)
scripts/ports.cmake:147 (include)
Additional context
I was able to simulate the cmake error on linux and pushed another change.
The problem is from CMake language, and unnoticed upstream: Appending an empty string to an empty list is a no-op.
I am not sure how to update my branch to your last commit. I made so many things that I ended up doing it, I just don't know how.
I was able to build it now! Is there something I should do to confirm?
I think that no further confirmation is needed.
Package: libwebp[core,libwebpmux,nearlossless,simd,unicode]:x86-windows-static -> 1.3.1
Host Environment
To Reproduce
vcpkg install libwebp:x86-windows-static
Failure logs
C:\vcpkg\buildtrees\libwebp\config-x86-windows-static-dbg-CMakeCache.txt.log
``` # This is the CMakeCache file. # For build in directory: c:/vcpkg/buildtrees/libwebp/x86-windows-static-dbg # It was generated by CMake: C:/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. BUILD_SHARED_LIBS:UNINITIALIZED=OFF //Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x86/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug CMAKE_CROSSCOMPILING:STRING=OFF CMAKE_CXX_FLAGS:STRING= /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /GL- /arch:SSE2 CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1 ' CMAKE_CXX_FLAGS_RELEASE:STRING='/MT /O2 /Oi /Gy /DNDEBUG /Z7 ' //C compiler CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x86/cl.exe CMAKE_C_FLAGS:STRING= /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /GL- /arch:SSE2 CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING='/MT /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Libraries linked by default with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //No help, variable specified on the command line. CMAKE_DISABLE_FIND_PACKAGE_SDL:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=/machine:X86 //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= //No help, variable specified on the command line. CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/vcpkg/buildtrees/libwebp/x86-windows-static-dbg/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin //Read-only architecture-independent data (DATAROOTDIR) CMAKE_INSTALL_DATADIR:PATH= //Read-only architecture-independent data root (share) CMAKE_INSTALL_DATAROOTDIR:PATH=share //Documentation root (DATAROOTDIR/doc/PROJECT_NAME) CMAKE_INSTALL_DOCDIR:PATH= //C header files (include) CMAKE_INSTALL_INCLUDEDIR:PATH=include //Info documentation (DATAROOTDIR/info) CMAKE_INSTALL_INFODIR:PATH= //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Program executables (libexec) CMAKE_INSTALL_LIBEXECDIR:PATH=libexec //Locale-dependent data (DATAROOTDIR/locale) CMAKE_INSTALL_LOCALEDIR:PATH= //Modifiable single-machine data (var) CMAKE_INSTALL_LOCALSTATEDIR:PATH=var //Man documentation (DATAROOTDIR/man) CMAKE_INSTALL_MANDIR:PATH= //C header files for non-gcc (/usr/include) CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/vcpkg/packages/libwebp_x86-windows-static/debug //Run-time variable data (LOCALSTATEDIR/run) CMAKE_INSTALL_RUNSTATEDIR:PATH= //System admin executables (sbin) CMAKE_INSTALL_SBINDIR:PATH=sbin //Modifiable architecture-independent data (com) CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com //Read-only single-machine data (etc) CMAKE_INSTALL_SYSCONFDIR:PATH=etc //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x86/link.exe //No help, variable specified on the command line. CMAKE_MAKE_PROGRAM:UNINITIALIZED=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:X86 //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$C:\vcpkg\buildtrees\libwebp\config-x86-windows-static-rel-CMakeCache.txt.log
``` # This is the CMakeCache file. # For build in directory: c:/vcpkg/buildtrees/libwebp/x86-windows-static-rel # It was generated by CMake: C:/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. BUILD_SHARED_LIBS:UNINITIALIZED=OFF //Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x86/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Release CMAKE_CROSSCOMPILING:STRING=OFF CMAKE_CXX_FLAGS:STRING= /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /GL- /arch:SSE2 CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1 ' CMAKE_CXX_FLAGS_RELEASE:STRING='/MT /O2 /Oi /Gy /DNDEBUG /Z7 ' //C compiler CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x86/cl.exe CMAKE_C_FLAGS:STRING= /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /GL- /arch:SSE2 CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING='/MT /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Libraries linked by default with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //No help, variable specified on the command line. CMAKE_DISABLE_FIND_PACKAGE_SDL:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=/machine:X86 //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= //No help, variable specified on the command line. CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/vcpkg/buildtrees/libwebp/x86-windows-static-rel/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin //Read-only architecture-independent data (DATAROOTDIR) CMAKE_INSTALL_DATADIR:PATH= //Read-only architecture-independent data root (share) CMAKE_INSTALL_DATAROOTDIR:PATH=share //Documentation root (DATAROOTDIR/doc/PROJECT_NAME) CMAKE_INSTALL_DOCDIR:PATH= //C header files (include) CMAKE_INSTALL_INCLUDEDIR:PATH=include //Info documentation (DATAROOTDIR/info) CMAKE_INSTALL_INFODIR:PATH= //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Program executables (libexec) CMAKE_INSTALL_LIBEXECDIR:PATH=libexec //Locale-dependent data (DATAROOTDIR/locale) CMAKE_INSTALL_LOCALEDIR:PATH= //Modifiable single-machine data (var) CMAKE_INSTALL_LOCALSTATEDIR:PATH=var //Man documentation (DATAROOTDIR/man) CMAKE_INSTALL_MANDIR:PATH= //C header files for non-gcc (/usr/include) CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/vcpkg/packages/libwebp_x86-windows-static //Run-time variable data (LOCALSTATEDIR/run) CMAKE_INSTALL_RUNSTATEDIR:PATH= //System admin executables (sbin) CMAKE_INSTALL_SBINDIR:PATH=sbin //Modifiable architecture-independent data (com) CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com //Read-only single-machine data (etc) CMAKE_INSTALL_SYSCONFDIR:PATH=etc //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x86/link.exe //No help, variable specified on the command line. CMAKE_MAKE_PROGRAM:UNINITIALIZED=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:X86 //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$C:\vcpkg\buildtrees\libwebp\config-x86-windows-static-out.log
see attached file (the content is bigger than allowed for this field) [config-x86-windows-static-out.log](https://github.com/microsoft/vcpkg/files/12256037/config-x86-windows-static-out.log)Additional context