Subject: Re: bug#71712: 29.3; Crash on OpenBSD

From: Kirill A. Korinsky <[email-masked]>
Date: Mon, 01 Jul 2024 14:29:23 +0100

On Mon, 01 Jul 2024 12:18:09 +0100,
Eli Zaretskii <[email-masked]> wrote:
> 
> The URL in [4] is identical to [3], so did you make some copy/paste
> mistake?  That URL doesn't suggest to rebuild Emacs.  I'd be
> interested to know how you rebuilt it to make the crashes go away.
> 
> In any case, does this mean the problem is solved, and this bug can be
> closed now?
> 

Sorry, yes, it is copy/paste mistake.

I had rebuild it via ports by hacking emacs port as:

diff --git editors/emacs/Makefile editors/emacs/Makefile
index 7c58942338b..4014d0b555f 100644
--- editors/emacs/Makefile
+++ editors/emacs/Makefile
@@ -4,6 +4,7 @@ COMMENT=		GNU editor: extensible, customizable, self-documenting
 # Zap post-extract when updating
 VERSION=		29.4
 DISTNAME=		emacs-${VERSION}
+REVISION=		0
 
 CATEGORIES=		editors
 
@@ -20,6 +21,11 @@ WANTLIB += tree-sitter xml2 z
 SITES=			${SITE_GNU:=emacs/}
 EXTRACT_SUFX=		.tar.xz
 
+# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71712#8
+CFLAGS =		-O0 -g3
+CONFIGURE_ARGS+=	--enable-checking='yes,glyphs' \
+			--enable-check-lisp-object-type
+
 DEBUG_PACKAGES =	${BUILD_PACKAGES}
 
 FLAVORS=		athena gtk2 gtk3 no_x11

and run make upgrade to upgrade this port

-- 
wbr, Kirill