Hello,
Fedora maintainer of MariaDB & MySQL packages here.
As a part of an early feedback, I tried to pack the MariaDB 10.5.0-Alpha, to check for possible issues.
The build seems OK.
After I also packed the new shared dynamic library 'libsql_builtins', I was able to install the produced RPM packages too.
However, I can't start the server beacuse of the Aria error.
It's not just the produced packages, later installed on a test machine though, when I tried to run the testsuite during the build, every test failed with the same error.
In short, the error (in the error log) is:
2020-01-21 10:53:21 0 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
2020-01-21 10:53:21 0 [ERROR] Aborting
I tried some tips in the internet - like deleting the old aria log files and the 'aria_log_control' file, however it didn't help.
When I run the first 'systemctl start mariadb' ( = the datadir and logdir are both empty at that moment), the service will fail with:
...
mysql-prepare-db-dir[25044]: Installation of system tables failed! Examine the logs in ...
...
{code:bash}
And the error log (configured with 'log_warnings=9') holds:
{code:bash}
2020-01-21 11:06:03 0 [Warning] You need to use --log-bin to make --binlog-format work.
ERROR: 1932 Table 'information_schema.(temporary)' doesn't exist in engine
2020-01-21 11:06:04 0 [ERROR] Aborting
On the second run ('systemctl start mariadb' again), the result is different.
Journal says:
systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
and in the error log was added following:
2020-01-21 11:06:54 0 [Warning] You need to use --log-bin to make --binlog-format work.
2020-01-21 11:06:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-01-21 11:06:54 0 [Note] InnoDB: Number of pools: 1
2020-01-21 11:06:54 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-01-21 11:06:54 0 [Note] mysqld: O_TMPFILE is not supported on /var/tmp (disabling future attempts)
2020-01-21 11:06:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-01-21 11:06:54 0 [Note] InnoDB: Completed initialization of buffer pool
2020-01-21 11:06:54 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-01-21 11:06:54 0 [Note] InnoDB: 128 rollback segments are active.
2020-01-21 11:06:54 0 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
2020-01-21 11:06:54 0 [ERROR] Aborting
Everything seems fine to me there, until the Aria problem.
—
Maybe you can spot something usefull in the build.log
it's probably related to the "new shared dynamic library libsql_builtins" that you've mentioned. I don't think there should be a new dynamic library. Looking at the code I believe it's supposed to be static and it was introduced purely as an internal build optimization, not to have a new user visible entity. Aria is part of that library and, supposedly that's why you're getting an error.
And it's caused by your -DBUILD_SHARED_LIBS:BOOL=ON. I don't think it should affect libsql_builtins.
Sergei Golubchik
added a comment - it's probably related to the "new shared dynamic library libsql_builtins" that you've mentioned. I don't think there should be a new dynamic library. Looking at the code I believe it's supposed to be static and it was introduced purely as an internal build optimization, not to have a new user visible entity. Aria is part of that library and, supposedly that's why you're getting an error.
And it's caused by your -DBUILD_SHARED_LIBS:BOOL=ON . I don't think it should affect libsql_builtins.
I confirm that this simple patch solved the issue.
MariaDB 10.5.0 now can be build on all Fedora primary architectures, RPMs can be installed and ran, testsuite passes in a usual range.
Michal Schorm
added a comment - I confirm that this simple patch solved the issue.
MariaDB 10.5.0 now can be build on all Fedora primary architectures, RPMs can be installed and ran, testsuite passes in a usual range.
People
Vladislav Vaintroub
Michal Schorm
Votes:
0Vote for this issue
Watchers:
2Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":3223.7999999523163,"ttfb":720.3999998569489,"pageVisibility":"visible","entityId":82532,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"965baa18-78a4-4793-82e8-3af73913197e","navigationType":0,"readyForUser":3571.899999856949,"redirectCount":0,"resourceLoadedEnd":2597.199999809265,"resourceLoadedStart":757.2999999523163,"resourceTiming":[{"duration":1019.0999999046326,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":757.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":757.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1776.3999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":1050.7000000476837,"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":757.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":757.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1808.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":1568.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":757.7999999523163,"connectEnd":757.7999999523163,"connectStart":757.7999999523163,"domainLookupEnd":757.7999999523163,"domainLookupStart":757.7999999523163,"fetchStart":757.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1815.0999999046326,"responseEnd":2326.5999999046326,"responseStart":1838.3999998569489,"secureConnectionStart":757.7999999523163},{"duration":1839.2999999523163,"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":757.8999998569489,"connectEnd":757.8999998569489,"connectStart":757.8999998569489,"domainLookupEnd":757.8999998569489,"domainLookupStart":757.8999998569489,"fetchStart":757.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":1815.3999998569489,"responseEnd":2597.199999809265,"responseStart":1864.5999999046326,"secureConnectionStart":757.8999998569489},{"duration":1110.4000000953674,"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":758.0999999046326,"connectEnd":758.0999999046326,"connectStart":758.0999999046326,"domainLookupEnd":758.0999999046326,"domainLookupStart":758.0999999046326,"fetchStart":758.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1815.5999999046326,"responseEnd":1868.5,"responseStart":1863.5,"secureConnectionStart":758.0999999046326},{"duration":1092.2999999523163,"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":758.2999999523163,"connectEnd":758.2999999523163,"connectStart":758.2999999523163,"domainLookupEnd":758.2999999523163,"domainLookupStart":758.2999999523163,"fetchStart":758.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1817.6999998092651,"responseEnd":1850.5999999046326,"responseStart":1848.5999999046326,"secureConnectionStart":758.2999999523163},{"duration":1092.5,"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":758.5,"connectEnd":758.5,"connectStart":758.5,"domainLookupEnd":758.5,"domainLookupStart":758.5,"fetchStart":758.5,"redirectEnd":0,"redirectStart":0,"requestStart":1817.8999998569489,"responseEnd":1851,"responseStart":1849.3999998569489,"secureConnectionStart":758.5},{"duration":1058.4000000953674,"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":758.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":758.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1817,"responseStart":0,"secureConnectionStart":0},{"duration":1142.6000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":758.8999998569489,"connectEnd":758.8999998569489,"connectStart":758.8999998569489,"domainLookupEnd":758.8999998569489,"domainLookupStart":758.8999998569489,"fetchStart":758.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":1823.2999999523163,"responseEnd":1901.5,"responseStart":1898.2999999523163,"secureConnectionStart":758.8999998569489},{"duration":1059.7000000476837,"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":759.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":759.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1818.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":1143.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":760,"connectEnd":760,"connectStart":760,"domainLookupEnd":760,"domainLookupStart":760,"fetchStart":760,"redirectEnd":0,"redirectStart":0,"requestStart":1824.1999998092651,"responseEnd":1903.5,"responseStart":1899.1999998092651,"secureConnectionStart":760},{"duration":1821.7000000476837,"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":761.0999999046326,"connectEnd":761.0999999046326,"connectStart":761.0999999046326,"domainLookupEnd":761.0999999046326,"domainLookupStart":761.0999999046326,"fetchStart":761.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2563.199999809265,"responseEnd":2582.7999999523163,"responseStart":2579.5,"secureConnectionStart":761.0999999046326},{"duration":1821.9000000953674,"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":761.0999999046326,"connectEnd":761.0999999046326,"connectStart":761.0999999046326,"domainLookupEnd":761.0999999046326,"domainLookupStart":761.0999999046326,"fetchStart":761.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2565.899999856949,"responseEnd":2583,"responseStart":2580.5999999046326,"secureConnectionStart":761.0999999046326},{"duration":453,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2570.399999856949,"connectEnd":2570.399999856949,"connectStart":2570.399999856949,"domainLookupEnd":2570.399999856949,"domainLookupStart":2570.399999856949,"fetchStart":2570.399999856949,"redirectEnd":0,"redirectStart":0,"requestStart":2990.7999999523163,"responseEnd":3023.399999856949,"responseStart":3022.7999999523163,"secureConnectionStart":2570.399999856949},{"duration":642.3999998569489,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":3090.5,"connectEnd":3090.5,"connectStart":3090.5,"domainLookupEnd":3090.5,"domainLookupStart":3090.5,"fetchStart":3090.5,"redirectEnd":0,"redirectStart":0,"requestStart":3698.899999856949,"responseEnd":3732.899999856949,"responseStart":3732.2999999523163,"secureConnectionStart":3090.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":534,"responseStart":720,"responseEnd":731,"domLoading":755,"domInteractive":3826,"domContentLoadedEventStart":3826,"domContentLoadedEventEnd":3900,"domComplete":4754,"loadEventStart":4754,"loadEventEnd":4755,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3661.399999856949},{"name":"bigPipe.sidebar-id.end","time":3662.199999809265},{"name":"bigPipe.activity-panel-pipe-id.start","time":3662.399999856949},{"name":"bigPipe.activity-panel-pipe-id.end","time":3668.7999999523163},{"name":"activityTabFullyLoaded","time":3921.7999999523163}],"measures":[],"correlationId":"d325dc2cf9f1e1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":17,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
it's probably related to the "new shared dynamic library libsql_builtins" that you've mentioned. I don't think there should be a new dynamic library. Looking at the code I believe it's supposed to be static and it was introduced purely as an internal build optimization, not to have a new user visible entity. Aria is part of that library and, supposedly that's why you're getting an error.
And it's caused by your -DBUILD_SHARED_LIBS:BOOL=ON. I don't think it should affect libsql_builtins.