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

Build fails when specifying -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1, 3.3
    • 3.1.21, 3.3.5
    • Build
    • None
    • WindRiver Linux LTS21

    Description

      Since 10.5.16, a new line was added to libmariadb/plugins/auth/CMakeLists.txt:

          SET_TARGET_PROPERTIES(auth_gssapi_client PROPERTIES LINK_FLAGS "-Wl,--as-needed")
      

      This was not protected by ensuring auth_gssapi_client was enabled, and when running cmake with it disabled, errors with the following:

      CMake Error at libmariadb/plugins/auth/CMakeLists.txt:123 (SET_TARGET_PROPERTIES):                                                                              
        SET_TARGET_PROPERTIES Can not find target to add properties to:         auth_gssapi_client                                                            
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            cross Chris Ross
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.