gnu: MariaDB: Disable the TokuDB plugin.

Fixes <https://bugs.gnu.org/35521>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/databases.scm (mariadb)[arguments]: Pass "-DTOKUDB_OK" in
<#:configure-flags>.  Enable the "innodb_fts.crash_recovery" test, which
likely failed because of the high I/O load induced by TokuDB.
[inputs]: Remove SNAPPY.
This commit is contained in:
Marius Bakke 2019-07-14 23:06:24 +02:00
parent 29b85910f6
commit bba7a77ed9
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -659,6 +659,10 @@ (define-public mariadb
;; For now, disable the features that that use libarchive (xtrabackup). ;; For now, disable the features that that use libarchive (xtrabackup).
"-DWITH_LIBARCHIVE=OFF" "-DWITH_LIBARCHIVE=OFF"
;; Disable the TokuDB engine, because its test suite frequently fails,
;; and loading it crashes the server: <https://bugs.gnu.org/35521>.
"-DTOKUDB_OK=OFF"
;; Ensure the system libraries are used. ;; Ensure the system libraries are used.
"-DWITH_JEMALLOC=yes" "-DWITH_JEMALLOC=yes"
"-DWITH_PCRE=system" "-DWITH_PCRE=system"
@ -706,9 +710,6 @@ (define-public mariadb
;; 2030-12-31. See <https://bugs.gnu.org/34351> for details. ;; 2030-12-31. See <https://bugs.gnu.org/34351> for details.
"main.mysqldump" "main.mysqldump"
;; XXX: Fails sporadically.
"innodb_fts.crash_recovery"
;; FIXME: This test fails on i686: ;; FIXME: This test fails on i686:
;; -myisampack: Can't create/write to file (Errcode: 17 "File exists") ;; -myisampack: Can't create/write to file (Errcode: 17 "File exists")
;; +myisampack: Can't create/write to file (Errcode: 17 "File exists) ;; +myisampack: Can't create/write to file (Errcode: 17 "File exists)
@ -786,7 +787,6 @@ (define-public mariadb
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("ncurses" ,ncurses) ("ncurses" ,ncurses)
("pcre" ,pcre) ("pcre" ,pcre)
("snappy" ,snappy)
("xz" ,xz) ("xz" ,xz)
("zlib" ,zlib))) ("zlib" ,zlib)))
(propagated-inputs (propagated-inputs