Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20463

Missing include dir in auth_ed25519 plugin

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2.26
    • Fix Version/s: 10.2
    • Component/s: Plugins
    • Labels:
      None
    • Environment:
      FreeBSD 12.0
      clang 6.0.1
      cmake 3.15.2

      Description

      Build fails on missing include mysql/service_sha2.h

      Adding ../../include to CMakeLists in plugin/auth_ed25519/CMakeFiles.txt fixes build

      --- plugin/auth_ed25519/CMakeLists.txt.orig     2019-07-26 21:26:44 UTC
      +++ plugin/auth_ed25519/CMakeLists.txt
      @@ -11,7 +11,7 @@ SET(REF10_SOURCES
             ref10/ge_sub.c ref10/ge_tobytes.c ref10/keypair.c ref10/open.c
             ref10/sc_muladd.c ref10/sc_reduce.c ref10/sign.c ref10/verify.c)
       
      -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
      +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ../../include)
       
       ADD_CONVENIENCE_LIBRARY(ref10 ${REF10_SOURCES})
       IF(MSVC)
      

        Attachments

          Activity

            People

            • Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              spil Bernard Spil
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: