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

Build failure on MacOS on compiling the file btr/btr0btr.cc

Details

    Description

      Attempt to build MariaDB server on mac OS leads to compilation error:

      [ 57%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.cc.o
      In file included from /Users/shulga/projects/mariadb/server-10.5/storage/innobase/btr/btr0btr.cc:41:
      In file included from /Users/shulga/projects/mariadb/server-10.5/storage/innobase/include/trx0trx.h:34:
      In file included from /Users/shulga/projects/mariadb/server-10.5/storage/innobase/include/trx0xa.h:27:
      In file included from /Users/shulga/projects/mariadb/server-10.5/sql/handler.h:34:
      /Users/shulga/projects/mariadb/server-10.5/sql/structs.h:877:14: error: implicit conversion loses integer
            precision: 'ulong' (aka 'unsigned long') to '__darwin_suseconds_t' (aka 'int')
            [-Werror,-Wshorten-64-to-32]
          tv_usec= usec;
                 ~ ^~~~
      1 error generated.
      

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Dmitry Shulga made transition -
          Open In Progress
          7h 49m 1
          Dmitry Shulga made transition -
          In Progress In Review
          15h 6m 1
          Sergei Golubchik made transition -
          In Review Stalled
          5d 5h 15m 2
          Dmitry Shulga made transition -
          Stalled In Review
          7d 1h 52m 2
          Marko Mäkelä made transition -
          In Review Closed
          4h 46m 1

          People

            shulga Dmitry Shulga
            shulga Dmitry Shulga
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.