From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#3883: Interleaved builds in separate trees create different versions Date: Wed, 06 Apr 2011 18:02:30 -0400 Message-ID: References: <87r5wc30h2.fsf@raven.defaultvalue.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302127650 30604 80.91.229.12 (6 Apr 2011 22:07:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 22:07:30 +0000 (UTC) Cc: 3883@debbugs.gnu.org To: Rob Browning Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 07 00:07:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7asl-0005tc-LV for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Apr 2011 00:07:23 +0200 Original-Received: from localhost ([127.0.0.1]:46801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7asl-0001Ue-1F for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Apr 2011 18:07:23 -0400 Original-Received: from [140.186.70.92] (port=41723 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7asf-0001UY-UI for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 18:07:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7ase-0004XT-Vy for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 18:07:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7ase-0004XP-UM for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2011 18:07:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q7aoX-0005MG-NG; Wed, 06 Apr 2011 18:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Apr 2011 22:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3883 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 3883-submit@debbugs.gnu.org id=B3883.130212735820561 (code B ref 3883); Wed, 06 Apr 2011 22:03:01 +0000 Original-Received: (at 3883) by debbugs.gnu.org; 6 Apr 2011 22:02:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7aoA-0005La-7a for submit@debbugs.gnu.org; Wed, 06 Apr 2011 18:02:38 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7ao7-0005LM-VU for 3883@debbugs.gnu.org; Wed, 06 Apr 2011 18:02:36 -0400 Original-Received: from localhost ([127.0.0.1]:51509) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7ao2-0005B9-S0; Wed, 06 Apr 2011 18:02:30 -0400 X-Spook: Cohiba infowar PGP embassy SP4 STARLAN terrorism INS X-Ran: M(+,Z8Me_QCYvvnt{0;LJZghM%E-.9B:,Ee=U)8e-VIneT7G9h^0|R*y$h4&`#J;6b+)+= X-Hue: yellow X-Attribution: GM In-Reply-To: <87r5wc30h2.fsf@raven.defaultvalue.org> (Rob Browning's message of "Sun, 19 Jul 2009 13:02:33 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Apr 2011 18:03:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45669 Archived-At: (A very delayed reply) Rob Browning wrote: > If you try to build two trees from the same source directory at the > same time, alternating the respective SRCDIR/configure, make, and make > install operations, the first tree will end up with a ".2" version while > the second tree will end up with a ".1" version. I think this happens because the second make recompiles the .el files, and the output .elc files are written into the lisp/ directory in the source-tree, not the build directory. Then the first build thinks it need to redump Emacs, because the .elc files have newer timestamps. Neither make should need to compile the .el files at all, but this is tricky, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2151 . Arguably, the compiled .elc files should be written into the build tree's lisp/ directory, not the source lisp/ directory. But, they are supposed to be platform independent, so maybe the current set-up is designed to let them be shared between all builds. But, they get recompiled anyway, so that doesn't actually work...