Closed ProjectHSI closed 1 month ago
Already fixed in https://github.com/microsoft/vcpkg/pull/39664.
do you mind telling me where to run "git pull" then (as said in the command that gave me the option to report this)? also ran vcpkg-bootstrap and that did not fix it (i'm using pwsh v7 and had to the vcpkg-bootstrap script directly (the one that was in the error message))?
@ProjectHSI Run command git pull
in the root directory of vcpkg
.
Issue persists on 2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9
abseil port-ver is on v3.
{
"name": "abseil",
"version": "20240116.2",
"port-version": 3,
"description": [
"Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.",
"In some cases, Abseil provides pieces missing from the C++ standard; in others, Abseil provides alternatives to the standard for special needs we've found through usage in the Google code base. We denote those cases clearly within the library code we provide you.",
"Abseil is not meant to be a competitor to the standard library; we've just found that many of these utilities serve a purpose within our code base, and we now want to provide those resources to the C++ community as a whole."
],
"homepage": "https://github.com/abseil/abseil-cpp",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"cxx17": {
"description": "Enable compiler C++17."
}
}
}
-- Extracting source D:/ProjectHSI/VCPkg/downloads/abseil-abseil-cpp-20240116.2.tar.gz -- Applying patch 0001-revert-integer-to-string-conversion-optimizations.patch -- Applying patch 0002-Fix-missing-include-random-for-std-uniform_int_distr.patch -- Using source at D:/ProjectHSI/VCPkg/buildtrees/abseil/src/20240116.2-ac9ed9836d.clean
This isn't port-version 3.
D:/ProjectHSI/VCPkg
This might be the git repo which needs to be updated. But you are using manifest mode. The selected port versions are determined by the top-level manifest, in particular by builtin-baseline
.
claening out cmake out dir? doesn't work. resetting the vcpkg repo? doesn't work, cleaning out packages dir? doesn't work. checking all the files for mismatches? no results.
abseil's ports/vcpkg.json:
"port-version": 3
abseil's versions/abseil.json (top result):
...
{
"git-tree": "dcd1d7ce3c896f86473b155e608bb9cfdaae2d94",
"version": "20240116.2",
"port-version": 3
},
...
vcpkg's versions/baseline.json:
"abseil": {
"baseline": "20240116.2",
"port-version": 3
},
is my computer haunted?
misunderstood builtin-baseline, checking it out
This might be the git repo which needs to be updated. But you are using manifest mode. The selected port versions are determined by the top-level manifest, in particular by builtin-baseline.
updating the baseline via vcpkg x-update-baseline
fixed it, thanks. sorry for wasting your time.
Package: abseil:x64-windows@20240116.2#2
Host Environment
To Reproduce
vcpkg install
Failure logs
D:\ProjectHSI\VCPkg\buildtrees\abseil\config-x64-windows-dbg-err.log
``` CMake Error at CMake/AbseilHelpers.cmake:317 (target_link_libraries): The link interface of target "test_allocator" contains: GTest::gmock but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. Call Stack (most recent call first): absl/container/CMakeLists.txt:206 (absl_cc_library) CMake Warning: Manually-specified variables were not used by the project: FETCHCONTENT_FULLY_DISCONNECTED _VCPKG_ROOT_DIR CMake Generate step failed. Build files cannot be regenerated correctly. ```D:\ProjectHSI\VCPkg\buildtrees\abseil\config-x64-windows-dbg-out.log
``` -- The CXX compiler identification is MSVC 19.40.33812.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community1/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Failed -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 -- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Configuring done (11.1s) -- Generating done (2.2s) ```D:\ProjectHSI\VCPkg\buildtrees\abseil\config-x64-windows-dbg-CMakeCache.txt.log
``` # This is the CMakeCache file. # For build in directory: d:/ProjectHSI/VCPkg/buildtrees/abseil/x64-windows-dbg # It was generated by CMake: C:/Program Files/CMake/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 ######################## //If ON, Abseil will build all of Abseil's own tests. ABSL_BUILD_TESTING:BOOL=OFF //If ON, Abseil will build libraries that you can use to write // tests against Abseil code. This option requires that Abseil // is configured to use GoogleTest. ABSL_BUILD_TEST_HELPERS:BOOL=OFF //Enable install rule ABSL_ENABLE_INSTALL:BOOL=ON //If set, download GoogleTest from this URL ABSL_GOOGLETEST_DOWNLOAD_URL:STRING= //If ABSL_USE_GOOGLETEST_HEAD is OFF and ABSL_GOOGLETEST_URL is // not set, specifies the directory of a local GoogleTest checkout. ABSL_LOCAL_GOOGLETEST_DIR:PATH=/usr/src/googletest //Use CMake C++ standard meta features (e.g. cxx_std_14) that propagate // to targets that link to Abseil ABSL_PROPAGATE_CXX_STD:BOOL=ON //If ON, Abseil will assume that the targets for GoogleTest are // already provided by the including project. This makes sense // when Abseil is used with add_subdirectory. ABSL_USE_EXTERNAL_GOOGLETEST:BOOL=OFF //If ON, abseil will download HEAD from GoogleTest at config time. ABSL_USE_GOOGLETEST_HEAD:BOOL=OFF //Silence warnings in Abseil headers by marking them as SYSTEM // includes ABSL_USE_SYSTEM_INCLUDES:BOOL=OFF //No help, variable specified on the command line. BUILD_SHARED_LIBS:UNINITIALIZED=ON //Build the testing tree. BUILD_TESTING:BOOL=ON //Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community1/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community1/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/O2 /Ob1 /DNDEBUG //Libraries linked by default with all C++ applications. CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //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:x64 //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=D:/ProjectHSI/VCPkg/buildtrees/abseil/x64-windows-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=D:/ProjectHSI/VCPkg/packages/abseil_x64-windows/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/Community1/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community1/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 //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$<$D:\ProjectHSI\VCPkg\buildtrees\abseil\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
``` --- events: - kind: "message-v1" backtrace: - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:61 (project)" message: | The system is: Windows - 10.0.19045 - AMD64 - kind: "message-v1" backtrace: - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:61 (project)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community1/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP Id flags: The output was: 0 CMakeCXXCompilerId.cpp Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe" Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj" The CXX compiler identification is MSVC, found in: D:/ProjectHSI/VCPkg/buildtrees/abseil/x64-windows-dbg/CMakeFiles/3.30.0-rc3/CompilerIdCXX/CMakeCXXCompilerId.exe - kind: "message-v1" backtrace: - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:1243 (message)" - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:61 (project)" message: | Detecting CXX compiler /showIncludes prefix: main.c Note: including file: D:\\ProjectHSI\\VCPkg\\buildtrees\\abseil\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - kind: "try_compile-v1" backtrace: - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake:74 (try_compile)" - "C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - "CMakeLists.txt:61 (project)" checks: - "Detecting CXX compiler ABI info" directories: source: "D:/ProjectHSI/VCPkg/buildtrees/abseil/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-7cwone" binary: "D:/ProjectHSI/VCPkg/buildtrees/abseil/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-7cwone" cmakeVariables: CMAKE_CXX_FLAGS: " /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP " CMAKE_CXX_FLAGS_DEBUG: "/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 " CMAKE_CXX_SCAN_FOR_MODULES: "OFF" CMAKE_EXE_LINKER_FLAGS: "/machine:x64" CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$Additional context
vcpkg.json
``` { "dependencies": [ "protobuf", "sdl2", "sdl2-image", "sdl2-mixer", "abseil" ] } ```