GNU bug report logs -
#4196
Parallel bytecomp may sometimes fail
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Thu, 20 Aug 2009 20:34:32 UTC
Severity: normal
Merged with 6858
Found in version 23.2
Fixed in version 24.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
[Message part 1 (text/plain, inline)]
Your bug report
#4196: 23.2; race condition in parallel building might lead to byte-compilation failure
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 6858 <at> debbugs.gnu.org.
--
4196: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4196
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Version: 24.1
Hopefully fixed by this change:
2010-09-11 Glenn Morris <rgm at gnu.org>
* emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
atomically, to avoid parallel build errors.
[Message part 3 (message/rfc822, inline)]
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
`----
This bug report was last modified 14 years and 306 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.