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

GNUTLs version since CONC-605 requires 3.4.2

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.3, 3.1.17
    • 3.1.27, 3.4.4, 3.3.14
    • Build
    • None

    Description

      CONC-605 started using GNUTLS_NO_SIGNAL

      https://gitlab.com/gnutls/gnutls/-/blob/master/NEWS#L1782
      so it got added to gnutls Version 3.4.2 (released 2015-06-16)

      However in the CMakeList.txt "3.3.24" is listed as the required version.
      https://github.com/mariadb-corporation/mariadb-connector-c/blob/3.3/CMakeLists.txt#L336

      Attachments

        Issue Links

          Activity

            georg Georg Richter added a comment - - edited

            Unfortunately we can't bump the required GNUTLS version number, since there are still non eoled enterprise versions which have older GNUTLS versions installed.

            A workaround would be

            cmake -DCMAKE_C_FLAGS=-DGNUTLS_NO_SIGNAL=0
            

            or to fix in Source

            #ifndef GNUTLS_NO_SIGNAL
            #define GNUTLS_NO_SIGNAL 0
            #endif
            

            georg Georg Richter added a comment - - edited Unfortunately we can't bump the required GNUTLS version number, since there are still non eoled enterprise versions which have older GNUTLS versions installed. A workaround would be cmake -DCMAKE_C_FLAGS=-DGNUTLS_NO_SIGNAL= 0 or to fix in Source #ifndef GNUTLS_NO_SIGNAL #define GNUTLS_NO_SIGNAL 0 #endif
            danblack Daniel Black added a comment -

            I (well Vlad) only looked at Centos 7 which didn't have the prevous version. I haven't looked at gnutls packaged versions elsewhere.

            The code fix looks like a good while older 3.3.34 is claimed to be sufficient in configure.

            Maybe a cmake configure warning about no SIGPIPE protection for versions < 3.4.2 so packager/user is aware.

            danblack Daniel Black added a comment - I (well Vlad) only looked at Centos 7 which didn't have the prevous version. I haven't looked at gnutls packaged versions elsewhere. The code fix looks like a good while older 3.3.34 is claimed to be sufficient in configure. Maybe a cmake configure warning about no SIGPIPE protection for versions < 3.4.2 so packager/user is aware.

            People

              georg Georg Richter
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.