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

Build failure on FreeBSD 12.1 / clang 8.0.1 / cmake 3.17.2

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 10.5.3, 10.5
    • N/A
    • Compiling
    • None
    • FreeBSD 12.1-p4 amd64
      clang 8.0.1
      cmake 3.17.2

    Description

      When compiling MariaDB 10.5.3 from source, it fails on missing stddef.h

      --- storage/perfschema/CMakeFiles/perfschema.dir/all ---
      In file included from /usr/ports/databases/mariadb105-server/work/mariadb-10.5.3/include/my_global.h:1125:
      In file included from /usr/include/c++/v1/new:85:
      In file included from /usr/include/c++/v1/exception:81:
      /usr/include/c++/v1/cstddef:45:15: fatal error: 'stddef.h' file not found
      #include_next <stddef.h>
                    ^~~~~~~~~~                              
      

      The configure log shows that cmake detects stddef.h.
      Digging into this, I can't find any stddef.h (neither in `/usr/include` nor in the build dir).

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              spil Bernard Spil
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.