Package Base Details: mariadb-10.3

Git Clone URL: https://aur.archlinux.org/mariadb-10.3.git (read-only)
Submitter: mherzberg
Maintainer: mherzberg
Last Packager: mherzberg
Votes: 3
Popularity: 0.090196
First Submitted: 2018-07-14 18:33
Last Updated: 2019-02-12 12:17

Pinned Comments

mherzberg commented on 2019-01-21 14:55

Version 10.3.x is now in the official [extra] repository. I therefore recommend everyone to use the official package instead of this one here.

mherzberg commented on 2019-01-13 13:04

  • With package version 10.3.12-2 I moved the config file location from /etc/my.cnf.d to /etc/mysql/my.cnf.d, which has been suggested to be more in line with other packages. If you created any config files in this directory, you might have to move them yourself. /etc/mysql/my.cnf is still the main config file and if you never used /etc/my.cnf.d you will probably not need to do anything when updating.

  • It seems that Christian Hesse, the maintainer of the official mariadb package for Arch Linux at https://git.archlinux.org/svntogit/packages.git/?h=packages/mariadb, has pushed some work on updating his package to 10.3. I will keep this package here around until it goes live. When this happens, though, I will switch to using his package again and recommend everyone to do the same, since the purpose of this package was to simply provide a newer version quicker for those who desperately needed one. Meanwhile, I ask everyone who has suggestions regarding the packaging of mariadb to contact Christian, as all efforts here will likely be in vain.

vilko commented on 2018-07-23 22:16

if you have following error:

mariadb-10.3.8.tar.gz ... FAILED (unknown public key CBCB082A1BB943DB)

add mariadb's singing key by executing:

gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 CBCB082A1BB943DB

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

mherzberg commented on 2019-01-13 13:04

  • With package version 10.3.12-2 I moved the config file location from /etc/my.cnf.d to /etc/mysql/my.cnf.d, which has been suggested to be more in line with other packages. If you created any config files in this directory, you might have to move them yourself. /etc/mysql/my.cnf is still the main config file and if you never used /etc/my.cnf.d you will probably not need to do anything when updating.

  • It seems that Christian Hesse, the maintainer of the official mariadb package for Arch Linux at https://git.archlinux.org/svntogit/packages.git/?h=packages/mariadb, has pushed some work on updating his package to 10.3. I will keep this package here around until it goes live. When this happens, though, I will switch to using his package again and recommend everyone to do the same, since the purpose of this package was to simply provide a newer version quicker for those who desperately needed one. Meanwhile, I ask everyone who has suggestions regarding the packaging of mariadb to contact Christian, as all efforts here will likely be in vain.

Singularity commented on 2019-01-13 02:47

I went through most of the build options, and addressed the issue with the config files and some other things. Here's my PKGBUILD, would be nice if you push it: https://gist.github.com/sevu/1e6cd29cb0f1792114a82ab87d5a2639

klaeuser commented on 2019-01-08 14:53

@mherzberg

does not work!

I just: clicked on "Download snapshot" at the top of this page, decompressed the tgz file into a new folder, and executed "makepkg -si"

This is the result:

CMake Error at storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake:178 (message): /usr/bin/c++ doesn't support -std=c++11 or -std=c++0x, you need one that does. Call Stack (most recent call first): storage/tokudb/PerconaFT/CMakeLists.txt:57 (include)

I'm using gcc-Version 8.2.1 20181127, which supports "-std=c++11"

I also tried Singularity's recommendations ... don't work.

The only way to get this compiled is to manually extract mariadb-10.3.10.tar.gz, then edit src/mariadb-10.3.10/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake, comment out the part where the language dialect is picked:

set(CMAKE_C_FLAGS "-std=c99 ${CMAKE_C_FLAGS}") check_cxx_compiler_flag(-std=c++11 HAVE_STDCXX11) check_cxx_compiler_flag(-std=c++0x HAVE_STDCXX0X)

if (HAVE_STDCXX11)

set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")

elseif (HAVE_STDCXX0X)
set(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}")
else ()
message(FATAL_ERROR "${CMAKE_CXX_COMPILER} doesn't support -std=c++11 or -std=c++0x, you need one that does.")
endif ()

After this, run makepkg -se (to avoid the source is overwritten). When it got compiled you can install it without problems.

I'm seriously wondering how anyone could get this working without editing the source, as it looks like the macro (?) check_cxx_compiler_flag still does not work as it should ...

Singularity commented on 2019-01-01 23:14

It's strange that the test for c++11 doesn't work, as gcc should have it. I also tested if some flags interfere, they don't. However, compilation with clang works, for using it, remove the gcc ar/ranlib wrappers and set: -DCMAKE_C_COMPILER=/usr/bin/clang \ -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \ One can also add -Wno-dev. To build 10.3.11, there is also one new file which should only go to one package, remove it from mariadb with rm -r usr/lib/pkgconfig For farther improving the package, /etc/mysql/init.d can also be removed, it's for SystemV. /etc/mysql/systemd contains a hint to include a preload for jemalloc, which is not needed. /etc/mysql/logrotate.d needs a bit more looking into, maybe the system journal provides similar means.

For the configuration, mariadb doesn't provide predefined config files anymore, they consider the former ones dated. The default values are a the same or a few times higher compared to the config from the arch repo, only max_allowed_packet is significantly higher. /etc/my.cnf.d doesn't need to be documented, because it is included from /etc/mysql/my.cnf, the engine probably doesn't look in that location by itself. About /etc/mysql/{server,client,mysql-clients}.cnf it's unclear, the comment states these files would be read, but I did not see that mentioned in the documentation.

I could help maintaining the package.

HLFH commented on 2018-12-12 14:34

Does not work...

DerangedPine commented on 2018-12-05 09:15

Trying to build with "normal" method but build fails as follows:

Scanning dependencies of target connect [ 41%] Building CXX object storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o In file included from /home/xxx/Downloads/mariadb-10.3/src/mariadb-10.3.10/storage/connect/ha_connect.cc:133: /home/xxx/Downloads/mariadb-10.3/src/mariadb-10.3.10/storage/connect/cmgoconn.h:9:10: fatal error: bcon.h: No such file or directory #include <bcon.h> ^~~~~~~~ compilation terminated. make[2]: [storage/connect/CMakeFiles/connect.dir/build.make:63: storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:3468: storage/connect/CMakeFiles/connect.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

This obviously happens when using pamac as well.

What am I missing here as I have no idea?

UPDATE: File in question (/usr/include/libbson-1.0/bson/bcon.h) is located and present but why it cannot be found is beyond me.

mherzberg commented on 2018-11-30 12:14

Upstream added a /etc/my.cnf.d folder, whose contents get imported by the default /etc/mysql/my.cnf. There is no need to use it, as you can keep your /etc/mysql/my.cnf as before.

Tazmain commented on 2018-11-30 12:10

Why the need to add the /etc/my.cnf.d folder? It's not documented anywhere in the wiki or the mariadb docs.

maderios commented on 2018-11-19 16:18

This "normal" method works fine:

git clone https://aur.archlinux.org/mariadb-10.3.git

Then in created directory /mariadb-10.3

makepkg -sicC

mherzberg commented on 2018-11-19 14:53

@squadgazzz

  1. As @maderios already said, "yaourt" is unsupported for a while already and it is recommended to switch to a different AUR helper. Many people switched to "yay".

  2. I suggest you try to manually build my version. For that, click on "Download snapshot" at the top of this page, decompress the tgz file into a new folder, and execute "makepkg -si". If you get an error, please post it here.