GNU bug report logs - #66721
29.1; make sanity-check fails

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Tue, 24 Oct 2023 06:26:02 UTC

Severity: normal

Found in version 29.1

Fixed in version 30.1

Done: Ulrich Mueller <ulm <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ulrich Mueller <ulm <at> gentoo.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.1; make sanity-check fails
Date: Tue, 24 Oct 2023 08:24:13 +0200
Forwarding downstream bug https://bugs.gentoo.org/916180:

Building Emacs aborts with:
"make all" succeeded, but Emacs is not functional.

Adding the --quick option fixes it (and may indicate that the user's
installed packages must be updated for Emacs 29). In either case, local
add-ons and configuration shouldn't break the build of Emacs itself.

I propose the trivial patch below, preferably for the emacs-29 branch.


From 7d7cffda86cf85e8f8dd5635ac03671787f553da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm <at> gentoo.org>
Date: Tue, 24 Oct 2023 07:53:17 +0200
Subject: [PATCH] * Makefile.in (sanity-check): Add --quick option.

---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 0ab34c8be6a..49c57db1cd3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -417,7 +417,7 @@ advice-on-failure:
 
 sanity-check:
 	@[ -f .no-advice-on-failure ] && exit 0; true
-	@v=$$(src/emacs${EXEEXT} --batch --eval \
+	@v=$$(src/emacs${EXEEXT} --batch --quick --eval \
 	  '(progn (defun f (n) (if (= 0 n) 1 (* n (f (- n 1))))) (princ (f 10)))' \
 	  2> /dev/null); \
 	[ "X$$v" = "X3628800" ] && exit 0; \
-- 
2.42.0





This bug report was last modified 1 year and 214 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.