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":1192.4000000953674,"ttfb":201.40000009536743,"pageVisibility":"visible","entityId":53856,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"56537328-4730-42b9-ac4f-96107bb44279","navigationType":0,"readyForUser":1268.2000002861023,"redirectCount":0,"resourceLoadedEnd":1145.3000001907349,"resourceLoadedStart":207.2000002861023,"resourceTiming":[{"duration":506.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":207.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713.5,"responseStart":0,"secureConnectionStart":0},{"duration":506.30000019073486,"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":207.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":515.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":207.59999990463257,"connectEnd":207.59999990463257,"connectStart":207.59999990463257,"domainLookupEnd":207.59999990463257,"domainLookupStart":207.59999990463257,"fetchStart":207.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":207.59999990463257,"responseEnd":723.0999999046326,"responseStart":723.0999999046326,"secureConnectionStart":207.59999990463257},{"duration":571.6999998092651,"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":207.80000019073486,"connectEnd":207.80000019073486,"connectStart":207.80000019073486,"domainLookupEnd":207.80000019073486,"domainLookupStart":207.80000019073486,"fetchStart":207.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":207.80000019073486,"responseEnd":779.5,"responseStart":779.5,"secureConnectionStart":207.80000019073486},{"duration":576,"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":208,"connectEnd":208,"connectStart":208,"domainLookupEnd":208,"domainLookupStart":208,"fetchStart":208,"redirectEnd":0,"redirectStart":0,"requestStart":208,"responseEnd":784,"responseStart":784,"secureConnectionStart":208},{"duration":576.5,"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":208.2000002861023,"connectEnd":208.2000002861023,"connectStart":208.2000002861023,"domainLookupEnd":208.2000002861023,"domainLookupStart":208.2000002861023,"fetchStart":208.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":208.2000002861023,"responseEnd":784.7000002861023,"responseStart":784.7000002861023,"secureConnectionStart":208.2000002861023},{"duration":577,"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":208.40000009536743,"connectEnd":208.40000009536743,"connectStart":208.40000009536743,"domainLookupEnd":208.40000009536743,"domainLookupStart":208.40000009536743,"fetchStart":208.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":208.40000009536743,"responseEnd":785.4000000953674,"responseStart":785.4000000953674,"secureConnectionStart":208.40000009536743},{"duration":658.0999999046326,"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":208.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":208.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":866.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":577.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":208.80000019073486,"connectEnd":208.80000019073486,"connectStart":208.80000019073486,"domainLookupEnd":208.80000019073486,"domainLookupStart":208.80000019073486,"fetchStart":208.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":208.80000019073486,"responseEnd":785.9000000953674,"responseStart":785.9000000953674,"secureConnectionStart":208.80000019073486},{"duration":658,"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":208.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":208.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":866.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":577.3000001907349,"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":209.09999990463257,"connectEnd":209.09999990463257,"connectStart":209.09999990463257,"domainLookupEnd":209.09999990463257,"domainLookupStart":209.09999990463257,"fetchStart":209.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":209.09999990463257,"responseEnd":786.4000000953674,"responseStart":786.4000000953674,"secureConnectionStart":209.09999990463257},{"duration":698.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":214.80000019073486,"connectEnd":214.80000019073486,"connectStart":214.80000019073486,"domainLookupEnd":214.80000019073486,"domainLookupStart":214.80000019073486,"fetchStart":214.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":214.80000019073486,"responseEnd":913.5999999046326,"responseStart":913.5999999046326,"secureConnectionStart":214.80000019073486},{"duration":823.0999999046326,"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":215.2000002861023,"connectEnd":215.2000002861023,"connectStart":215.2000002861023,"domainLookupEnd":215.2000002861023,"domainLookupStart":215.2000002861023,"fetchStart":215.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":215.2000002861023,"responseEnd":1038.3000001907349,"responseStart":1038.3000001907349,"secureConnectionStart":215.2000002861023},{"duration":36.39999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":878.2000002861023,"connectEnd":878.2000002861023,"connectStart":878.2000002861023,"domainLookupEnd":878.2000002861023,"domainLookupStart":878.2000002861023,"fetchStart":878.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":878.2000002861023,"responseEnd":914.5999999046326,"responseStart":914.5999999046326,"secureConnectionStart":878.2000002861023},{"duration":227.30000019073486,"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":918,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":918,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1145.3000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":53,"responseStart":202,"responseEnd":212,"domLoading":206,"domInteractive":1334,"domContentLoadedEventStart":1334,"domContentLoadedEventEnd":1392,"domComplete":1704,"loadEventStart":1704,"loadEventEnd":1704,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1301.5},{"name":"bigPipe.sidebar-id.end","time":1302.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1302.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1305.2000002861023},{"name":"activityTabFullyLoaded","time":1407.8000001907349}],"measures":[],"correlationId":"4691489372bc41","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"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;