[MacPorts] #72124: emacs fails to build

MacPorts noreply at macports.org
Fri Feb 28 22:38:29 UTC 2025


#72124: emacs fails to build
----------------------+-------------------------------
 Reporter:  jwhowse4  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.10.5
 Keywords:            |       Port:  emacs   emacs-app
----------------------+-------------------------------
 I have an M4 ARM based Mac running Sequoia 15.3.1.  The build for the port
 emacs @30.1_1 fails.  The first set of apparent errors in the build log
 are as follows.

 {{{
 :info:build /usr/bin/clang -c -I/opt/macports/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -MMD -MF
 deps/lstat.d -MP -Wno-pointer-sign -Wno-string-plus-int -Wno-unknown-
 attributes -Wno-unknown-pragmas -Wno-initializer-overrides -Wno-
 tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-
 deprecated-declarations   -pipe -Os -Wno-attributes
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -I. -I../src -I. -I../src   -DGL_COMPILE_CRYPTO_STREAM -o lstat.o lstat.c
 :info:build malloc/dynarray_emplace_enlarge.c:30:41: warning: declaration
 of 'struct dynarray_header' will not be visible outside of this function
 [-Wvisibility]
 :info:build    30 | __libc_dynarray_emplace_enlarge (struct
 dynarray_header *list,
 :info:build       |                                         ^
 :info:build malloc/dynarray_emplace_enlarge.c:34:11: error: incomplete
 definition of type 'struct dynarray_header'
 :info:build    34 |   if (list->allocated == 0)
 :info:build       |       ~~~~^
 :info:build malloc/dynarray_emplace_enlarge.c:30:41: note: forward
 declaration of 'struct dynarray_header'
 :info:build    30 | __libc_dynarray_emplace_enlarge (struct
 dynarray_header *list,
 :info:build       |                                         ^
 }}}

 I have attached the complete build log.  Any idea what is going wrong
 here?

 I get the same error when trying to build the port emacs-app.

-- 
Ticket URL: <https://trac.macports.org/ticket/72124>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list