Details

    • Task
    • Status: In Testing (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.11, 11.4
    • None
    • None

    Description

      fmtlib upstream removed the ability to control locale usage via an undocumented FMT_STATIC_THOUSANDS_SEPARATOR in favor of FMT_USE_LOCALE. The issue is related to the commit https://github.com/fmtlib/fmt/commit/b3ccc2d2100052b3a3079941febf2494caa07402. This change makes the mariadb fail to configure with -DWITH_LIBFMT=system when fmtlib 11.1.0 or newer is installed in the system. See also https://bugs.gentoo.org/946924.

      Attachments

        Issue Links

          Activity

            wlad Vladislav Vaintroub added a comment -

            Looks good to me

            wlad Vladislav Vaintroub added a comment - Looks good to me
            serg Sergei Golubchik added a comment - - edited

            yes, please. This one is used for fixing the separator issue

            serg Sergei Golubchik added a comment - - edited yes, please. This one is used for fixing the separator issue
            svoj Sergey Vojtovich added a comment -

            I got an impression they're related after reading grooverdan's comment:

            Currently because libfmt changed the API by removing the thousands separator (fmtlib/fmt#4284) and we haven't written a compatibility for the newer libfmt yet.

            ref: https://jira.mariadb.org/browse/MDEV-35746

            But apparently they're different indeed. Do you want me to create another issue for PR#3786?

            svoj Sergey Vojtovich added a comment - I got an impression they're related after reading grooverdan's comment: Currently because libfmt changed the API by removing the thousands separator (fmtlib/fmt#4284) and we haven't written a compatibility for the newer libfmt yet. ref: https://jira.mariadb.org/browse/MDEV-35746 But apparently they're different indeed. Do you want me to create another issue for PR#3786?
            serg Sergei Golubchik added a comment - - edited

            will switch fmt to use proper std::locale. The slowdown is about 30% but only if :L is specified.

            serg Sergei Golubchik added a comment - - edited will switch fmt to use proper std::locale . The slowdown is about 30% but only if :L is specified.
            serg Sergei Golubchik added a comment -

            What does https://github.com/MariaDB/server/pull/3786 have to do with the problem in the issue description? It seems to be solving something unrelated

            serg Sergei Golubchik added a comment - What does https://github.com/MariaDB/server/pull/3786 have to do with the problem in the issue description? It seems to be solving something unrelated

            People

              serg Sergei Golubchik
              arkamar Petr Vaněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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