[CONC-207] GnuTLS cmake check is insufficient Created: 2016-10-11 Updated: 2016-10-11 Resolved: 2016-10-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
C/C checks in CMakeLists.txt that GnuTLS is available. But it does not check whether GnuTLS version is too old, thus it's possible to have a build configured successfully and fail during the compilation. CMakeLists.txt must either require GnuTLS no older than a specific version (use second argument in find_package) or check with check_c_source_compiles that all necessary files and symbols are present. Currently this breaks the build in buildbot on valgrind builder. |
| Comments |
| Comment by Georg Richter [ 2016-10-11 ] |
|
Fixed (commit 7e2804f95a3e2466a310ce03982537f7ab5d11b6) |