Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34528

bump bundled to libfmt-11.0.0 was: Compile of mariadb 11.4.2 fails with libfmt-11.0.0

    XMLWordPrintable

Details

    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

          Activity

            People

              danblack Daniel Black
              heitbaum Rudi Heitbaum
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.