Skip to content

Unable to build mysql module when cmake 3.20+ is used #59

Closed
@ylobankov

Description

@ylobankov

OS: Ubuntu 20.04.

When cmake 3.20+ is installed in your system, it turns out that it's not possible to build the mysql module because the following error occurs:

CMake Error at mariadb-connector-c/cmake/ConnectorName.cmake:30 (ENDMACRO):
  Flow control statements are not properly nested.
Call Stack (most recent call first):
  mariadb-connector-c/CMakeLists.txt:391 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/runner/work/tarantool/tarantool/CMakeFiles/CMakeOutput.log".
See also "/home/runner/work/tarantool/tarantool/CMakeFiles/CMakeError.log".

It looks like the issue is in the mariadb-connector-c https://jira.mariadb.org/browse/CONCPP-79. So in order to fix the problem, we need to port the fix from the mentioned issue to our mariadb-connector-c fork and update the submodule version in the mysql project.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions