Opened 4 years ago

Last modified 13 months ago

#62804 assigned defect

emacs-devel @20210430: error: "Please include config.h first."

Reported by: pagecp (Christian) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: cooljeanius (Eric Gallager), catap (Kirill A. Korinsky)
Port: emacs-devel

Description

macOS 11.3 and XCode 12.5

Trying to build always lead to the following error:

/usr/bin/clang -c -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk   -MMD -MF deps/gettime.d -MP -Wno-switch -Wno-pointer-sign -Wno-string-plus-int -Wno-unknown-attributes -Wno-initializer-overrides -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare   -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -arch x86_64 -I. -I../src -I. -I./../src  -o gettime.o gettime.c
In file included from malloc/dynarray_at_failure.c:19:
In file included from /opt/local/include/dynarray.h:30:
In file included from /opt/local/include/hdf.h:20:
In file included from /opt/local/include/hdfi.h:87:
In file included from ./stdlib.h:100:
./unistd.h:663:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^
In file included from malloc/dynarray_emplace_enlarge.c:19:
In file included from /opt/local/include/dynarray.h:30:
In file included from /opt/local/include/hdf.h:20:
In file included from /opt/local/include/hdfi.h:87:
In file included from ./stdlib.h:100:
./unistd.h:663:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^
./unistd.h:665:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
_GL_INLINE_HEADER_BEGIN
^
./unistd.h:665:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
_GL_INLINE_HEADER_BEGIN
^
In file included from malloc/dynarray_finalize.c:19:
In file included from /opt/local/include/dynarray.h:30:
In file included from /opt/local/include/hdf.h:20:
In file included from /opt/local/include/hdfi.h:87:
In file included from ./stdlib.h:100:
./unistd.h:663:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^
./unistd.h:2806:1: error: unknown type name '_GL_INLINE_HEADER_END'
_GL_INLINE_HEADER_END
^
./unistd.h:665:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
_GL_INLINE_HEADER_BEGIN
^
./unistd.h:2806:1: error: unknown type name '_GL_INLINE_HEADER_END'
_GL_INLINE_HEADER_END
^
./unistd.h:2806:1: error: unknown type name '_GL_INLINE_HEADER_END'
_GL_INLINE_HEADER_END
^
malloc/dynarray_at_failure.c:35:45: error: expected function body after function declarator
libc_hidden_def (__libc_dynarray_at_failure)
                                            ^
4 errors generated.
make[1]: *** [malloc/dynarray_at_failure.o] Error 1
make[1]: *** Waiting for unfinished jobs....
malloc/dynarray_emplace_enlarge.c:25:1: error: unknown type name 'bool'
bool
^
malloc/dynarray_emplace_enlarge.c:26:41: warning: declaration of 'struct dynarray_header' will not be visible outside of this function [-Wvisibility]
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:30:11: error: incomplete definition of type 'struct dynarray_header'
  if (list->allocated == 0)
      ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:45:27: error: incomplete definition of type 'struct dynarray_header'
      new_allocated = list->allocated + list->allocated / 2 + 1;
                      ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:45:45: error: incomplete definition of type 'struct dynarray_header'
      new_allocated = list->allocated + list->allocated / 2 + 1;
                                        ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:46:32: error: incomplete definition of type 'struct dynarray_header'
      if (new_allocated <= list->allocated)
                           ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:49:11: error: implicit declaration of function '__set_errno' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          __set_errno (ENOMEM);
          ^
In file included from malloc/dynarray_resize.c:19:
In file included from /opt/local/include/dynarray.h:30:
In file included from /opt/local/include/hdf.h:20:
In file included from /opt/local/include/hdfi.h:87:
In file included from ./stdlib.h:100:
./unistd.h:663:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^
In file included from malloc/dynarray_resize_clear.c:19:
In file included from /opt/local/include/dynarray.h:30:
In file included from /opt/local/include/hdf.h:20:
In file included from /opt/local/include/hdfi.h:87:
In file included from ./stdlib.h:100:
./unistd.h:663:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^
malloc/dynarray_emplace_enlarge.c:50:18: error: use of undeclared identifier 'false'
          return false;
                 ^
malloc/dynarray_finalize.c:23:1: error: unknown type name 'bool'
bool
^
malloc/dynarray_finalize.c:24:34: warning: declaration of 'struct dynarray_header' will not be visible outside of this function [-Wvisibility]
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:26:34: warning: declaration of 'struct dynarray_finalize_result' will not be visible outside of this function [-Wvisibility]
                          struct dynarray_finalize_result *result)
                                 ^
malloc/dynarray_finalize.c:28:7: error: implicit declaration of function '__dynarray_error' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  if (__dynarray_error (list))
      ^
