Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-207

GnuTLS cmake check is insufficient

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.1
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: