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

Configure errors when building without INNOBASE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.0.34, 10.1.31
    • Fix Version/s: 10.0.35, 10.1.32, 10.2.14, 10.3.6
    • Component/s: Server
    • Labels:
      None
    • Environment:
      FreeBSD 11.1 amd64 (and 10.3 amd64)
      CMake 3.10.2
      clang 4.0.0
    • Sprint:
      10.2.14

      Description

      When building (configuring) MariaDB without InnoBase support, the configure step fails.This was intruduced in 3699a4b5c07efebfd8e325ee12120573087288b6

      -- Check size of pthread_t - done                             
      CMake Error at storage/innobase/CMakeLists.txt:523 (ADD_DEPENDENCIES):
        Cannot add target-level dependencies to non-existent target "innobase".
                                                      
        The add_dependencies works for top-level logical targets created by the
        add_executable, add_library, or add_custom_target commands.  If you want to
        add file-level dependencies see the DEPENDS option of the add_custom_target
        and add_custom_command commands.                    
                                                                 
                                                              
      -- Check if the system is big endian                 
      

      10.0 -DWITHOUT_INNOBASE=1
      10.1 -DPLUGIN_INNOBASE=NO

      As far as I know, for 10.0 and 10.1 the default InnoDB storage backend is still XtraDB (for 10.2 it is InnoBase recently). If I revert that commit (remove last line of storage/innobase/CMakeLists.txt) configure is OK.

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              spil Bernard Spil
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: