From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.bugs Subject: bug#3883: Interleaved builds in separate trees create different versions Date: Sun, 19 Jul 2009 13:02:33 -0700 Message-ID: <87r5wc30h2.fsf@raven.defaultvalue.org> Reply-To: Rob Browning , 3883@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248034671 2356 80.91.229.12 (19 Jul 2009 20:17:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 20:17:51 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 19 22:17:44 2009 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.50) id 1MScpK-0006WS-F8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jul 2009 22:17:43 +0200 Original-Received: from localhost ([127.0.0.1]:54801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MScpJ-0003D8-O6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jul 2009 16:17:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MScpE-0003CA-J3 for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:17:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MScp9-0003At-PZ for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:17:35 -0400 Original-Received: from [199.232.76.173] (port=49630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MScp9-0003Ak-Ha for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:17:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36113) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MScp9-00024i-4T for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:17:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6JKHTsm030784; Sun, 19 Jul 2009 13:17:29 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6JKA5wu029383; Sun, 19 Jul 2009 13:10:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Rob Browning Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 19 Jul 2009 20:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3883 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124803376427720 (code B ref -1); Sun, 19 Jul 2009 20:10:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 19 Jul 2009 20:02:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6JK2d24027714 for ; Sun, 19 Jul 2009 13:02:41 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MScal-0002db-CY for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:02:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MScaj-0002bC-Pu for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:02:39 -0400 Original-Received: from [199.232.76.173] (port=37274 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MScaj-0002ay-Mz for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:02:37 -0400 Original-Received: from li12-156.members.linode.com ([70.85.129.156]:49243 helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MScaj-0006Up-0Y for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2009 16:02:37 -0400 Original-Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 6E4C390DA7 for ; Sun, 19 Jul 2009 13:02:34 -0700 (PDT) Original-Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 27C6C50300 for ; Sun, 19 Jul 2009 13:02:34 -0700 (PDT) Original-Received: by raven.defaultvalue.org (Postfix, from userid 1000) id EDE8F7BA941; Sun, 19 Jul 2009 13:02:33 -0700 (PDT) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 19 Jul 2009 16:17:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:29517 Archived-At: 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. This doesn't happen if you don't have separate "make" and "make install" steps. I don't know if this behavior is intentional, but in case it's not, I thought I'd report it. You can trivially reproduce the situation with this script (using the 23.0.96 archive), and note that the same thing still happens if you omit the differing configure arguments: #!/bin/bash set -e set -x tar xf emacs-23.0.96.tar.gz mkdir -p build/1 mkdir -p build/2 (cd build/1 && ../../emacs-23.0.96/configure --with-x=yes) (cd build/2 && ../../emacs-23.0.96/configure --with-x=no) (cd build/1 && make) (cd build/2 && make) mkdir -p install/1 mkdir -p install/2 inst_1="$(pwd)/install/1" inst_2="$(pwd)/install/2" (cd build/1 && make DESTDIR="${inst_1}") (cd build/2 && make DESTDIR="${inst_2}") find -name "emacs-23.*" find -name "DOC*" -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4