Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-1056

[11.4] Too new libfmt on centos-7-bintar when using bundled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • N/A
    • N/A
    • Buildbot
    • None

    Description

      bundled fmt was bumped in: https://github.com/MariaDB/server/commit/616fb6831df1d78016b8a38e575ac594c4477a8e
      and fails to compile on 11.4 / centos-7-bintar , see: https://buildbot.mariadb.org/#/builders/577/builds/19015

      In file included from /home/buildbot/amd64-centos-7-bintar/build/extra/libfmt/src/libfmt/include/fmt/args.h:17:0,
                       from /home/buildbot/amd64-centos-7-bintar/build/sql/item_strfunc.cc:65:
      /home/buildbot/amd64-centos-7-bintar/build/extra/libfmt/src/libfmt/include/fmt/format.h:4009:16: error: missing space between '""' and suffix identifier
       constexpr auto operator""_a(const char* s, size_t) -> detail::udl_arg<char> {
                      ^
      /home/buildbot/amd64-centos-7-bintar/build/sql/item_strfunc.cc:6258:1: error: expected '}' at end of input
       }
       ^
      /home/buildbot/amd64-centos-7-bintar/build/sql/item_strfunc.cc:6258:1: error: expected '}' at end of input
      /home/buildbot/amd64-centos-7-bintar/build/sql/item_strfunc.cc:6258:1: error: expected '}' at end of input
      make[2]: *** [sql/CMakeFiles/sql.dir/item_strfunc.cc.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

      Install older fmt system wide and deploy the bintar container image.

      wget https://github.com/fmtlib/fmt/releases/download/11.0.2/fmt-11.0.2.zip
      unzip fmt-11.0.2.zip
      cd fmt*
      cmake . -DCMAKE_BUILD_TYPE=Release
      make -j$(nproc)
      make install
      

      Attachments

        Activity

          People

            rvarzaru Varzaru Razvan-Liviu
            rvarzaru Varzaru Razvan-Liviu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1h
                1h