unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6858: 23.2; race condition in parallel building might lead to byte-compilation failure
@ 2010-08-14 20:58 Sven Joachim
  2010-08-14 21:35 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Joachim @ 2010-08-14 20:58 UTC (permalink / raw)
  To: 6858; +Cc: Sven Joachim

In bootstrapping, consider the situation where bar.el does
(require 'foo).  It usually does not matter whether bar.el or foo.el are
compiled first, but if they are built in parallel there is a window
where foo.elc is half written, and then byte-compiling bar.el will fail
(or worse, be misbuilt).

If that sounds unlikely because write-region is usually fast: it just
happened for the emacs23 Debian package on amd64 (with "make -j 4"), see
https://buildd.debian.org/fetch.cgi?pkg=emacs23&arch=amd64&ver=23.2%2B1-3&stamp=1281813034&file=log.
The relevant excerpt follows:

,----
| In gnus-summary-limit-to-bodies:
| gnus-sum.el:8359:57:Warning: `save-excursion' defeated by `set-buffer'
| Wrote /build/buildd-emacs23_23.2+1-3-amd64-ofeZOD/emacs23-23.2+1/debian/build-nox/lisp/gnus/gnus-win.elc
| Compiling /build/buildd-emacs23_23.2+1-3-amd64-ofeZOD/emacs23-23.2+1/debian/build-nox/lisp/gnus/gnus.el
| 
| In toplevel form:
| gnus/gnus-vm.el:36:1:Error: Required feature `gnus-sum' was not provided
| make[3]: *** [/build/buildd-emacs23_23.2+1-3-amd64-ofeZOD/emacs23-23.2+1/debian/build-nox/lisp/gnus/gnus-vm.elc] Error 1
| make[3]: *** Waiting for unfinished jobs....
| Wrote /build/buildd-emacs23_23.2+1-3-amd64-ofeZOD/emacs23-23.2+1/debian/build-nox/lisp/gnus/gnus-sum.elc
`----






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

* bug#6858: 23.2; race condition in parallel building might lead to byte-compilation failure
  2010-08-14 20:58 bug#6858: 23.2; race condition in parallel building might lead to byte-compilation failure Sven Joachim
@ 2010-08-14 21:35 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-08-14 21:35 UTC (permalink / raw)
  To: 6858

merge 4196 6858
stop

This is a duplicate of

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4196





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

end of thread, other threads:[~2010-08-14 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-14 20:58 bug#6858: 23.2; race condition in parallel building might lead to byte-compilation failure Sven Joachim
2010-08-14 21:35 ` Glenn Morris

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).