GNU bug report logs - #16008
semantic/grammar-wy.el cannot be bootstrapped

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 30 Nov 2013 02:08:02 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 28.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16008 <at> debbugs.gnu.org, cedet-devel <at> lists.sourceforge.net
Subject: bug#16008: semantic/grammar-wy.el cannot be bootstrapped
Date: Sun, 04 Apr 2021 20:49:39 -0400
Stefan Monnier wrote:

> In the mean time I suggest the patch below which I recently sent to
> emacs-devel.

Instead of a -boot version, how about regenerating it but not deleting it:

--- a/admin/grammars/Makefile.in
+++ b/admin/grammars/Makefile.in
@@ -51,16 +51,19 @@ BOVINE = \
 	${bovinedir}/make-by.el \
 	${bovinedir}/scm-by.el
 
-## FIXME Should include this one too:
-##	${cedetdir}/semantic/grammar-wy.el
-## but semantic/grammar.el (which is what we use to generate grammar-wy.el)
-## requires it!  https://debbugs.gnu.org/16008
-WISENT = \
+WISENT1 = \
 	${wisentdir}/javat-wy.el \
 	${wisentdir}/js-wy.el \
 	${wisentdir}/python-wy.el \
 	${cedetdir}/srecode/srt-wy.el
 
+DELETE = ${BOVINE} ${WISENT1}
+
+## The last one is special: semantic/grammar.el (which is what generates it)
+## requires it.  https://debbugs.gnu.org/16008
+## So we generate it, but never delete it.
+WISENT = ${WISENT1} ${cedetdir}/semantic/grammar-wy.el
+
 ALL = ${BOVINE} ${WISENT}
 
 .PHONY: all bovine wisent
@@ -107,7 +110,7 @@ distclean:
 bootstrap-clean:
 
 gen-clean:
-	rm -f ${ALL}
+	rm -f ${DELETE}
 
 maintainer-clean: gen-clean distclean
 

> Glenn, could you arrange to "auto""-update `grm-wy-boot.el` like you do
> for `ldefs-boot.el`?

It's admin/update_autogen.




This bug report was last modified 4 years and 117 days ago.

Previous Next


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