Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Duplicate
-
10.5.3, 10.5
-
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
- is duplicated by
-
MDEV-22621 Cmake issues with CXX_FLAGS
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
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). |
When compiling MariaDB 10.5.3 from source, it fails on missing {{stddef.h}}
{code:noformat} --- 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> ^~~~~~~~~~ {code} 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). |
Description |
When compiling MariaDB 10.5.3 from source, it fails on missing {{stddef.h}}
{code:noformat} --- 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> ^~~~~~~~~~ {code} 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). |
When compiling MariaDB 10.5.3 from source, it fails on missing {{stddef.h}}
{code:noformat} --- 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> ^~~~~~~~~~ {code} 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). |
Fix Version/s | 10.5 [ 23123 ] | |
Assignee | Sergei Golubchik [ serg ] |
Priority | Major [ 3 ] | Blocker [ 1 ] |
Link |
This issue is duplicated by |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 108871 ] | MariaDB v4 [ 157802 ] |
This is a duplicate of
MDEV-22621.`stddef.h` is located in `/usr/include`, so again we have an issue where this is missing from `CFLAGS`.