[MDEV-15288] Configure errors when building without INNOBASE Created: 2018-02-12  Updated: 2018-03-11  Resolved: 2018-03-09

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.0.34, 10.1.31
Fix Version/s: 10.0.35, 10.1.32, 10.2.14, 10.3.6

Type: Bug Priority: Critical
Reporter: Bernard Spil Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
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.


Generated at Thu Feb 08 08:20:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.