Created attachment 241421 [details] Update to 5.7.41-25.33 Passes poudriere 12.4.0, 13.1.0 * Use DISTVERSION instead of PORTVERSION as suggested in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270261. * Disable InnoDB memcached plugin compilation, it fails when building with Clang 13.0.0, see https://pkg-status.freebsd.org/beefy2/data/124amd64-quarterly/2fd0903a76fc/logs/mysqlwsrep57-server-5.7.39.log. Removed lib/mysql/plugin/innodb_engine.so and lib/mysql/plugin/libmemcached.so from pkg-plist. * Added new scripts wsrep_recover and wsrep_diag.sql in pkg-plist.
If you like, I can try to fix the duplicate symbol issue in the InnoDB memcached plugin for you. It's a fairly common problem since gcc and clang made -fno-common the default. As a workaround, you can likely fix it by adding -fcommon to CFLAGS. For a permanent fix, I'd need to look at the source. Will be committing this patch after some build testing.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c07149a07d5410fa05426c8b53ebd83c0b18514b commit c07149a07d5410fa05426c8b53ebd83c0b18514b Author: devel@galeracluster.com <devel@galeracluster.com> AuthorDate: 2023-04-11 17:33:25 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-04-11 23:02:45 +0000 databases/mysqlwsrep57-server: update to 5.7.41-25.33 The InnoDB memcached plugin is now disabled due to a duplicate symbol issue (likely -fno-common related). Changelog: http://releases.galeracluster.com/mysql-wsrep-5.7.41-25.33/release-notes-mysql-wsrep-5.7.41-25.33.txt PR: 270764 databases/mysqlwsrep57-server/Makefile | 6 +++--- databases/mysqlwsrep57-server/distinfo | 6 +++--- databases/mysqlwsrep57-server/pkg-plist | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-)
Thank you for your contribution.