Created attachment 534160 [details] Full build.log As per summary. Works with USE=server, fails with USE=-server. Snip: >>> Preparing source in /var/tmp/portage/dev-db/mariadb-10.3.7/work/mysql ... /var/tmp/portage/dev-db/mariadb-10.3.7/temp/environment: line 6023: /var/tmp/portage/dev-db/mariadb-10.3.7/work/mysql/plugin/semisync/CMakeLists.txt: No such file or directory * ERROR: dev-db/mariadb-10.3.7::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 6042: Called _disable_plugin 'semisync' * environment, line 6023: Called die * The specific snippet of code: * echo > "${S%/}/plugin/${1}/CMakeLists.txt" || die * * If you need support, post the output of `emerge --info '=dev-db/mariadb-10.3.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-10.3.7::gentoo'`. Presumably that plugin isn't unpacked if server is disabled, but I haven't had chance to check yet. Full build.log attached.
Created attachment 534162 [details] emerge --info
(In reply to Dan Goodliffe from comment #0) > Created attachment 534160 [details] > Full build.log > > As per summary. Works with USE=server, fails with USE=-server. Snip: > >>> Preparing source in /var/tmp/portage/dev-db/mariadb-10.3.7/work/mysql ... > /var/tmp/portage/dev-db/mariadb-10.3.7/temp/environment: line 6023: > /var/tmp/portage/dev-db/mariadb-10.3.7/work/mysql/plugin/semisync/CMakeLists. > txt: No such file or directory > Presumably that plugin isn't unpacked if server is disabled, but I haven't > had chance to check yet. > That's very strange. There is no special processing for server USE when it comes to unpacking.
Presumption was wrong... the whole _disable_plugin is new in 10.3.7 compared with 10.3.6_rc... semisync just doesn't exist. According to the docs at https://mariadb.com/kb/en/library/semisynchronous-replication/ it was merged into the main server in 10.3. Presumption 2... semisync just needs removing from the list on line 278. semisync isn't a valid plugin in 10.3.6_rc either, there's just no attempt to disable it. The server_plugins and test_plugins list look fine otherwise: ~ $ ls /var/tmp/portage/dev-db/mariadb-10.3.7/work/mysql/plugin/ -1 audit_null auth_dialog auth_ed25519 auth_examples auth_gssapi auth_pam auth_pipe auth_socket aws_key_management cracklib_password_check daemon_example debug_key_management disks example_key_management feedback file_key_management fulltext handler_socket locale_info metadata_lock_info qc_info query_response_time server_audit simple_password_check sql_errlog userstat user_variables versioning win_auth_client wsrep_info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf280598140afeca0feefa98d15039d778fbb2a3 commit cf280598140afeca0feefa98d15039d778fbb2a3 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-05-30 18:51:54 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-05-30 18:51:54 +0000 dev-db/mariadb: Fix -server in 10.3.7 for bug 656918 Closes: https://bugs.gentoo.org/656918 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-db/mariadb/mariadb-10.3.7.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)