Created attachment 218946 [details] Update to 5.6.49-25.31.
The patch passes portlint, poudriere testport for 11.4-RELEASE, 12.1-RELEASE.
There is a problem on CURRENT: http://joneumbox.org/build.html?mastername=13amd64-ports&build=2020-10-27_20h33m11s http://joneumbox.org/build.html?mastername=13i386-ports&build=2020-10-27_20h33m27s
Comment on attachment 218946 [details] Update to 5.6.49-25.31. Index: Makefile =================================================================== --- Makefile (revision 553434) +++ Makefile (working copy) @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= mysqlwsrep -PORTVERSION?= 5.6.48 +PORTVERSION?= 5.6.49 DISTVERSIONPREFIX?= wsrep_ -DISTVERSIONSUFFIX?= -25.30 +DISTVERSIONSUFFIX?= -25.31 PORTREVISION?= 0 CATEGORIES= databases PKGNAMESUFFIX= 56-server @@ -145,6 +145,12 @@ .include <bsd.port.pre.mk> +# Plugin innodb_memcached requires -fcommon to avoid duplicate symbol linker +# error with llmv11. +.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300109 +CFLAGS+= -fcommon +.endif + post-patch: ${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt Index: distinfo =================================================================== --- distinfo (revision 553434) +++ distinfo (working copy) @@ -1,5 +1,5 @@ -TIMESTAMP = 1591190921 -SHA256 (codership-mysql-wsrep-wsrep_5.6.48-25.30_GH0.tar.gz) = 10e9bf4a2daf7706c1c5cb4a2857d7d38f0deb4bb2599cff5b9930ad7de54290 -SIZE (codership-mysql-wsrep-wsrep_5.6.48-25.30_GH0.tar.gz) = 32703508 +TIMESTAMP = 1603212970 +SHA256 (codership-mysql-wsrep-wsrep_5.6.49-25.31_GH0.tar.gz) = 7ce1f9eccd630d591ae8971e473ec64eb36e5da9e38e3de7e4b14f5e3a17d197 +SIZE (codership-mysql-wsrep-wsrep_5.6.49-25.31_GH0.tar.gz) = 32721517 SHA256 (codership-wsrep-API-eab2d5d5a31672c0b7d116ef1629ff18392fd7d0_GH0.tar.gz) = 3c235868ed330d8d702e7b7541c24c1926b1fd9e6b8aa673b032a2318896e8a0 SIZE (codership-wsrep-API-eab2d5d5a31672c0b7d116ef1629ff18392fd7d0_GH0.tar.gz) = 47032
Created attachment 219361 [details] Update to 5.6.49-25.31
Updated the patch. LLVM 11 changed the default flags from -fcommon to -fno-common, which made innodb_memcached plugin fail a link time. Added -fcommon to CFLAGS for 13.0-CURRENT.
A commit references this bug: Author: joneum Date: Sat Nov 7 09:43:13 UTC 2020 New revision: 554372 URL: https://svnweb.freebsd.org/changeset/ports/554372 Log: Update to 5.6.49-25.31 Changelog: http://releases.galeracluster.com/mysql-wsrep-5.6.49-25.31/release-notes-mysql-wsrep-5.6.49-25.31.txt PR: 250507 Submitted by: maintainer Sponsored by: Netzkommune GmbH Changes: head/databases/mysqlwsrep56-server/Makefile head/databases/mysqlwsrep56-server/distinfo