Skip to content
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

[sqlpp11] Build error on x64-windows-static-md #41068

Closed
244916896 opened this issue Sep 19, 2024 · 6 comments · Fixed by #41128
Closed

[sqlpp11] Build error on x64-windows-static-md #41068

244916896 opened this issue Sep 19, 2024 · 6 comments · Fixed by #41128
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@244916896
Copy link

244916896 commented Sep 19, 2024

[build] Installing 1/1 sqlpp11[core,mysql,sqlite3]:x64-windows-static-md@0.64...
[build] Building sqlpp11[core,mysql,sqlite3]:x64-windows-static-md@0.64...
[build] E:\develop\candcpp\vcpkg20240823\triplets\community\x64-windows-static-md.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
[build] E:\develop\candcpp\vcpkg20240823\buildtrees\versioning_\versions\sqlpp11\6906f65042fff492746cfe95290e03ea4e89da4a: info: installing overlay port from here
[build] -- Using cached rbock-sqlpp11-0.64.tar.gz.
[build] -- Cleaning sources at E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean. Use --editable to skip cleaning for the packages you specify.
[build] -- Extracting source E:/develop/candcpp/vcpkg20240823/downloads/rbock-sqlpp11-0.64.tar.gz
[build] -- Applying patch ddl2cpp_path.patch
[build] -- Applying patch fix_link_sqlite3.patch
[build] -- Using source at E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean
[build] -- Found external ninja('1.10.2').
[build] -- Configuring x64-windows-static-md
[build] CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
[build]     Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
[build]     Working Directory: E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/x64-windows-static-md-rel/vcpkg-parallel-configure
[build]     Error code: 1
[build]     See logs for more information:
[build]       E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-dbg-CMakeCache.txt.log
[build]       E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-rel-CMakeCache.txt.log
[build]       E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-dbg-CMakeConfigureLog.yaml.log
[build]       E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-rel-CMakeConfigureLog.yaml.log
[build]       E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-out.log
[build] 
[build] Call Stack (most recent call first):
[build]   E:/develop/candcpp/vcpkg_windows_demo/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
[build]   buildtrees/versioning_/versions/sqlpp11/6906f65042fff492746cfe95290e03ea4e89da4a/portfile.cmake:22 (vcpkg_cmake_configure)
[build]   scripts/ports.cmake:192 (include)
[build] 
[build] 
[build] error: building sqlpp11:x64-windows-static-md failed with: BUILD_FAILEDSee https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
[build] Elapsed time to handle sqlpp11:x64-windows-static-md: 8.2 s
[build] Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
[build] Then check for known issues at:
[build]   https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sqlpp11
[build] You can submit a new issue at:
[build]   https://github.com/microsoft/vcpkg/issues/new?title=[sqlpp11]+Build+error+on+x64-windows-static-md&body=Copy+issue+body+from+E%3A%2Fdevelop%2Fcandcpp%2Fvcpkg_windows_demo%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
[build] 
[build] -- Running vcpkg install - failed
[build] CMake Error at E:/develop/candcpp/vcpkg20240823/scripts/buildsystems/vcpkg.cmake:904 (message):
[build]   vcpkg install failed.  See logs for more information:
[build]   E:\develop\candcpp\vcpkg_windows_demo\build\vcpkg-manifest-install.log
[build] Call Stack (most recent call first):
[build]   build/CMakeFiles/3.30.3/CMakeSystem.cmake:6 (include)
[build]   CMakeLists.txt:12 (project)
[build] 
[build] 
[build] -- Configuring incomplete, errors occurred!
[build] CMake Configure step failed.  Build files cannot be regenerated correctly.
[proc] 命令“"C:\Program Files\CMake\bin\cmake.EXE" --build e:/develop/candcpp/vcpkg_windows_demo/build --config RelWithDebInfo --target ALL_BUILD -j 14 --”已退出,代码为 4294967295
[driver] 生成完毕: 00:00:19.507
[build] 生成已完成,退出代码为 4294967295
@MonicaLiu0311 MonicaLiu0311 added the requires:more-information This Issue requires more information to solve label Sep 19, 2024
@MonicaLiu0311
Copy link
Contributor

