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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 10.5, 10.5.3
    • Fix Version/s: N/A
    • Component/s: Compiling
    • Labels:
      None
    • Environment:
      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

              Assignee:
              serg Sergei Golubchik
              Reporter:
              spil Bernard Spil
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: