When building mariadb with -DPLUGIN_MROONGA=NO, libgroonga is still built:
[ 84%] Built target innobase
|
make[4]: Entering directory `/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/UBUNTU14_64/zimbra-mariadb'
|
Scanning dependencies of target libgroonga
|
make[4]: Leaving directory `/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/UBUNTU14_64/zimbra-mariadb'
|
make[4]: Entering directory `/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/UBUNTU14_64/zimbra-mariadb'
|
[ 84%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/com.c.o
|
[ 84%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/command.c.o
|
(etc)
This is incorrect, since MROONGA is not enabled.
- is duplicated by
-
MDEV-8969
groonga is compiled even with -DPLUGIN_MROONGA=NO
-
-
Closed
{"report":{"fcp":978.5,"ttfb":206.59999990463257,"pageVisibility":"visible","entityId":53856,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e17d2a18-4583-4909-b839-6976988271c1","navigationType":0,"readyForUser":1054.4000000953674,"redirectCount":0,"resourceLoadedEnd":1191.3000001907349,"resourceLoadedStart":220.30000019073486,"resourceTiming":[{"duration":253.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":220.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":474.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":253.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":220.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":220.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":474.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":262.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":220.7000002861023,"connectEnd":220.7000002861023,"connectStart":220.7000002861023,"domainLookupEnd":220.7000002861023,"domainLookupStart":220.7000002861023,"fetchStart":220.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":220.7000002861023,"responseEnd":483.40000009536743,"responseStart":483.40000009536743,"secureConnectionStart":220.7000002861023},{"duration":318,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":220.90000009536743,"connectEnd":220.90000009536743,"connectStart":220.90000009536743,"domainLookupEnd":220.90000009536743,"domainLookupStart":220.90000009536743,"fetchStart":220.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":220.90000009536743,"responseEnd":538.9000000953674,"responseStart":538.9000000953674,"secureConnectionStart":220.90000009536743},{"duration":323.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":221.09999990463257,"connectEnd":221.09999990463257,"connectStart":221.09999990463257,"domainLookupEnd":221.09999990463257,"domainLookupStart":221.09999990463257,"fetchStart":221.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":221.09999990463257,"responseEnd":544.5999999046326,"responseStart":544.5999999046326,"secureConnectionStart":221.09999990463257},{"duration":324.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":221.40000009536743,"connectEnd":221.40000009536743,"connectStart":221.40000009536743,"domainLookupEnd":221.40000009536743,"domainLookupStart":221.40000009536743,"fetchStart":221.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":221.40000009536743,"responseEnd":545.5999999046326,"responseStart":545.5999999046326,"secureConnectionStart":221.40000009536743},{"duration":324.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":221.5,"connectEnd":221.5,"connectStart":221.5,"domainLookupEnd":221.5,"domainLookupStart":221.5,"fetchStart":221.5,"redirectEnd":0,"redirectStart":0,"requestStart":221.5,"responseEnd":546.0999999046326,"responseStart":546.0999999046326,"secureConnectionStart":221.5},{"duration":414.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":221.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":221.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":636.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":324.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":221.90000009536743,"connectEnd":221.90000009536743,"connectStart":221.90000009536743,"domainLookupEnd":221.90000009536743,"domainLookupStart":221.90000009536743,"fetchStart":221.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":221.90000009536743,"responseEnd":546.5999999046326,"responseStart":546.5999999046326,"secureConnectionStart":221.90000009536743},{"duration":414.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":222.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":222.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":636.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":325.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":222.30000019073486,"connectEnd":222.30000019073486,"connectStart":222.30000019073486,"domainLookupEnd":222.30000019073486,"domainLookupStart":222.30000019073486,"fetchStart":222.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":222.30000019073486,"responseEnd":547.4000000953674,"responseStart":547.4000000953674,"secureConnectionStart":222.30000019073486},{"duration":538.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":223.30000019073486,"connectEnd":223.30000019073486,"connectStart":223.30000019073486,"domainLookupEnd":223.30000019073486,"domainLookupStart":223.30000019073486,"fetchStart":223.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":223.30000019073486,"responseEnd":762.0999999046326,"responseStart":762.0999999046326,"secureConnectionStart":223.30000019073486},{"duration":967.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":223.30000019073486,"connectEnd":223.30000019073486,"connectStart":223.30000019073486,"domainLookupEnd":223.30000019073486,"domainLookupStart":223.30000019073486,"fetchStart":223.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":223.30000019073486,"responseEnd":1190.5,"responseStart":1190.5,"secureConnectionStart":223.30000019073486},{"duration":147.60000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":651.0999999046326,"connectEnd":651.0999999046326,"connectStart":651.0999999046326,"domainLookupEnd":651.0999999046326,"domainLookupStart":651.0999999046326,"fetchStart":651.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":651.0999999046326,"responseEnd":798.7000002861023,"responseStart":798.7000002861023,"secureConnectionStart":651.0999999046326},{"duration":280.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":910.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":910.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1191.3000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":16,"responseStart":206,"responseEnd":209,"domLoading":211,"domInteractive":1221,"domContentLoadedEventStart":1221,"domContentLoadedEventEnd":1267,"domComplete":1695,"loadEventStart":1695,"loadEventEnd":1696,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1192.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1193.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":1193.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1196},{"name":"activityTabFullyLoaded","time":1283.9000000953674}],"measures":[],"correlationId":"82ef405bdca046","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":132,"dbReadsTimeInMs":18,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
build@c790:~/p4/zimbra/main/ThirdParty/mariadb/tmp/RHEL7_64/zimbra-mariadb/rpm/BUILD/mariadb-10.1.8$ grep PLUGIN_MROONGA CMakeCache.txt
PLUGIN_MROONGA:STRING=NO
Clearly disabled. Yet:
build@c790:~/p4/zimbra/main/ThirdParty/mariadb/tmp/RHEL7_64/zimbra-mariadb/rpm/BUILD/mariadb-10.1.8$ grep -i groonga CMakeCache.txt
//Groonga's default DB key management algorithm
//groonga default document root
GRN_DEFAULT_DOCUMENT_ROOT:PATH=/opt/zimbra/common/share/groonga/html/admin
//groonga default document root base path
//Groonga's default encoding
//groonga default match escalation threshold
//groonga default relative document root
GRN_DEFAULT_RELATIVE_DOCUMENT_ROOT:PATH=share/groonga/html/admin
GRN_LOG_PATH:FILEPATH=/opt/zimbra/common/var/log/groonga/groonga.log
//DANGER!!! groonga stack size. Normarlly, you should not change
GROONGA_NORMALIZER_MYSQL_EMBED:BOOL=ON
//Embed libgroonga
MRN_GROONGA_EMBED:BOOL=ON
//Embed groonga-normalizer-mysql Groonga plugin
MRN_GROONGA_NORMALIZER_MYSQL_EMBED:BOOL=ON
groonga-normalizer-mysql_BINARY_DIR:STATIC=/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/RHEL7_64/zimbra-mariadb/rpm/BUILD/mariadb-10.1.8/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql
groonga-normalizer-mysql_SOURCE_DIR:STATIC=/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/RHEL7_64/zimbra-mariadb/rpm/BUILD/mariadb-10.1.8/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql
groonga_BINARY_DIR:STATIC=/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/RHEL7_64/zimbra-mariadb/rpm/BUILD/mariadb-10.1.8/storage/mroonga/vendor/groonga
groonga_SOURCE_DIR:STATIC=/home/build/p4/zimbra/main/ThirdParty/mariadb/tmp/RHEL7_64/zimbra-mariadb/rpm/BUILD/mariadb-10.1.8/storage/mroonga/vendor/groonga
libgroonga_LIB_DEPENDS:STATIC=general;-lpthread;general;rt;general;pthread;general;z;general;dl;general;m;general;stdc++;
mysql_normalizer_LIB_DEPENDS:STATIC=general;-lpthread;general;libgroonga;
stop_word_token_filter_LIB_DEPENDS:STATIC=general;-lpthread;general;libgroonga;
suggest_LIB_DEPENDS:STATIC=general;-lpthread;general;libgroonga;
tsv_query_expander_LIB_DEPENDS:STATIC=general;-lpthread;general;libgroonga;
vector_functions_LIB_DEPENDS:STATIC=general;-lpthread;general;libgroonga;