MonicaLiu0311 commented Sep 19, 2024

[build] CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
[build]     Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
[build]     Working Directory: E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/x64-windows-static-md-rel/vcpkg-parallel-configure
[build]     Error code: 1
[build]     See logs for more information:
[build]       E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-out.log
[build] CMake Error at E:/develop/candcpp/vcpkg20240823/scripts/buildsystems/vcpkg.cmake:904 (message):
[build]   vcpkg install failed.  See logs for more information:
[build]   E:\develop\candcpp\vcpkg_windows_demo\build\vcpkg-manifest-install.log

Please provide the detailed error log files.

@244916896
Copy link
Author

config-x64-windows-static-md-out.log
[1/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir "../../x64-windows-static-md-dbg" "C:/Program Files/CMake/bin/cmake.exe" "E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=E:/develop/candcpp/vcpkg20240823/packages/sqlpp11_x64-windows-static-md/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_TESTING:BOOL=OFF" "-DUSE_SYSTEM_DATE:BOOL=ON" "-DBUILD_SQLITE3_CONNECTOR=ON" "-DBUILD_MARIADB_CONNECTOR=OFF" "-DBUILD_MYSQL_CONNECTOR=ON" "-DBUILD_POSTGRESQL_CONNECTOR=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=E:/develop/candcpp/vcpkg20240823/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=E:/develop/candcpp/vcpkg20240823/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=E:/develop/candcpp/vcpkg20240823" "-D_VCPKG_INSTALLED_DIR=E:/develop/candcpp/vcpkg_windows_demo/build/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../../x64-windows-static-md-dbg/CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir "../../x64-windows-static-md-dbg" "C:/Program Files/CMake/bin/cmake.exe" "E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=E:/develop/candcpp/vcpkg20240823/packages/sqlpp11_x64-windows-static-md/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_TESTING:BOOL=OFF" "-DUSE_SYSTEM_DATE:BOOL=ON" "-DBUILD_SQLITE3_CONNECTOR=ON" "-DBUILD_MARIADB_CONNECTOR=OFF" "-DBUILD_MYSQL_CONNECTOR=ON" "-DBUILD_POSTGRESQL_CONNECTOR=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=E:/develop/candcpp/vcpkg20240823/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=E:/develop/candcpp/vcpkg20240823/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=E:/develop/candcpp/vcpkg20240823" "-D_VCPKG_INSTALLED_DIR=E:/develop/candcpp/vcpkg_windows_demo/build/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The CXX compiler identification is MSVC 19.31.31106.2
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
MySQL_INCLUDE_DIR (missing: MySQL_LIBRARY)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindMySQL.cmake:57 (find_package_handle_standard_args)
E:/develop/candcpp/vcpkg20240823/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
CMakeLists.txt:54 (find_package)

-- Configuring incomplete, errors occurred!
[2/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=E:/develop/candcpp/vcpkg20240823/packages/sqlpp11_x64-windows-static-md" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_TESTING:BOOL=OFF" "-DUSE_SYSTEM_DATE:BOOL=ON" "-DBUILD_SQLITE3_CONNECTOR=ON" "-DBUILD_MARIADB_CONNECTOR=OFF" "-DBUILD_MYSQL_CONNECTOR=ON" "-DBUILD_POSTGRESQL_CONNECTOR=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=E:/develop/candcpp/vcpkg20240823/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=E:/develop/candcpp/vcpkg20240823/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=E:/develop/candcpp/vcpkg20240823" "-D_VCPKG_INSTALLED_DIR=E:/develop/candcpp/vcpkg_windows_demo/build/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=E:/develop/candcpp/vcpkg20240823/packages/sqlpp11_x64-windows-static-md" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_TESTING:BOOL=OFF" "-DUSE_SYSTEM_DATE:BOOL=ON" "-DBUILD_SQLITE3_CONNECTOR=ON" "-DBUILD_MARIADB_CONNECTOR=OFF" "-DBUILD_MYSQL_CONNECTOR=ON" "-DBUILD_POSTGRESQL_CONNECTOR=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=E:/develop/candcpp/vcpkg20240823/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=E:/develop/candcpp/vcpkg20240823/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=E:/develop/candcpp/vcpkg20240823" "-D_VCPKG_INSTALLED_DIR=E:/develop/candcpp/vcpkg_windows_demo/build/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The CXX compiler identification is MSVC 19.31.31106.2
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
MySQL_INCLUDE_DIR (missing: MySQL_LIBRARY)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindMySQL.cmake:57 (find_package_handle_standard_args)
E:/develop/candcpp/vcpkg20240823/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
CMakeLists.txt:54 (find_package)

-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

@244916896
Copy link
Author

vcpkg-manifest-install.log
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe
Detecting compiler hash for triplet x64-windows-static-md...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
sqlpp11[core,mysql,sqlite3]:x64-windows-static-md@0.64 -- E:\develop\candcpp\vcpkg20240823\buildtrees\versioning_\versions\sqlpp11\6906f65042fff492746cfe95290e03ea4e89da4a
Restored 0 package(s) from C:\Users\zhanghl\AppData\Local\vcpkg\archives in 1.74 ms. Use --debug to see more details.
Installing 1/1 sqlpp11[core,mysql,sqlite3]:x64-windows-static-md@0.64...
Building sqlpp11[core,mysql,sqlite3]:x64-windows-static-md@0.64...
E:\develop\candcpp\vcpkg20240823\triplets\community\x64-windows-static-md.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
E:\develop\candcpp\vcpkg20240823\buildtrees\versioning_\versions\sqlpp11\6906f65042fff492746cfe95290e03ea4e89da4a: info: installing overlay port from here
-- Using cached rbock-sqlpp11-0.64.tar.gz.
-- Cleaning sources at E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/develop/candcpp/vcpkg20240823/downloads/rbock-sqlpp11-0.64.tar.gz
-- Applying patch ddl2cpp_path.patch
-- Applying patch fix_link_sqlite3.patch
-- Using source at E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/src/0.64-496dbeca06.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows-static-md
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
Working Directory: E:/develop/candcpp/vcpkg20240823/buildtrees/sqlpp11/x64-windows-static-md-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-dbg-CMakeCache.txt.log
E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-rel-CMakeCache.txt.log
E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-dbg-CMakeConfigureLog.yaml.log
E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-rel-CMakeConfigureLog.yaml.log
E:\develop\candcpp\vcpkg20240823\buildtrees\sqlpp11\config-x64-windows-static-md-out.log

Call Stack (most recent call first):
E:/develop/candcpp/vcpkg_windows_demo/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
buildtrees/versioning_/versions/sqlpp11/6906f65042fff492746cfe95290e03ea4e89da4a/portfile.cmake:22 (vcpkg_cmake_configure)
scripts/ports.cmake:192 (include)

error: building sqlpp11:x64-windows-static-md failed with: BUILD_FAILEDSee https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle sqlpp11:x64-windows-static-md: 8.2 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sqlpp11
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[sqlpp11]+Build+error+on+x64-windows-static-md&body=Copy+issue+body+from+E%3A%2Fdevelop%2Fcandcpp%2Fvcpkg_windows_demo%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

@MonicaLiu0311 MonicaLiu0311 added category:port-bug The issue is with a library, which is something the port should already support and removed requires:more-information This Issue requires more information to solve labels Sep 20, 2024
@MonicaLiu0311
Copy link
Contributor

MonicaLiu0311 commented Sep 20, 2024

PS E:\vcpkg> ./vcpkg version
vcpkg package management program version 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658

See LICENSE.txt for license information.

Confirm, locally repro.

CMake Error at E:/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  MySQL_INCLUDE_DIR (missing: MySQL_LIBRARY)
Call Stack (most recent call first):
  E:/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindMySQL.cmake:57 (find_package_handle_standard_args)
  E:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
  CMakeLists.txt:54 (find_package)


-- Configuring incomplete, errors occurred!

@244916896
Copy link
Author

PS E:\develop\candcpp\vcpkg_windows_demo\build> vcpkg version
vcpkg package management program version 2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9

See LICENSE.txt for license information.

@244916896
Copy link
Author

What should I do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants