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

Cmake fails on mariadb-connector-c with CLIENT_PLUGIN_CLIENT_ED25519=OFF

    XMLWordPrintable

Details

    Description

      Problem statement

      Building mariadb-connector-c 3.4.1 with CLIENT_PLUGIN_CLIENT_ED25519=OFF failed on cmake stage. The problem is not appears on 3.3.10.

      Steps to reproduce

      Actual result

      cmake failed with return code 1. Output has errors:

      -- Found GSSAPI: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
      CMake Error at plugins/auth/CMakeLists.txt:72 (SET_PROPERTY):
        SET_PROPERTY could not find TARGET client_ed25519.  Perhaps it has not yet
        been created.
      Call Stack (most recent call first):
        plugins/CMakeLists.txt:7 (INCLUDE)
        CMakeLists.txt:433 (INCLUDE)
       
       
      CMake Error at plugins/auth/CMakeLists.txt:75 (TARGET_COMPILE_DEFINITIONS):
        Cannot specify compile definitions for target "client_ed25519" which is not
        built by this project.
      Call Stack (most recent call first):
        plugins/CMakeLists.txt:7 (INCLUDE)
        CMakeLists.txt:433 (INCLUDE)
       
       
      -- PARSEC requires EVP_PKEY interface when built with OpenSSL.
      

      Expected result

      Configuration is successful, with no errors.

      Additional information.

      The issue is reproduced on RedHat EL 9 x86_64, but likely it can be reproduced on any other Linux. Patch from attachment helps, but I check only with CLIENT_PLUGIN_CLIENT_ED25519=OFF

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              mzarubin Mikhail Zarubin
              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.