[MDEV-25944] Compilation failed with WITH_NONE=ON or WITH_DYNAMIC_PLUGINS for pcre2 and unittest Created: 2021-06-17  Updated: 2021-06-17

Status: Open
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.5
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Anel Husakovic Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

We are testing some cmake options.

$cmake ../../10.5 -DWITH_NONE=ON -G Ninja
$ cmake --build .
ninja: error: 'extra/pcre2/src/pcre2-build/libpcre2-8.a', needed by 'unittest/sql/explain_filename-t', missing and no known rule to make it

Disabling UNIT_TESTS has no effect:

$ cmake . -LAH|grep UNIT_TESTS
== Configuring MariaDB Connector/C
== MariaDB-Columnstore 5.5.2
CONC_WITH_UNIT_TESTS:BOOL=OFF
WITH_UNIT_TESTS:BOOL=OFF
WSREP_LIB_WITH_UNIT_TESTS:BOOL=OFF


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