https://bugs.gentoo.org/878951 --- a/cmake/info_macros.cmake.in 2022-09-13 12:15:16.000000000 -0400 +++ b/cmake/info_macros.cmake.in 2022-11-01 00:12:06.270464679 -0400 @@ -175,7 +175,7 @@ IF(HAVE_BUILD_ID_SUPPORT AND NOT WITHOUT_SERVER) FILE(APPEND ${INFO_BIN} "\n===== BUILD ID =====\n") EXECUTE_PROCESS(COMMAND - ${MYSQLD_EXECUTABLE} --help + ${MYSQLD_EXECUTABLE} --no-defaults --help OUTPUT_VARIABLE mysqld_help RESULT_VARIABLE mysqld_help_result ERROR_VARIABLE mysqld_help_error