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

Errors when building Connect engine on os x 11.6.2

    XMLWordPrintable

Details

    Description

      when building MariaDB 10.8 on OS X 11.6.2:

      /Users/alice/git/10.8/storage/connect/tabrest.cpp:116:8: error: 'vfork' is deprecated: Use posix_spawn or fork [-Werror,-Wdeprecated-declarations]
          pID = vfork();
             ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
      __deprecated_msg("Use posix_spawn or fork")
      ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
          #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                 ^
      1 error generated.
      make[2]: *** [storage/connect/CMakeFiles/connect.dir/tabrest.cpp.o] Error 1
      make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

      Attachments

        Activity

          People

            shulga Dmitry Shulga
            alice Alice Sherepa
            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.