Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
11.4.2
-
Linux with libfmt-11.0.0
Description
Compile was successful with libfmt-10.2.1
FAILED: sql/CMakeFiles/sql.dir/item_strfunc.cc.o
|
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -D_FILE_OFFSET_BITS=64 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/wsrep-lib/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/wsrep-lib/wsrep-API/v26 -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/.x86_64-libreelec-linux-gnu/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/include/providers -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/sql -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/zlib -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/.x86_64-libreelec-linux-gnu/zlib -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/.x86_64-libreelec-linux-gnu/sql -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/tpool -march=x86-64-v3 -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -DDBUG_OFF -std=gnu++11 -DHAVE_OPENSSL -DOPENSSL_API_COMPAT=0x10100000L -MD -MT sql/CMakeFiles/sql.dir/item_strfunc.cc.o -MF sql/CMakeFiles/sql.dir/item_strfunc.cc.o.d -o sql/CMakeFiles/sql.dir/item_strfunc.cc.o -c /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mariadb-11.4.2/sql/item_strfunc.cc
|
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/format.h:41,
|
from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/format-inl.h:27,
|
from ../sql/item_strfunc.cc:66:
|
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/base.h: In instantiation of 'static void fmt::v10::detail::value<Context>::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = String; Formatter = fmt::v10::formatter<String>; Context = fmt::v10::context; typename Context::parse_context_type = fmt::v10::basic_format_parse_context<char>]':
|
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/base.h:1373:19: required from 'fmt::v10::detail::value<Context>::value(T&) [with T = String; Context = fmt::v10::context]'
|
1373 | custom.format = format_custom_arg<
|
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
|
1374 | value_type, typename Context::template formatter_type<value_type>>;
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/base.h:1631:41: required from 'fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v10::context; T = String; typename std::enable_if<PACKED, int>::type <anonymous> = 0]'
|
1631 | return {arg_mapper<Context>().map(val)};
|
| ^
|
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/base.h:1638:39: required from 'fmt::v10::basic_format_arg<Context> fmt::v10::detail::make_arg(T&) [with Context = fmt::v10::context; T = String]'
|
1638 | arg.value_ = make_arg<true, Context>(val);
|
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
|
../sql/item_strfunc.cc:1624:48: required from here
|
1624 | vargs[carg-1]= fmt::detail::make_arg<ctx>(*parg);
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
|
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/fmt/base.h:1392:29: error: passing 'const fmt::v10::formatter<String>' as 'this' argument discards qualifiers [-fpermissive]
|
1392 | ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx));
|
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Attachments
Issue Links
- relates to
-
MDEV-34206 compile failure: fmt use incompatible with libfmt-10.2.[2]+
- Closed
- links to