When building MariaDB 10.1.29 with OQGRAPH option enabled, a build-error occurs when boost 1.66.0 is installed
$ MAKE_JOBS_UNSAFE=yes make
|
===> Building for mariadb101-server-10.1.29
|
[1/209] cd /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29 && /usr/local/bin/cmake -P /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29/c
|
make/info_src.cmake
|
[2/209] cd /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29 && /usr/local/bin/cmake -P /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29/$make/info_bin.cmake
|
[3/209] /usr/bin/c++ -DBOOST_DISABLE_ASSERTS=1 -DBOOST_NO_RTTI=1 -DBOOST_NO_TYPEID=1 -DHAVE_CONFIG_H -DHAVE_OQGRAPH -DMYSQL_DYNAMIC_PLUGIN -Doqgraph_EXPORTS $Iinclude -Isql -Ipcre -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -isystem /usr/local/include -isystem /usr/local/inc$ude -DWITH_INNODB_DISALLOW_WRITES -fno-rtti -Wno-deprecated -fno-strict-aliasing -fpermissive -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector $isystem /usr/local/include -isystem /usr/local/include -DDBUG_OFF -fPIC -MD -MT storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -MF storage/oqgraph/CMa$eFiles/oqgraph.dir/graphcore.cc.o.d -o storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -c storage/oqgraph/graphcore.cc
|
FAILED: storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o
|
/usr/bin/c++ -DBOOST_DISABLE_ASSERTS=1 -DBOOST_NO_RTTI=1 -DBOOST_NO_TYPEID=1 -DHAVE_CONFIG_H -DHAVE_OQGRAPH -DMYSQL_DYNAMIC_PLUGIN -Doqgraph_EXPORTS -Iinclud$ -Isql -Ipcre -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -isystem /usr/local/include -isystem /usr/local/include -DW$TH_INNODB_DISALLOW_WRITES -fno-rtti -Wno-deprecated -fno-strict-aliasing -fpermissive -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -isystem /usr/local/include -isystem /usr/local/include -DDBUG_OFF -fPIC -MD -MT storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -MF storage/oqgraph/CMakeFiles/$qgraph.dir/graphcore.cc.o.d -o storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -c storage/oqgraph/graphcore.cc
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
In file included from storage/oqgraph/oqgraph_shim.h:28:
|
storage/oqgraph/oqgraph_judy.h:66:24: error: too few arguments provided to function-like macro invocation
|
return setbit(n);
|
^
|
/usr/include/sys/param.h:285:9: note: macro 'setbit' defined here
|
#define setbit(a,i) (((unsigned char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
In file included from storage/oqgraph/oqgraph_shim.h:28:
|
storage/oqgraph/oqgraph_judy.h:118:36: error: too few arguments provided to function-like macro invocation
|
judy_bitset& setbit(size_type n);
|
^
|
/usr/include/sys/param.h:285:9: note: macro 'setbit' defined here
|
#define setbit(a,i) (((unsigned char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
In file included from storage/oqgraph/oqgraph_shim.h:28:
|
storage/oqgraph/oqgraph_judy.h:38:5: error: constructor for 'open_query::judy_bitset' must explicitly initialize the reference member 'setbit'
|
judy_bitset()
|
^
|
storage/oqgraph/oqgraph_judy.h:118:18: note: declared here
|
judy_bitset& setbit(size_type n);
|
^
|
storage/oqgraph/oqgraph_judy.h:42:5: error: constructor for 'open_query::judy_bitset' must explicitly initialize the reference member 'setbit'
|
judy_bitset(const judy_bitset& src)
|
^
|
storage/oqgraph/oqgraph_judy.h:118:18: note: declared here
|
judy_bitset& setbit(size_type n);
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
storage/oqgraph/oqgraph_shim.h:30:9: warning: 'BOOST_NO_HASH' macro redefined [-Wmacro-redefined]
|
#define BOOST_NO_HASH 1
|
^
|
/usr/local/include/boost/config/detail/suffix.hpp:307:14: note: previous definition is here
|
# define BOOST_NO_HASH
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
storage/oqgraph/oqgraph_shim.h:31:9: warning: 'BOOST_NO_SLIST' macro redefined [-Wmacro-redefined]
|
#define BOOST_NO_SLIST 1
|
^
|
/usr/local/include/boost/config/detail/suffix.hpp:303:14: note: previous definition is here
|
# define BOOST_NO_SLIST
|
^
|
2 warnings and 4 errors generated.
|
ninja: build stopped: subcommand failed.
|
*** Error code 1
|
|
Stop.
|
This error does not occur when we're building with boost 1.65.0
{"report":{"fcp":1225.2000002861023,"ttfb":539.2000002861023,"pageVisibility":"visible","entityId":64718,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e0912d58-2fa5-4b3a-8e1d-2194220f47f6","navigationType":0,"readyForUser":1306.5,"redirectCount":0,"resourceLoadedEnd":1774.9000000953674,"resourceLoadedStart":545.7000002861023,"resourceTiming":[{"duration":159.89999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":545.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":545.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":705.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":160,"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":546,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":706,"responseStart":0,"secureConnectionStart":0},{"duration":219.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":546.2000002861023,"connectEnd":546.2000002861023,"connectStart":546.2000002861023,"domainLookupEnd":546.2000002861023,"domainLookupStart":546.2000002861023,"fetchStart":546.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":546.2000002861023,"responseEnd":765.5,"responseStart":765.4000000953674,"secureConnectionStart":546.2000002861023},{"duration":306,"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":546.4000000953674,"connectEnd":546.4000000953674,"connectStart":546.4000000953674,"domainLookupEnd":546.4000000953674,"domainLookupStart":546.4000000953674,"fetchStart":546.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":546.4000000953674,"responseEnd":852.4000000953674,"responseStart":852.3000001907349,"secureConnectionStart":546.4000000953674},{"duration":309.3999996185303,"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":546.7000002861023,"connectEnd":546.7000002861023,"connectStart":546.7000002861023,"domainLookupEnd":546.7000002861023,"domainLookupStart":546.7000002861023,"fetchStart":546.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":546.7000002861023,"responseEnd":856.0999999046326,"responseStart":856.0999999046326,"secureConnectionStart":546.7000002861023},{"duration":309.7999997138977,"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":546.8000001907349,"connectEnd":546.8000001907349,"connectStart":546.8000001907349,"domainLookupEnd":546.8000001907349,"domainLookupStart":546.8000001907349,"fetchStart":546.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":546.8000001907349,"responseEnd":856.5999999046326,"responseStart":856.5999999046326,"secureConnectionStart":546.8000001907349},{"duration":310.09999990463257,"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":546.9000000953674,"connectEnd":546.9000000953674,"connectStart":546.9000000953674,"domainLookupEnd":546.9000000953674,"domainLookupStart":546.9000000953674,"fetchStart":546.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":546.9000000953674,"responseEnd":857,"responseStart":857,"secureConnectionStart":546.9000000953674},{"duration":362.40000009536743,"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":547.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":547.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":909.5,"responseStart":0,"secureConnectionStart":0},{"duration":310.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":547.2000002861023,"connectEnd":547.2000002861023,"connectStart":547.2000002861023,"domainLookupEnd":547.2000002861023,"domainLookupStart":547.2000002861023,"fetchStart":547.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":547.2000002861023,"responseEnd":857.5,"responseStart":857.5,"secureConnectionStart":547.2000002861023},{"duration":362.09999990463257,"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":547.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":547.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":909.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":310.5,"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":547.5999999046326,"connectEnd":547.5999999046326,"connectStart":547.5999999046326,"domainLookupEnd":547.5999999046326,"domainLookupStart":547.5999999046326,"fetchStart":547.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":547.5999999046326,"responseEnd":858.0999999046326,"responseStart":858.0999999046326,"secureConnectionStart":547.5999999046326},{"duration":502.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":548.3000001907349,"connectEnd":548.3000001907349,"connectStart":548.3000001907349,"domainLookupEnd":548.3000001907349,"domainLookupStart":548.3000001907349,"fetchStart":548.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":548.3000001907349,"responseEnd":1051.0999999046326,"responseStart":1051.0999999046326,"secureConnectionStart":548.3000001907349},{"duration":1224.7999997138977,"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":548.3000001907349,"connectEnd":548.3000001907349,"connectStart":548.3000001907349,"domainLookupEnd":548.3000001907349,"domainLookupStart":548.3000001907349,"fetchStart":548.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":548.3000001907349,"responseEnd":1773.0999999046326,"responseStart":1773.0999999046326,"secureConnectionStart":548.3000001907349},{"duration":137.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":921.0999999046326,"connectEnd":921.0999999046326,"connectStart":921.0999999046326,"domainLookupEnd":921.0999999046326,"domainLookupStart":921.0999999046326,"fetchStart":921.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":921.0999999046326,"responseEnd":1059,"responseStart":1059,"secureConnectionStart":921.0999999046326},{"duration":592.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1182.2000002861023,"connectEnd":1182.2000002861023,"connectStart":1182.2000002861023,"domainLookupEnd":1182.2000002861023,"domainLookupStart":1182.2000002861023,"fetchStart":1182.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1182.2000002861023,"responseEnd":1774.9000000953674,"responseStart":1774.9000000953674,"secureConnectionStart":1182.2000002861023},{"duration":586.9000000953674,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1219.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1219.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1806.2000002861023,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":367,"responseStart":539,"responseEnd":542,"domLoading":542,"domInteractive":1845,"domContentLoadedEventStart":1845,"domContentLoadedEventEnd":1897,"domComplete":3807,"loadEventStart":3807,"loadEventEnd":3808,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1774.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1775.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1775.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":1780.0999999046326},{"name":"activityTabFullyLoaded","time":1913}],"measures":[],"correlationId":"a718041a88e591","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
MDEV-15291was fixed.