Hi,

This is the first bulk with base libexecinfo.

> https://bin.charlenew.xyz/emacs_bulk_failure.log

The last port commit brought libexecinfo support to emacs, and leads to
segfault during the build on macppc. I attach the backtrace of a simple
'temacs' invocation, showing that it may not be emacs' fault.

I can't fix the libexecinfo issue.

But the build works fine with the below diff [0] [1] [2]. It reverts
the latest commit on macppc, while leaving the other arches as it
is currently. As such no REVISION bump is needed.

Comments/feedback are welcome,

Charlène.

[0] https://bin.charlenew.xyz/emacs.log
[1] https://bin.charlenew.xyz/emacs.gtk2.log
[2] https://bin.charlenew.xyz/emacs.no_x11.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/emacs/Makefile,v
retrieving revision 1.99
diff -u -p -u -p -r1.99 Makefile
--- Makefile    12 Jun 2021 23:17:50 -0000      1.99
+++ Makefile    12 Jul 2021 18:59:58 -0000
@@ -15,7 +15,7 @@ MAINTAINER=           Jeremie Courreges-Anglas <j
 # GPLv3+
 PERMIT_PACKAGE=                Yes
 
-WANTLIB =              c curses execinfo jansson gmp gnutls m pthread xml2 z
+WANTLIB =              c curses jansson gmp gnutls m pthread xml2 z
 
 MASTER_SITES=          ${MASTER_SITE_GNU:=emacs/}
 EXTRACT_SUFX=          .tar.xz
@@ -98,6 +98,13 @@ WANTLIB += xcb
 . else
 ERRORS+=               "Fatal: Conflicting flavor: ${FLAVOR}"
 . endif
+.endif
+
+# lisp code breaks the build with libexecinfo support
+.if ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ENV +=       ac_cv_header_execinfo_h=no
+.else
+WANTLIB +=             execinfo
 .endif
 
 post-install:

Attachment: temacs_backtrace_backtrace.log
Description: Binary data

Reply via email to