Opened 16 months ago

Last modified 7 months ago

#66629 assigned defect

Failed to build emacs-28.2_1 and emacs-app-28.2_1 for MacOS13.1/arm64

Reported by: m214017 Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: m214017, catap (Kirill A. Korinsky), cooljeanius (Eric Gallager)
Port: emacs

Description

'sudo port install emacs' and 'sudo port install emacs-app' fails on my Mac (MacBook Pro 14-inch, MacOS Ventura 13.1). Here the lines from the terminal, for emacs:

...
--->  Configuring emacs
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  re_search: found in emacs-28.2/config.log
  re_compile_pattern: found in emacs-28.2/config.log
  re_set_syntax: found in emacs-28.2/config.log
  MIN: found in emacs-28.2/config.log
  malloc: found in emacs-28.2/config.log
  __fpending: found in emacs-28.2/config.log
--->  Building emacs
Error: Failed to build emacs: command execution failed   
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs/main.log for details.

The "main.log" files are attached.

I would be very grateful if this can be fixed soon!

Attachments (2)

emacs_main.log (226.1 KB) - added by m214017 16 months ago.
main.log files for emacs
emacs-app_main.log (296.3 KB) - added by m214017 16 months ago.
main.log files for emacs-app

Download all attachments as: .zip

Change History (6)

Changed 16 months ago by m214017

Attachment: emacs_main.log added

main.log files for emacs

Changed 16 months ago by m214017

Attachment: emacs-app_main.log added

main.log files for emacs-app

comment:1 Changed 16 months ago by jmroot (Joshua Root)

Cc: catap added
Owner: changed from dports@… to drkp

comment:2 Changed 7 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

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

The first errors in the logs are:

:info:build malloc/dynarray_emplace_enlarge.c:34:11: error: incomplete definition of type 'struct dynarray_header'
:info:build   if (list->allocated == 0)
:info:build       ~~~~^
:info:build malloc/dynarray_finalize.c:32:7: error: implicit declaration of function '__dynarray_error' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build   if (__dynarray_error (list))
:info:build       ^

Does the problem still happen with emacs 29.1 which is in MacPorts now?

comment:4 Changed 7 months ago by m214017

With emacs 29.1 this problem no longer happened to me. Thanks for taking care!

Note: See TracTickets for help on using tickets.