I've got the following errors (after patching current 10.6 from GitHub to fix MDEV-27402 as described there):
...
|
[ 99%] Building CXX object client/CMakeFiles/mariadb.dir/completion_hash.cc.o
|
[ 99%] Building CXX object client/CMakeFiles/mariadb.dir/mysql.cc.o
|
/Users/Valerii/git/server/client/mysql.cc:2747:59: error: expected expression
|
rl_attempted_completion_function= (rl_completion_func_t*)&new_mysql_co...
|
^
|
/Users/Valerii/git/server/client/mysql.cc:2747:38: error: use of undeclared
|
identifier 'rl_completion_func_t'; did you mean 'rl_completion_matches'?
|
rl_attempted_completion_function= (rl_completion_func_t*)&new_mysql_co...
|
^~~~~~~~~~~~~~~~~~~~
|
rl_completion_matches
|
/usr/include/editline/readline.h:202:16: note: 'rl_completion_matches' declared
|
here
|
char **rl_completion_matches(const char *, rl_compentry_func_t *);
|
^
|
/Users/Valerii/git/server/client/mysql.cc:2748:33: error: assigning to
|
'Function *' (aka 'int (*)(const char *, int)') from incompatible type
|
'rl_compentry_func_t *' (aka 'char *(*)(const char *, int)'): different
|
return type ('int' vs 'char *')
|
rl_completion_entry_function= (rl_compentry_func_t*)&no_completion;
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
/Users/Valerii/git/server/client/mysql.cc:2750:3: error: no matching function
|
for call to 'rl_add_defun'
|
rl_add_defun("magic-space", (rl_command_func_t *)&fake_magic_space, -1);
|
^~~~~~~~~~~~
|
/usr/include/editline/readline.h:195:7: note: candidate function not viable: no
|
known conversion from 'rl_command_func_t *' (aka 'int (*)(int, int)') to
|
'Function *' (aka 'int (*)(const char *, int)') for 2nd argument
|
int rl_add_defun(const char *, Function *, int);
|
^
|
4 errors generated.
|
make[2]: *** [client/CMakeFiles/mariadb.dir/mysql.cc.o] Error 1
|
make[1]: *** [client/CMakeFiles/mariadb.dir/all] Error 2
|
make: *** [all] Error 2
|
Yuliyas-Air:buildtmp Valerii$ cd ..
|
Yuliyas-Air:server Valerii$ git log -1
|
commit 21778b8aa88280458f2196aab93044149cf0a18c (HEAD -> 10.6, origin/10.6)
|
Merge: 764ca7e6e75 66465914c1a
|
Author: Marko M<C3><A4>kel<C3><A4> <marko.makela@mariadb.com>
|
Date: Thu Jan 20 07:39:11 2022 +0200
|
|
Merge 10.5 into 10.6
|
Yuliyas-Air:server Valerii$ git diff
|
diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h
|
index 8ab28e4d84f..3af40d2b418 100644
|
--- a/storage/innobase/include/fil0fil.h
|
+++ b/storage/innobase/include/fil0fil.h
|
@@ -1545,7 +1545,7 @@ inline void fil_space_t::reacquire()
|
inline bool fil_space_t::set_stopping_check()
|
{
|
mysql_mutex_assert_owner(&fil_system.mutex);
|
-#if defined __clang_major__ && __clang_major__ < 10
|
+#if (defined __clang_major__ && __clang_major__ < 10) || defined __APPLE_CC__
|
/* Only clang-10 introduced support for asm goto */
|
return n_pending.fetch_or(STOPPING, std::memory_order_relaxed) & STOPPING;
|
#elif defined __GNUC__ && (defined __i386__ || defined __x86_64__)
|
The following cmake command line was used:
Yuliyas-Air:buildtmp Valerii$ cmake .. -DCMAKE_INSTALL_PREFIX=/Users/Valerii/dbs/maria10.6 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DPLUGIN_TOKUDB=NO -DWITH_SSL=/opt/local/libexec/openssl11 -DENABLE_DTRACE=1
|
{"report":{"fcp":1056.4000000059605,"ttfb":235.2000000178814,"pageVisibility":"visible","entityId":107067,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"f3977b24-5a9d-4485-8f56-8f3a99b01533","navigationType":0,"readyForUser":1135.5,"redirectCount":0,"resourceLoadedEnd":1342.9000000059605,"resourceLoadedStart":246.60000002384186,"resourceTiming":[{"duration":353.09999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":246.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":246.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":599.7000000178814,"responseStart":0,"secureConnectionStart":0},{"duration":353.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":247,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":247,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":600.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":361.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":247.10000002384186,"connectEnd":247.10000002384186,"connectStart":247.10000002384186,"domainLookupEnd":247.10000002384186,"domainLookupStart":247.10000002384186,"fetchStart":247.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":247.10000002384186,"responseEnd":608.5,"responseStart":608.5,"secureConnectionStart":247.10000002384186},{"duration":403.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":247.30000001192093,"connectEnd":247.30000001192093,"connectStart":247.30000001192093,"domainLookupEnd":247.30000001192093,"domainLookupStart":247.30000001192093,"fetchStart":247.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":247.30000001192093,"responseEnd":651.2000000178814,"responseStart":651.2000000178814,"secureConnectionStart":247.30000001192093},{"duration":407,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":247.60000002384186,"connectEnd":247.60000002384186,"connectStart":247.60000002384186,"domainLookupEnd":247.60000002384186,"domainLookupStart":247.60000002384186,"fetchStart":247.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":247.60000002384186,"responseEnd":654.6000000238419,"responseStart":654.6000000238419,"secureConnectionStart":247.60000002384186},{"duration":407.2999999821186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":247.7000000178814,"connectEnd":247.7000000178814,"connectStart":247.7000000178814,"domainLookupEnd":247.7000000178814,"domainLookupStart":247.7000000178814,"fetchStart":247.7000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":247.7000000178814,"responseEnd":655,"responseStart":655,"secureConnectionStart":247.7000000178814},{"duration":407.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":247.90000000596046,"connectEnd":247.90000000596046,"connectStart":247.90000000596046,"domainLookupEnd":247.90000000596046,"domainLookupStart":247.90000000596046,"fetchStart":247.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":247.90000000596046,"responseEnd":655.4000000059605,"responseStart":655.4000000059605,"secureConnectionStart":247.90000000596046},{"duration":499.40000000596046,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":248,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":747.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":407.59999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":248.2000000178814,"connectEnd":248.2000000178814,"connectStart":248.2000000178814,"domainLookupEnd":248.2000000178814,"domainLookupStart":248.2000000178814,"fetchStart":248.2000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":248.2000000178814,"responseEnd":655.8000000119209,"responseStart":655.8000000119209,"secureConnectionStart":248.2000000178814},{"duration":499.09999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":248.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":747.5,"responseStart":0,"secureConnectionStart":0},{"duration":407.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":248.5,"connectEnd":248.5,"connectStart":248.5,"domainLookupEnd":248.5,"domainLookupStart":248.5,"fetchStart":248.5,"redirectEnd":0,"redirectStart":0,"requestStart":248.5,"responseEnd":656.4000000059605,"responseStart":656.4000000059605,"secureConnectionStart":248.5},{"duration":659.2999999821186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":249.2000000178814,"connectEnd":249.2000000178814,"connectStart":249.2000000178814,"domainLookupEnd":249.2000000178814,"domainLookupStart":249.2000000178814,"fetchStart":249.2000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":249.2000000178814,"responseEnd":908.5,"responseStart":908.5,"secureConnectionStart":249.2000000178814},{"duration":1061.4000000059605,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":249.30000001192093,"connectEnd":249.30000001192093,"connectStart":249.30000001192093,"domainLookupEnd":249.30000001192093,"domainLookupStart":249.30000001192093,"fetchStart":249.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":249.30000001192093,"responseEnd":1310.7000000178814,"responseStart":1310.7000000178814,"secureConnectionStart":249.30000001192093},{"duration":150.09999999403954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":759.3000000119209,"connectEnd":759.3000000119209,"connectStart":759.3000000119209,"domainLookupEnd":759.3000000119209,"domainLookupStart":759.3000000119209,"fetchStart":759.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":759.3000000119209,"responseEnd":909.4000000059605,"responseStart":909.4000000059605,"secureConnectionStart":759.3000000119209},{"duration":330.19999998807907,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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","startTime":1012.7000000178814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1012.7000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1342.9000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":310.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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","startTime":1013.6000000238419,"connectEnd":1013.6000000238419,"connectStart":1013.6000000238419,"domainLookupEnd":1013.6000000238419,"domainLookupStart":1013.6000000238419,"fetchStart":1013.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1013.6000000238419,"responseEnd":1324.5,"responseStart":1324.5,"secureConnectionStart":1013.6000000238419},{"duration":317,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1013.9000000059605,"connectEnd":1013.9000000059605,"connectStart":1013.9000000059605,"domainLookupEnd":1013.9000000059605,"domainLookupStart":1013.9000000059605,"fetchStart":1013.9000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":1013.9000000059605,"responseEnd":1330.9000000059605,"responseStart":1330.800000011921,"secureConnectionStart":1013.9000000059605}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":30,"responseStart":236,"responseEnd":237,"domLoading":245,"domInteractive":1373,"domContentLoadedEventStart":1373,"domContentLoadedEventEnd":1412,"domComplete":2596,"loadEventStart":2597,"loadEventEnd":2598,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1349.5},{"name":"bigPipe.sidebar-id.end","time":1350.300000011921},{"name":"bigPipe.activity-panel-pipe-id.start","time":1350.4000000059605},{"name":"bigPipe.activity-panel-pipe-id.end","time":1352.6000000238419},{"name":"activityTabFullyLoaded","time":1419.6000000238419}],"measures":[],"correlationId":"89d9800a10fc8e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":130,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}