Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
N/A
-
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 |