GNU bug report logs - #6858
23.2; race condition in parallel building might lead to byte-compilation failure

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Sat, 14 Aug 2010 20:59:01 UTC

Severity: normal

Merged with 4196

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6858 in the body.
You can then email your comments to 6858 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, svenjoac <at> gmx.de, bug-gnu-emacs <at> gnu.org:
bug#6858; Package emacs. (Sat, 14 Aug 2010 20:59:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
New bug report received and forwarded. Copy sent to svenjoac <at> gmx.de, bug-gnu-emacs <at> gnu.org. (Sat, 14 Aug 2010 20:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2;
	race condition in parallel building might lead to byte-compilation
	failure
Date: Sat, 14 Aug 2010 22:58:46 +0200
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
`----





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6858; Package emacs. (Sat, 14 Aug 2010 21:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 6858 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6858 <at> debbugs.gnu.org
Subject: Re: bug#6858: 23.2;
	race condition in parallel building might lead to byte-compilation
	failure
Date: Sat, 14 Aug 2010 17:35:01 -0400
merge 4196 6858
stop

This is a duplicate of

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




Merged 4196 6858. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 14 Aug 2010 21:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 Oct 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 258 days ago.

Previous Next


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