Closed wongshek closed 7 months ago
Try rebuilding with https://github.com/microsoft/vcpkg/pull/38100
I found the reason. It is because I have encryption software installed on my computer, which may have encrypted some source files. I successfully compiled it after switching to a computer without encryption software.
Package: lapack-reference[blas-select,core,noblas]:x64-windows@3.11.0#4
Host Environment
To Reproduce
vcpkg install lapack-reference
Failure logsF:\Develop\vcpkg-test\vcpkg\buildtrees\lapack-reference\config-x64-windows-out.log
``` [1/2] "F:/Develop/vcpkg-test/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir ".." "F:/Develop/vcpkg-test/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "F:/Develop/vcpkg-test/vcpkg/buildtrees/lapack-reference/src/v3.11.0-5e6de67bfb.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=F:/Develop/vcpkg-test/vcpkg/packages/lapack-reference_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DUSE_OPTIMIZED_BLAS=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_BLAS=ON" "-DCBLAS=OFF" "-DTEST_FORTRAN_COMPILER=OFF" "-DCMAKE_GNUtoMS=ON" "-DCMAKE_Fortran_COMPILER=F:/Develop/vcpkg-test/vcpkg/downloads/tools/msys2/ea41234e6f8dc137/mingw64/bin/gfortran.exe" "-DCMAKE_C_COMPILER=F:/Develop/vcpkg-test/vcpkg/downloads/tools/msys2/ea41234e6f8dc137/mingw64/bin/gcc.exe" "-DCMAKE_Fortran_FLAGS_INIT:STRING= -mabi=ms -m64 " "-DCMAKE_MAKE_PROGRAM=D:/Programs/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=F:/Develop/vcpkg-test/vcpkg/scripts/toolchains/mingw.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-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=F:/Develop/vcpkg-test/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=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=F:/Develop/vcpkg-test/vcpkg" "-D_VCPKG_INSTALLED_DIR=F:/Develop/vcpkg-test/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../CMakeCache.txt "F:/Develop/vcpkg-test/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir ".." "F:/Develop/vcpkg-test/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "F:/Develop/vcpkg-test/vcpkg/buildtrees/lapack-reference/src/v3.11.0-5e6de67bfb.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=F:/Develop/vcpkg-test/vcpkg/packages/lapack-reference_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DUSE_OPTIMIZED_BLAS=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_BLAS=ON" "-DCBLAS=OFF" "-DTEST_FORTRAN_COMPILER=OFF" "-DCMAKE_GNUtoMS=ON" "-DCMAKE_Fortran_COMPILER=F:/Develop/vcpkg-test/vcpkg/downloads/tools/msys2/ea41234e6f8dc137/mingw64/bin/gfortran.exe" "-DCMAKE_C_COMPILER=F:/Develop/vcpkg-test/vcpkg/downloads/tools/msys2/ea41234e6f8dc137/mingw64/bin/gcc.exe" "-DCMAKE_Fortran_FLAGS_INIT:STRING= -mabi=ms -m64 " "-DCMAKE_MAKE_PROGRAM=D:/Programs/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=F:/Develop/vcpkg-test/vcpkg/scripts/toolchains/mingw.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-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=F:/Develop/vcpkg-test/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=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=F:/Develop/vcpkg-test/vcpkg" "-D_VCPKG_INSTALLED_DIR=F:/Develop/vcpkg-test/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argumentMore logs lapack-reference-log.zip