/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc: In member function ‘virtual String* Item_func_sformat::val_str(String*)’: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1429:48: error: no matching function for call to ‘make_arg(longlong)’ 1429 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_int()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1559:31: note: candidate: ‘template::t ype > fmt::v10::detail::value fmt::v10::detail::make_arg(T&)’ 1559 | FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value {exit | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1559:31: note: template argument deduction/substitution failed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1429:48: error: type/value mismatch at argument 1 in template parameter list for ‘templa te::type > fmt::v10::detail::value fmt::v10::detail::make_arg(T &)’ 1429 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_int()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1429:48: note: expected a constant of type ‘bool’, got ‘ctx’ {aka ‘fmt::v10::basic_for mat_context’} In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1588:20: note: candidate: ‘fmt::v10::basic_format_arg fmt::v10::detail::make_arg(T&) [with Context = fm t::v10::basic_format_context; T = long long int]’ (near match) 1588 | FMT_CONSTEXPR auto make_arg(T& val) -> basic_format_arg { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1588:20: note: conversion of argument 1 would be ill-formed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1429:68: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rv alue of type ‘longlong’ {aka ‘long long int’} 1429 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_int()); | ~~~~~~~~~~~~~~~~~~~^~ In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1596:27: note: candidate: ‘template::type > fmt::v10::basic_format_arg fmt::v10::detail::make_arg(T&)’ 1596 | FMT_CONSTEXPR inline auto make_arg(T& val) -> basic_format_arg { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1596:27: note: template argument deduction/substitution failed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1429:48: error: type/value mismatch at argument 1 in template parameter list for ‘templa te::type > fmt::v10::basic_format_arg fmt::v10::detail::mak e_arg(T&)’ 1429 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_int()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1429:48: note: expected a constant of type ‘bool’, got ‘ctx’ {aka ‘fmt::v10::basic_for mat_context’} /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1434:50: error: no matching function for call to ‘make_arg(float)’ 1434 | vargs[carg-1]= fmt::detail::make_arg((float)args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1559:31: note: candidate: ‘template::t ype > fmt::v10::detail::value fmt::v10::detail::make_arg(T&)’ 1559 | FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1559:31: note: template argument deduction/substitution failed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1434:50: error: type/value mismatch at argument 1 in template parameter list for ‘templa te::type > fmt::v10::detail::value fmt::v10::detail::make_arg(T &)’ 1434 | vargs[carg-1]= fmt::detail::make_arg((float)args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1434:50: note: expected a constant of type ‘bool’, got ‘ctx’ {aka ‘fmt::v10::basic_for mat_context’} [ 85%] Building CXX object sql/CMakeFiles/sql.dir/item_timefunc.cc.o cd /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build/sql && /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-11 -DHAVE_CONFIG _H -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -D_FILE_OFFSET_BITS=64 -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/wsrep-lib/include - I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/wsrep-lib/wsrep-API/v26 -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build/include -I/tmp/mariadb-2 0230819-7241-19yfcnl/mariadb-11.0.3/include/providers -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/include -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb -11.0.3/sql -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build/sql -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/tpool -pie -fPIC -fstack-protec tor --param=ssp-buffer-size=4 -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -std=gnu++11 -DHAVE_OPENSSL -DOPENSSL_API_COMPAT=0x10100000L -MD -MT sql/CMakeFile s/sql.dir/item_timefunc.cc.o -MF CMakeFiles/sql.dir/item_timefunc.cc.o.d -o CMakeFiles/sql.dir/item_timefunc.cc.o -c /tmp/mariadb-20230819-7241-19yfcnl/mariad b-11.0.3/sql/item_timefunc.cc In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1588:20: note: candidate: ‘fmt::v10::basic_format_arg fmt::v10::detail::make_arg(T&) [with Context = fm t::v10::basic_format_context; T = float]’ (near match) 1588 | FMT_CONSTEXPR auto make_arg(T& val) -> basic_format_arg { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1588:20: note: conversion of argument 1 would be ill-formed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1434:51: error: cannot bind non-const lvalue reference of type ‘float&’ to an rvalue of type ‘float’ 1434 | vargs[carg-1]= fmt::detail::make_arg((float)args[carg]->val_real()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1596:27: note: candidate: ‘template::type > fmt::v10::basic_format_arg fmt::v10::detail::make_arg(T&)’ 1596 | FMT_CONSTEXPR inline auto make_arg(T& val) -> basic_format_arg { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1596:27: note: template argument deduction/substitution failed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1434:50: error: type/value mismatch at argument 1 in template parameter list for ‘templa te::type > fmt::v10::basic_format_arg fmt::v10::detail::mak e_arg(T&)’ 1434 | vargs[carg-1]= fmt::detail::make_arg((float)args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1434:50: note: expected a constant of type ‘bool’, got ‘ctx’ {aka ‘fmt::v10::basic_for mat_context’} /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1436:50: error: no matching function for call to ‘make_arg(double)’ 1436 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1559:31: note: candidate: ‘template::t ype > fmt::v10::detail::value fmt::v10::detail::make_arg(T&)’ 1559 | FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1559:31: note: template argument deduction/substitution failed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1436:50: error: type/value mismatch at argument 1 in template parameter list for ‘templa te::type > fmt::v10::detail::value fmt::v10::detail::make_arg(T &)’ 1436 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1436:50: note: expected a constant of type ‘bool’, got ‘ctx’ {aka ‘fmt::v10::basic_for mat_context’} In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1588:20: note: candidate: ‘fmt::v10::basic_format_arg fmt::v10::detail::make_arg(T&) [with Context = fm t::v10::basic_format_context; T = double]’ (near match) 1588 | FMT_CONSTEXPR auto make_arg(T& val) -> basic_format_arg { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1588:20: note: conversion of argument 1 would be ill-formed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1436:71: error: cannot bind non-const lvalue reference of type ‘double&’ to an rvalue of type ‘double’ 1436 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/linuxbrew/.linuxbrew/include/fmt/format.h:49, from /home/linuxbrew/.linuxbrew/include/fmt/format-inl.h:25, from /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:61: /home/linuxbrew/.linuxbrew/include/fmt/core.h:1596:27: note: candidate: ‘template::type > fmt::v10::basic_format_arg fmt::v10::detail::make_arg(T&)’ 1596 | FMT_CONSTEXPR inline auto make_arg(T& val) -> basic_format_arg { | ^~~~~~~~ /home/linuxbrew/.linuxbrew/include/fmt/core.h:1596:27: note: template argument deduction/substitution failed: /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1436:50: error: type/value mismatch at argument 1 in template parameter list for ‘templa te::type > fmt::v10::basic_format_arg fmt::v10::detail::mak e_arg(T&)’ 1436 | vargs[carg-1]= fmt::detail::make_arg(args[carg]->val_real()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/item_strfunc.cc:1436:50: note: expected a constant of type ‘bool’, got ‘ctx’ {aka ‘fmt::v10::basic_for mat_context’} [ 85%] Building CXX object sql/CMakeFiles/sql.dir/key.cc.o cd /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build/sql && /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-11 -DHAVE_CONFIG _H -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -D_FILE_OFFSET_BITS=64 -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/wsrep-lib/include - I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/wsrep-lib/wsrep-API/v26 -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build/include -I/tmp/mariadb-2 0230819-7241-19yfcnl/mariadb-11.0.3/include/providers -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/include -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb -11.0.3/sql -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build/sql -I/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/tpool -pie -fPIC -fstack-protec tor --param=ssp-buffer-size=4 -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -std=gnu++11 -DHAVE_OPENSSL -DOPENSSL_API_COMPAT=0x10100000L -MD -MT sql/CMakeFile s/sql.dir/key.cc.o -MF CMakeFiles/sql.dir/key.cc.o.d -o CMakeFiles/sql.dir/key.cc.o -c /tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/sql/key.cc make[2]: *** [sql/CMakeFiles/sql.dir/build.make:459: sql/CMakeFiles/sql.dir/item_strfunc.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ^[[5~make[2]: Leaving directory '/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build' make[1]: *** [CMakeFiles/Makefile2:6317: sql/CMakeFiles/sql.dir/all] Error 2 make[1]: Leaving directory '/tmp/mariadb-20230819-7241-19yfcnl/mariadb-11.0.3/_build' make: *** [Makefile:159: all] Error 2