[MDEV-22975] rocksdb: FreeBSD disable jemalloc search Created: 2020-06-22  Updated: 2020-07-28  Resolved: 2020-07-28

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Storage Engine - RocksDB, Tests
Affects Version/s: 10.5
Fix Version/s: 10.2.33, 10.3.24, 10.4.14, 10.5.5

Type: Bug Priority: Major
Reporter: Anel Husakovic Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: rocksdb


 Description   

FreeBSD's inbuilt default jemalloc means its pointless to do a package search on it.
The paths are already set by the system defaults.

Without this the build starts with:

-- Running cmake version 3.16.5
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- MariaDB 10.5.4
getconf: no such configuration parameter `LEVEL1_DCACHE_LINESIZE'
-- Wsrep-lib version: 1.0.0
== Configuring MariaDB Connector/C
-- Could NOT find Git (missing: GIT_EXECUTABLE)
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find JeMalloc (missing: JeMalloc_LIBRARIES JeMalloc_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
storage/rocksdb/rocksdb/cmake/modules/FindJeMalloc.cmake:17 (find_package_handle_standard_args)
storage/rocksdb/build_rocksdb.cmake:22 (find_package)
storage/rocksdb/CMakeLists.txt:144 (INCLUDE)
 
-- Configuring incomplete, errors occurred!
See also "/home/dan/build-mariadb-server-10.5/CMakeFiles/CMakeOutput.log".
See also "/home/dan/build-mariadb-server-10.5/CMakeFiles/CMakeError.log".
*** [cmake_check_build_system] Error code 1
 
make: stopped in /usr/home/dan/build-mariadb-server-10.5
1 error
 
make: stopped in /usr/home/dan/build-mariadb-server-10.5


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