Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3528

Maxscale source repo contains old boost-1.73.0.tar.gz which is not buildable with latest cmake on ARM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.12
    • Component/s: Packaging
    • Labels:
      None

      Description

      Ubuntu Bionic, aarch64, cmake 3.20.2:

      In file included from /home/ubuntu/MaxScale/_build/boost/boost/spirit/home/x3/char/char.hpp:14:0,
                       from /home/ubuntu/MaxScale/_build/boost/boost/spirit/home/x3/char.hpp:12,
                       from /home/ubuntu/MaxScale/_build/boost/boost/spirit/home/x3.hpp:15,
                       from /home/ubuntu/MaxScale/server/modules/routing/pinloki/gtid.cc:21:
      /home/ubuntu/MaxScale/_build/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp: In static member function ‘static bool boost::spirit::char_encoding::standard_wide::strict_ischar(int)’:
      /home/ubuntu/MaxScale/_build/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp:86:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                   return ch >= WCHAR_MIN && ch <= WCHAR_MAX;
                             ^
      /home/ubuntu/MaxScale/_build/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp:86:42: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                   return ch >= WCHAR_MIN && ch <= WCHAR_MAX;
                                                ^
      cc1plus: all warnings being treated as errors
      server/modules/routing/pinloki/CMakeFiles/pinloki-core.dir/build.make:145: recipe for target 'server/modules/routing/pinloki/CMakeFiles/pinloki-core.dir/gtid.cc.o' failed
      make[2]: *** [server/modules/routing/pinloki/CMakeFiles/pinloki-core.dir/gtid.cc.o] Error 1
      CMakeFiles/Makefile2:3870: recipe for target 'server/modules/routing/pinloki/CMakeFiles/pinloki-core.dir/all' failed
      make[1]: *** [server/modules/routing/pinloki/CMakeFiles/pinloki-core.dir/all] Error 2
      

      Source repo contains bbost source - boost-1.73.0.tar.gz https://github.com/mariadb-corporation/MaxScale/tree/2.5/server/modules/routing/pinloki

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            tturenko Timofey Turenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration