From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16008@debbugs.gnu.org, cedet-devel@lists.sourceforge.net
Subject: bug#16008: semantic/grammar-wy.el cannot be bootstrapped
Date: Sun, 04 Apr 2021 20:49:39 -0400 [thread overview]
Message-ID: <vwzgyd4kt8.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvzgydprsk.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 04 Apr 2021 19:24:29 -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.
next prev parent reply other threads:[~2021-04-05 0:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-30 2:07 bug#16008: semantic/grammar-wy.el cannot be bootstrapped Glenn Morris
2013-11-30 2:22 ` Glenn Morris
2013-11-30 10:00 ` David Engster
[not found] ` <8738me5hv4.fsf@engster.org>
2021-04-04 23:24 ` Stefan Monnier
2021-04-05 0:49 ` Glenn Morris [this message]
2021-04-05 12:43 ` Eli Zaretskii
2021-04-19 15:51 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vwzgyd4kt8.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=16008@debbugs.gnu.org \
--cc=cedet-devel@lists.sourceforge.net \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.