[Bug 256618] databases/mariadb10[345]-server: patch and unbreak on riscv64

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 29 Jun 2021 13:42:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256618

--- Comment #12 from Robert Clausecker <fuz@fuz.su> ---
Created attachment 226110
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226110&action=edit
databases/mariadb104-server: fix plist issues on non-amd64

This patch fixes the plist issues by always attempting to move wsrep.cnf into
the place pkg-plist expects it in, regardless of whether the WSREP option is
set or not.  if the file does not exist, the error is ignored.

There may be a deeper underlying issue for this symptom: WSREP is only
available as an option on amd64, so the configuration file should not be
installed on other architectures.  However, it is unexpectedly present.  I
presume that the absence of the option means that the wsrep feature is
unconditionally built on platforms other than amd64 that support it.

This is something that needs to be looked into, but I am not sufficiently
familiar with mariadb to make an informed judgement here.  Also, I was unable
to determine why the WSREP option exists on amd64 only.

-- 
You are receiving this mail because:
You are on the CC list for the bug.