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

galera - compile errors in Fedora 41

Details

    Description

      The bundled asio #includes openssl/engine.h.

      Fedora 41 is deprecating this - https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            https://github.com/MariaDB/galera/pull/29 fixes asio and no-engine.

            There;s an additional compile warning in gcc-14.2.1 fixed by https://github.com/MariaDB/galera/pull/28

            danblack Daniel Black added a comment - https://github.com/MariaDB/galera/pull/29 fixes asio and no-engine. There;s an additional compile warning in gcc-14.2.1 fixed by https://github.com/MariaDB/galera/pull/28
            danblack Daniel Black added a comment -

            /source/gcomm/test/check_trace.hpp: In member function ‘virtual void gcomm::DummyNode::connect(bool)’:
            /source/gcomm/test/check_trace.hpp:307:52: warning: ‘std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = gcomm::Protolay; _Arg = bool]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations]
              307 |                                        std::mem_fun(&Protolay::connect), first)));
                  |                                        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
            /source/galerautils/src/gu_exception.hpp:52:26: note: in definition of macro ‘gu_trace’
               52 | #define gu_trace(_expr_) _expr_
                  |                          ^~~~~~
            In file included from /usr/include/c++/14/string:49,
                             from /usr/include/c++/14/bits/locale_classes.h:40,
                             from /usr/include/c++/14/bits/ios_base.h:41,
                             from /usr/include/c++/14/ios:44,
                             from /usr/include/c++/14/istream:40,
                             from /usr/include/c++/14/sstream:40,
                             from /source/galerautils/src/gu_throw.hpp:18:
            /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here
             1392 |     mem_fun(_Ret (_Tp::*__f)(_Arg))
                  |     ^~~~~~~
            /source/gcomm/test/check_trace.hpp:306:48: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t<void, gcomm::Protolay, bool>; _Tp = bool]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations]
              306 |                                    std::bind2nd(
                  |                                    ~~~~~~~~~~~~^
              307 |                                        std::mem_fun(&Protolay::connect), first)));
                  |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            /source/galerautils/src/gu_exception.hpp:52:26: note: in definition of macro ‘gu_trace’
               52 | #define gu_trace(_expr_) _expr_
                  |                          ^~~~~~
            In file included from /usr/include/c++/14/bits/stl_function.h:1435:
            /usr/include/c++/14/backward/binders.h:172:5: note: declared here
              172 |     bind2nd(const _Operation& __fn, const _Tp& __x)
                  |     ^~~~~~~
            In file included from /source/gcomm/test/check_evs2.cpp:18:
            /source/gcomm/test/check_trace.hpp: In member function ‘virtual gu::datetime::Date gcomm::DummyNode::handle_timers()’:
            /source/gcomm/test/check_trace.hpp:423:39: warning: ‘std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = gu::datetime::Date; _Tp = gcomm::Protolay]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations]
              423 |                           std::mem_fun(&Protolay::handle_timers));
                  |                           ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
            /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here
             1368 |     mem_fun(_Ret (_Tp::*__f)())
                  |     ^~~~~~~
            In file included from /source/galera/src/galera_gcs.hpp:11,
                             from /source/galera/src/gcs_dummy.cpp:5:
            

            https://github.com/MariaDB/galera/pull/30

            danblack Daniel Black added a comment - /source/gcomm/test/check_trace.hpp: In member function ‘virtual void gcomm::DummyNode::connect(bool)’: /source/gcomm/test/check_trace.hpp:307:52: warning: ‘std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = gcomm::Protolay; _Arg = bool]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 307 | std::mem_fun(&Protolay::connect), first))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /source/galerautils/src/gu_exception.hpp:52:26: note: in definition of macro ‘gu_trace’ 52 | #define gu_trace(_expr_) _expr_ | ^~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/sstream:40, from /source/galerautils/src/gu_throw.hpp:18: /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ /source/gcomm/test/check_trace.hpp:306:48: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t<void, gcomm::Protolay, bool>; _Tp = bool]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 306 | std::bind2nd( | ~~~~~~~~~~~~^ 307 | std::mem_fun(&Protolay::connect), first))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /source/galerautils/src/gu_exception.hpp:52:26: note: in definition of macro ‘gu_trace’ 52 | #define gu_trace(_expr_) _expr_ | ^~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /source/gcomm/test/check_evs2.cpp:18: /source/gcomm/test/check_trace.hpp: In member function ‘virtual gu::datetime::Date gcomm::DummyNode::handle_timers()’: /source/gcomm/test/check_trace.hpp:423:39: warning: ‘std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = gu::datetime::Date; _Tp = gcomm::Protolay]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 423 | std::mem_fun(&Protolay::handle_timers)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ In file included from /source/galera/src/galera_gcs.hpp:11, from /source/galera/src/gcs_dummy.cpp:5: https://github.com/MariaDB/galera/pull/30

            People

              sysprg Julius Goryavsky
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.