Page MenuHomeSolus

Update mariadb to 10.3.9
ClosedPublic

Authored by der_eismann on Jul 20 2018, 8:52 PM.
Tags
None
Referenced Files
F11048139: D3355.id8302.diff
Thu, Aug 10, 4:13 PM
F11048138: D3355.id8636.diff
Thu, Aug 10, 4:13 PM
F11048137: D3355.id.diff
Thu, Aug 10, 4:12 PM
F11048136: D3355.id8980.diff
Thu, Aug 10, 4:12 PM
F11048135: D3355.id8906.diff
Thu, Aug 10, 4:12 PM
F11033681: D3355.diff
Wed, Aug 9, 3:57 PM
F11020679: D3355.diff
Mon, Aug 7, 7:40 AM
F11019934: D3355.id8906.diff
Sun, Aug 6, 11:56 PM

Details

Summary

Update mariadb from 10.1.29 to 10.3.9

For all new features please read the release notes for MariaDB 10.2 and MariaDB 10.3.

Please also read the upgrade instructions for 10.2 and 10.3.

Test Plan
  • Started service with systemctl start mariadb
  • Accessed mariadb with mysql -u root
  • Created database with create database testdb;
  • Imported a dump, did some select queries

Diff Detail

Repository
R2019 mariadb
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

I removed ninja because the build somehow always failed. Not sure if it's incompatible with bison or whatever... If someone knows - please tell me.

[1719/2546] Building CXX object storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o
FAILED: storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o 
/usr/lib64/ccache/bin/x86_64-solus-linux-g++  -DHAVE_CONFIG_H -DHAVE_SYSTEMD -DMYSQL_SERVER -D_FILE_OFFSET_BITS=64 -Iinclude -I../ -I../include -I../sql -Isql -mtune=generic -march=x86-64 -g2 -O2 -pipe -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param ssp-buffer-size=32 -fasynchronous-unwind-tables -ftree-vectorize -feliminate-unused-debug-types -Wall -Wno-error -Wp,-D_REENTRANT -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -D_FORTIFY_SOURCE=2 -DDBUG_OFF   -fPIC -fvisibility=hidden -MD -MT storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o -MF storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o.d -o storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o -c ../storage/perfschema/pfs_digest.cc
In file included from ../sql/sql_class.h:522:0,
                 from ../sql/sql_acl.h:21,
                 from ../storage/perfschema/pfs_engine_table.h:19,
                 from ../storage/perfschema/table_helper.h:22,
                 from ../storage/perfschema/pfs_digest.cc:32:
../sql/sql_lex.h:275:10: fatal error: sql_yacc.hh: No such file or directory
 #include "sql_yacc.hh"
          ^~~~~~~~~~~~~
compilation terminated.
[1722/2546] Building CXX object storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs.cc.o
ninja: build stopped: subcommand failed.

So far I've built this and will be testing more thoroughly later today.

One thing I noticed, and this is a problem with the current 10.1.29 version as well, is client tools, like mysqldump, are in the mariadb-server package, rather than in the mariadb package itself. This conflicts with the patterns as the server pattern doesn't include mysqldump, but the root pattern does.

You're right, I guess the wildcard /usr/bin/mysqld* is ignoring the separate /usr/bin/mysqldump entry for the root package. I guess we have to replace the wildcard with the binaries then.

sunnyflunk added inline comments.
package.yml
90

If you change this section to :

- main :
    - /usr/bin/mysqldump
    - /usr/bin/mysql_find_rows
    - /usr/bin/mysql_plugin
    - /usr/bin/mysql_waitpid

I believe they will go into the mariadb package as originally intended

Works great, thanks for the hint!

der_eismann retitled this revision from Update mariadb to 10.3.8 to Update mariadb to 10.3.9.Aug 15 2018, 8:06 PM
der_eismann edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Aug 18 2018, 10:23 PM
This revision was automatically updated to reflect the committed changes.