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

[PATCH] compilation fails with 10.1.6

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.1.6
    • 10.1.9
    • Compiling
    • OSX 10.10.4
      gcc (GCC) 4.9.0 20140309
    • 10.1.9-1

    Description

      I have attempted to install MariaDB 10.1.6, using this command (which worked for previous releases):

      cmake . -DBUILD_CONFIG=mysql_release

      But after a while I get this error

      [ 67%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/command.c.o
      [ 67%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ctx.c.o
      [ 67%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ctx_impl_mrb.c.o
      [ 67%] Building CXX object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/dat.cpp.o
      /Users/dummy/install/build/mariadb-10.1.6/storage/mroonga/vendor/groonga/lib/dat.cpp:191:3: error: cannot use 'try' with exceptions disabled
        try {
        ^
      /Users/dummy/install/build/mariadb-10.1.6/storage/mroonga/vendor/groonga/lib/dat.cpp:222:3: error: cannot use 'try' with exceptions disabled
        try {
        ^
      /Users/dummy/install/build/mariadb-10.1.6/storage/mroonga/vendor/groonga/lib/dat.cpp:423:3: error: cannot use 'try' with exceptions disabled
        try {
        ^

      Attachments

        Activity

          Dan Dan added a comment -

          Not sure, if this fully applies to this, problem. But it seems related. Here is a fix (patch at the end of the pull request) for building mroonga with clang(++).

          https://github.com/Homebrew/homebrew/pull/42233

          Dan Dan added a comment - Not sure, if this fully applies to this, problem. But it seems related. Here is a fix (patch at the end of the pull request) for building mroonga with clang(++). https://github.com/Homebrew/homebrew/pull/42233

          @Dan,
          your patch solved my problem.
          Thanks

          datacharmer Giuseppe Maxia added a comment - @Dan, your patch solved my problem. Thanks
          danblack Daniel Black added a comment -

          Dan thanks - did PR for mariadb https://github.com/MariaDB/server/pull/89

          danblack Daniel Black added a comment - Dan thanks - did PR for mariadb https://github.com/MariaDB/server/pull/89

          serg, I can see you fixed this in 10.0 a while ago, but not in 10.1 for some reason. Github revision: https://github.com/MariaDB/server/commit/66fd45afce1ba5e1032c32cc891c09d64fa38d9e

          What should we do with this bug?

          svoj Sergey Vojtovich added a comment - serg , I can see you fixed this in 10.0 a while ago, but not in 10.1 for some reason. Github revision: https://github.com/MariaDB/server/commit/66fd45afce1ba5e1032c32cc891c09d64fa38d9e What should we do with this bug?
          serg Sergei Golubchik added a comment - - edited

          Perhaps it was removed by Mroonga developers when merging 10.1-Mroonga? I think we can add it back.

          serg Sergei Golubchik added a comment - - edited Perhaps it was removed by Mroonga developers when merging 10.1-Mroonga? I think we can add it back.

          People

            serg Sergei Golubchik
            datacharmer Giuseppe Maxia
            Votes:
            0 Vote for this issue
            Watchers:
            6 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.