./unistd.h:665:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
./unistd.h:665:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
_GL_INLINE_HEADER_BEGIN
^
_GL_INLINE_HEADER_BEGIN
^
malloc/dynarray_finalize.c:30:12: error: use of undeclared identifier 'false'
    return false;
           ^
malloc/dynarray_finalize.c:32:21: error: incomplete definition of type 'struct dynarray_header'
  size_t used = list->used;
                ~~~~^
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:39:15: error: incomplete definition of type 'struct dynarray_header'
      if (list->array != scratch)
          ~~~~^
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:40:19: error: incomplete definition of type 'struct dynarray_header'
        free (list->array);
              ~~~~^
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:41:17: error: variable has incomplete type 'struct dynarray_finalize_result'
      *result = (struct dynarray_finalize_result) { NULL, 0 };
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
malloc/dynarray_finalize.c:26:34: note: forward declaration of 'struct dynarray_finalize_result'
                          struct dynarray_finalize_result *result)
                                 ^
malloc/dynarray_finalize.c:42:14: error: use of undeclared identifier 'true'
      return true;
             ^
malloc/dynarray_finalize.c:50:15: error: incomplete definition of type 'struct dynarray_header'
      if (list->array != NULL)
          ~~~~^
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:51:33: error: incomplete definition of type 'struct dynarray_header'
        memcpy (heap_array, list->array, allocation_size);
                            ~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:52:15: error: incomplete definition of type 'struct dynarray_header'
      if (list->array != scratch)
          ~~~~^
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:53:19: error: incomplete definition of type 'struct dynarray_header'
        free (list->array);
              ~~~~^
malloc/dynarray_finalize.c:24:34: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_finalize (struct dynarray_header *list,
                                 ^
malloc/dynarray_finalize.c:54:17: error: variable has incomplete type 'struct dynarray_finalize_result'
      *result = (struct dynarray_finalize_result)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
malloc/dynarray_finalize.c:26:34: note: forward declaration of 'struct dynarray_finalize_result'
                          struct dynarray_finalize_result *result)
                                 ^
malloc/dynarray_finalize.c:56:14: error: use of undeclared identifier 'true'
      return true;
             ^
malloc/dynarray_finalize.c:60:12: error: use of undeclared identifier 'false'
    return false;
           ^
malloc/dynarray_finalize.c:62:43: error: expected function body after function declarator
libc_hidden_def (__libc_dynarray_finalize)
                                          ^
2 warnings and 19 errors generated.
./unistd.h:2806:1: error: unknown type name '_GL_INLINE_HEADER_END'
_GL_INLINE_HEADER_END
^
./unistd.h:2806:1: error: unknown type name '_GL_INLINE_HEADER_END'
_GL_INLINE_HEADER_END
^
make[1]: *** [malloc/dynarray_finalize.o] Error 1
malloc/dynarray_emplace_enlarge.c:56:12: error: use of undeclared identifier 'false'
    return false;
           ^
malloc/dynarray_emplace_enlarge.c:58:11: error: incomplete definition of type 'struct dynarray_header'
  if (list->array == scratch)
      ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:62:36: error: incomplete definition of type 'struct dynarray_header'
      if (new_array != NULL && list->array != NULL)
                               ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:63:32: error: incomplete definition of type 'struct dynarray_header'
        memcpy (new_array, list->array, list->used * element_size);
                           ~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:63:45: error: incomplete definition of type 'struct dynarray_header'
        memcpy (new_array, list->array, list->used * element_size);
                                        ~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:66:30: error: incomplete definition of type 'struct dynarray_header'
    new_array = realloc (list->array, new_size);
                         ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:68:12: error: use of undeclared identifier 'false'
    return false;
           ^
malloc/dynarray_emplace_enlarge.c:69:7: error: incomplete definition of type 'struct dynarray_header'
  list->array = new_array;
  ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
malloc/dynarray_emplace_enlarge.c:70:7: error: incomplete definition of type 'struct dynarray_header'
  list->allocated = new_allocated;
  ~~~~^
