unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Sporadic build warning
@ 2020-12-14 13:11 Gregory Heytings via Emacs development discussions.
  2020-12-14 14:31 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Gregory Heytings via Emacs development discussions. @ 2020-12-14 13:11 UTC (permalink / raw)
  To: emacs-devel


While improving Lars' "emake" script, I realized that building Emacs from 
a clean copy of master produces a sporadic warning.  The warning is 
"Grammar in python.el contains 4 shift/reduce conflicts", and it is 
produced while compiling cedet/semantic/wisent/python.el.  But it is, 
curiously, not always produced: I just did a "make -j 4" ten times, and it 
was produced eight times.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sporadic build warning
  2020-12-14 13:11 Sporadic build warning Gregory Heytings via Emacs development discussions.
@ 2020-12-14 14:31 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-14 14:31 UTC (permalink / raw)
  To: Gregory Heytings via Emacs development discussions.; +Cc: Gregory Heytings

Gregory Heytings via "Emacs development discussions."
<emacs-devel@gnu.org> writes:

> While improving Lars' "emake" script, I realized that building Emacs
> from a clean copy of master produces a sporadic warning.  The warning
> is "Grammar in python.el contains 4 shift/reduce conflicts", and it is
> produced while compiling cedet/semantic/wisent/python.el.  But it is,
> curiously, not always produced: I just did a "make -j 4" ten times,
> and it was produced eight times.

Yes, there is code to inhibit that warning (when it's the expected
number of shift/reduce conflicts), but there's some ordering subtlety
that I've never taken the time to figure out.  That is, when saying
"make -jX", files are sometimes compiled in an order that makes the
warning appear, and sometimes not.

If somebody could figure out what's making this unstable, that'd be
appreciated.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-14 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 13:11 Sporadic build warning Gregory Heytings via Emacs development discussions.
2020-12-14 14:31 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).