Bug 270764 - databases/mysqlwsrep57-server: Update to 5.7.41-25.33
Summary: databases/mysqlwsrep57-server: Update to 5.7.41-25.33
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: http://releases.galeracluster.com/mys...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-11 11:43 UTC by devel
Modified: 2023-04-11 23:07 UTC (History)
1 user (show)

See Also:


Attachments
Update to 5.7.41-25.33 (2.89 KB, patch)
2023-04-11 11:43 UTC, devel
devel: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devel 2023-04-11 11:43:42 UTC
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.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-04-11 17:10:19 UTC
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.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-11 23:04:45 UTC
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(-)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-04-11 23:07:23 UTC
Thank you for your contribution.