malloc/dynarray_emplace_enlarge.c:26:41: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_emplace_enlarge (struct dynarray_header *list,
                                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[1]: *** [malloc/dynarray_emplace_enlarge.o] Error 1
malloc/dynarray_resize_clear.c:22:1: error: unknown type name 'bool'
bool
^
malloc/dynarray_resize_clear.c:23:38: warning: declaration of 'struct dynarray_header' will not be visible outside of this function [-Wvisibility]
__libc_dynarray_resize_clear (struct dynarray_header *list, size_t size,
                                     ^
malloc/dynarray_resize_clear.c:26:25: error: incomplete definition of type 'struct dynarray_header'
  size_t old_size = list->used;
                    ~~~~^
malloc/dynarray_resize_clear.c:23:38: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize_clear (struct dynarray_header *list, size_t size,
                                     ^
malloc/dynarray_resize_clear.c:27:8: error: implicit declaration of function '__libc_dynarray_resize' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  if (!__libc_dynarray_resize (list, size, scratch, element_size))
       ^
malloc/dynarray_resize.c:25:1: error: unknown type name 'bool'
bool
^
malloc/dynarray_resize.c:26:32: warning: declaration of 'struct dynarray_header' will not be visible outside of this function [-Wvisibility]
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:30:19: error: incomplete definition of type 'struct dynarray_header'
  if (size <= list->allocated)
              ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:32:11: error: incomplete definition of type 'struct dynarray_header'
      list->used = size;
      ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:33:14: error: use of undeclared identifier 'true'
      return true;
             ^
malloc/dynarray_resize_clear.c:27:8: note: did you mean '__libc_dynarray_resize_clear'?
malloc/dynarray_resize_clear.c:23:1: note: '__libc_dynarray_resize_clear' declared here
__libc_dynarray_resize_clear (struct dynarray_header *list, size_t size,
^
malloc/dynarray_resize_clear.c:28:12: error: use of undeclared identifier 'false'
    return false;
           ^
malloc/dynarray_resize_clear.c:30:21: error: incomplete definition of type 'struct dynarray_header'
  char *array = list->array;
                ~~~~^
malloc/dynarray_resize_clear.c:23:38: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize_clear (struct dynarray_header *list, size_t size,
                                     ^
malloc/dynarray_resize_clear.c:33:10: error: use of undeclared identifier 'true'
  return true;
         ^
malloc/dynarray_resize_clear.c:35:47: error: expected function body after function declarator
libc_hidden_def (__libc_dynarray_resize_clear)
                                              ^
1 warning and 10 errors generated.
make[1]: *** [malloc/dynarray_resize_clear.o] Error 1
malloc/dynarray_resize.c:44:7: error: implicit declaration of function '__set_errno' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      __set_errno (ENOMEM);
      ^
malloc/dynarray_resize.c:45:14: error: use of undeclared identifier 'false'
      return false;
             ^
malloc/dynarray_resize.c:48:11: error: incomplete definition of type 'struct dynarray_header'
  if (list->array == scratch)
      ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:52:36: error: incomplete definition of type 'struct dynarray_header'
      if (new_array != NULL && list->array != NULL)
                               ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:53:32: error: incomplete definition of type 'struct dynarray_header'
        memcpy (new_array, list->array, list->used * element_size);
                           ~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:53:45: error: incomplete definition of type 'struct dynarray_header'
        memcpy (new_array, list->array, list->used * element_size);
                                        ~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:56:30: error: incomplete definition of type 'struct dynarray_header'
    new_array = realloc (list->array, new_size_bytes);
                         ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:58:12: error: use of undeclared identifier 'false'
    return false;
           ^
malloc/dynarray_resize.c:59:7: error: incomplete definition of type 'struct dynarray_header'
  list->array = new_array;
  ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:60:7: error: incomplete definition of type 'struct dynarray_header'
  list->allocated = size;
  ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:61:7: error: incomplete definition of type 'struct dynarray_header'
  list->used = size;
  ~~~~^
malloc/dynarray_resize.c:26:32: note: forward declaration of 'struct dynarray_header'
__libc_dynarray_resize (struct dynarray_header *list, size_t size,
                               ^
malloc/dynarray_resize.c:62:10: error: use of undeclared identifier 'true'
  return true;
         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[1]: *** [malloc/dynarray_resize.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20210430/lib'
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20210430/doc/lispintro'
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20210430/doc/emacs'
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20210430/doc/lispref'
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20210430'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20210430" && /usr/bin/make -j16 -w all 
Exit code: 2
Error: Failed to build emacs-devel: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-devel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

main.log (1.3 MB) - added by pagecp (Christian) 4 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by pagecp (Christian)

Attachment: main.log added

main.log

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: drkp removed
Keywords: bigsur added
Owner: set to drkp
Status: newassigned
Summary: emacs-devel @20210430: Compile error - build failureemacs-devel @20210430: error: "Please include config.h first."

comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: catap added

Do you still see this issue with the current version? We have successful builds of this port on recent macOS versions on our automated build system.

From your log, it looks like it's trying to use local copies of stdlib.h and unistd.h, which is failing because these expect some config.h to be included first.

stdlib.h and unistd.h are standard system headers which are already provided by Xcode or the command line tools and the standard versions do not require the inclusion of any config.h. Presumably emacs includes these headers for compatibility with ancient systems that don't have them however its configure output shows that it has correctly detected that your system has these headers so I don't know why it is still trying to use its own versions.

Note: See TracTickets for help on using tickets.