From 5b4d2e40f1b2097c1f1ea6d1a0e701a1908011d4 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 20 Jul 2018 00:50:20 +0200 Subject: gnu: mariadb: Disable plugin that fails on armhf. * gnu/packages/databases.scm (mariadb)[arguments]: Add 'disable-plugins' phase. --- gnu/packages/databases.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu/packages/databases.scm') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 0e30815d40..61b4268e9d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -665,6 +665,19 @@ (define-public mariadb "-DINSTALL_SHAREDIR=share") #:phases (modify-phases %standard-phases + (add-before 'configure 'disable-plugins + (lambda _ + (let ((disable-plugin (lambda (name) + (call-with-output-file + (string-append "plugin/" name + "/CMakeLists.txt") + (lambda (port) + (format port "\n"))))) + (disabled-plugins '(;; FIXME: On armhf-linux, this plugin + ;; triggers a GCC ICE. Disable for now. + "semisync"))) + (for-each disable-plugin disabled-plugins) + #t))) (add-before 'configure 'pre-configure (lambda _ -- cgit v1.2.3