Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
-
None
Description
Building mariadb-connector-cpp using below steps:
- git clone https://github.com/MariaDB-Corporation/mariadb-connector-cpp.git
- mkdir build && cd build
- cmake ../mariadb-connector-cpp/ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONC_WITH_UNIT_TESTS=Off -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_SSL=OPENSSL
- cmake --build . --config RelWithDebInfo
Build passed.
Rerun all the above commands without cleanup is reporting the below errors. Found https://jira.mariadb.org/browse/CONCPP-80 where this issue is resolved, not sure if the fixes are merged to the master branch.
CMake Error at CMakeLists.txt:469 (ADD_DEPENDENCIES):
The dependency target "caching_sha2_password" of target
"DEPENDENCIES_FOR_PACKAGE" does not exist.CMake Error at CMakeLists.txt:469 (ADD_DEPENDENCIES):
The dependency target "client_ed25519" of target "DEPENDENCIES_FOR_PACKAGE"
does not exist.CMake Error at CMakeLists.txt:469 (ADD_DEPENDENCIES):
The dependency target "sha256_password" of target
"DEPENDENCIES_FOR_PACKAGE" does not exist.CMake Error:
Error evaluating generator expression:$<TARGET_FILE:client_ed25519>
No target "client_ed25519"
CMake Error:
Error evaluating generator expression:$<TARGET_FILE:sha256_password>
No target "sha256_password"
CMake Error:
Error evaluating generator expression:$<TARGET_FILE:caching_sha2_password>
No target "caching_sha2_password"
Please let us know if we need to clean directory 'git clean -f -d -x' before building again.
Code base:
mariadb-connector-cpp used for tests taken from mariadb-repo
Commit id: b09555de99ed4b1d054a88ff85acbae996bce1d1
Date: Mon Jan 1 21:24:42 2024