Created attachment 221489 [details] Update to 5.7.32-25.4 Portlint passes. Poudriere passes for 11.4, 12.1, 13.0.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/240454043
Q/A: Makefile: [102]: use a tab (not space) after a variable name Makefile: PERFSCHM is listed in OPTIONS_DEFINE, but no PORT_OPTIONS:MPERFSCHM appears. files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc(working: only use characters [-_.a-zA-Z0-9+] for patch or script names. Is the trailing "(working" right? Thanks!
Created attachment 221573 [details] Update to 5.7.32-25.4, PERFSCHM and patch filename fixes Makefile line 102, space -> tab. Renamed files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc(working to files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc. Comparing the Makefile to one in mysql57-server (which should be quite close), I noticed that OPTIONS_SUB=YES was missing. After adding it, PERFSCHEM option become effective. Is this the right way to fix this (instead of adding if PORT_OPTIONS:MPERFSCHEM)?
(In reply to devel from comment #3) Careful, OPTIONS_SUB was already there. You have it now where you added it and three lines below: OPTIONS_SUB= YES OPTIONS_GROUP= STORAGE OPTIONS_GROUP_STORAGE= ARCHIVE BLACKHOLE EXAMPLE FEDERATED INNOBASE PARTITION PERFSCHEMA OPTIONS_SUB= YES I'm sorry I didn't spot this first. The problem is that the option is named PERFSCHEMA but the helpers are PERFSCHM_* _without the trailing A_ That is why portlint complains. Would you remove the extra OPTIONS_SUB and also rename the option?
Created attachment 221590 [details] Update to 5.7.32-25.24, Makefile and patch filename fixes Makefile line 102, space -> tab. Renamed files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc(working to files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc. Handle MPERFSCHM option explicitly after .include <bst.port.options.mk> to get rid of portlint warning. Clean up unused/unsupported FEDERATED option.
(In reply to Fernando Apesteguía from comment #4) Oops, I missed the duplicate OPTIONS_SUB. For PERFSCHEMA vs PERFSCHM: It seems that they are two different configuration options. The first one controls build options, i.e. whether the perfschema storage engine is built in server or not. The second one is runtime option, passed to files/mysql-server.in via PERFSCHMRC. Decided to handle PERFSCHM option explicitly after .include <bsd.port.options.mk> to get rid of portlint warning. Seems that the cleanup of FEDERATED in the last patch was too aggressive, need to revise it once more.
Created attachment 221591 [details] Update to 5.7.32-25.24, Makefile and patch filename fixes Makefile line 102, space -> tab. Renamed files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc(working to files/patch-rapid_plugin_group__replication_src_recovery__state__transfer.cc. Handle MPERFSCHM option explicitly after .include <bst.port.options.mk> to get rid of portlint warning.