From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Svante Signell Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: Need help with upstream vs Debian emacs-23.4 build differences Date: Fri, 29 Jun 2012 01:09:41 +0200 Organization: Hemma Message-ID: <1340924981.32095.176.camel@hp.my.own.domain> Reply-To: svante.signell@telia.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-Lkg1zPHmKWBYDQaGad1v" X-Trace: dough.gmane.org 1340925363 21634 80.91.229.3 (28 Jun 2012 23:16:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2012 23:16:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 29 01:16:02 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SkNwH-00040V-6a for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 01:15:53 +0200 Original-Received: from localhost ([::1]:45992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkNwG-0005Dl-Ov for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jun 2012 19:15:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkNq1-0004jM-UE for help-gnu-emacs@gnu.org; Thu, 28 Jun 2012 19:09:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkNpz-0002iY-MI for help-gnu-emacs@gnu.org; Thu, 28 Jun 2012 19:09:25 -0400 Original-Received: from smtp-out21.han.skanova.net ([195.67.226.208]:49577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkNpz-0002by-BQ; Thu, 28 Jun 2012 19:09:23 -0400 Original-Received: from [192.168.0.6] (78.69.11.59) by smtp-out21.han.skanova.net (8.5.133) (authenticated as u84406617) id 4FD624AF005A2A9B; Fri, 29 Jun 2012 01:09:20 +0200 X-Mailer: Evolution 3.2.2-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.208 X-Mailman-Approved-At: Thu, 28 Jun 2012 19:15:47 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85557 gmane.emacs.devel:151274 Archived-At: --=-Lkg1zPHmKWBYDQaGad1v Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hello help-gnu-emacs, Cc: emacs-devel I hope this is the right forum for my question: When building emacs-23.4 from the tarball everything works fine for GNU/Hurd, with and without the Debian configure options and build flags, see below. (and all *.elc files are built if the provided ones are removed). However, on Debian the whole source tree is copied to debian/build-? where ?=x,nox,lucid. This causes the build to behave differently (and fails for GNU/Hurd). I've traced this down to that for the tarball the following files are modified (*~ versions are created) loaddefs.el, subdirs.el, but they are the same as the distributed ones. For the Debian build-? the following files are modified: loaaddefs.el,subdirs.el, eshell/esh-groups.el, calc/calc-loaddefs.el cedet/ede/loaddefs.el, /cedet/semantic/loaddefs.el, cedet/srecode/loaddefs.el eshell/esh-groups.el, calc/calc-loaddefs.el, subdirs.el are the same as distributed, but loaddefs.el, cedet/ede/loaddefs.el, cedet/semantic/loaddefs.el, cedet/srecode/loaddefs.el are not! What is triggering the differences, and where can they be found, especially the large lisp/loaddefs.el debian/build-?/lisp/loaddefs.el? Is the problem that the build directory differs from the code (it should not, everything is copied with cp -a, timestamps seems to be OK, etc) >From the build logs differences are shown in the attached snippets, emacs-23.4.log_part is from the tarball build and emacs23-23.4.1+1.log_part is from the Debian build. the tarball log does not have this autoload part before saving lisp/loaddefs.el. Please Cc: me, since I'm not subscribed. Thanks in advance. --=-Lkg1zPHmKWBYDQaGad1v Content-Disposition: attachment; filename="emacs-23.4.log_part" Content-Type: text/plain; name="emacs-23.4.log_part"; charset="UTF-8" Content-Transfer-Encoding: 7bit cd ../lisp; make -w autoloads EMACS=../src/bootstrap-emacs make[2]: Entering directory ` .../lisp' chmod +w .../lisp/ps-print.el .../lisp/emulation/tpu-edt.el \ .../lisp/emacs-lisp/cl-loaddefs.el .../lisp/mail/rmail.el \ .../lisp/dired.el .../lisp/ibuffer.el wd= .../lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ echo Directories: $wins; \ EMACSLOADPATH= .../lisp LC_ALL=C ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated-autoload-file " .../lisp/loaddefs.el")' -f batch-update-autoloads $wins Directories: .../lisp/ ..../lisp/./mh-e .../lisp/./progmodes .../lisp/./emacs-lisp .../lisp/./international .../lisp/./play .../lisp/./textmodes .../lisp/./gnus .../lisp/./erc .../lisp/./eshell .../lisp/./mail .../lisp/./cedet .../lisp/./cedet/ede .../lisp/./cedet/semantic .../lisp/./cedet/semantic/wisent .../lisp/./cedet/semantic/analyze .../lisp/./cedet/semantic/symref .../lisp/./cedet/semantic/bovine .../lisp/./cedet/semantic/decorate .../lisp/./cedet/srecode .../lisp/./url .../lisp/./nxml .../lisp/./calc .../lisp/./org .../lisp/./net .../lisp/./language .../lisp/./calendar .../lisp/./emulation Saving file .../lisp/loaddefs.el ... Wrote .../lisp/loaddefs.el make[2]: Leaving directory ` .../lisp' make[2]: Entering directory ` .../lisp' Compiling .../src/../lisp/abbrev.el make[2]: Leaving directory ` .../lisp' make[2]: Entering directory ` .../lisp' Compiling .../src/../lisp/abbrev.el Reloading stale loaddefs.el Loading .../lisp/loaddefs.el (source) ... Wrote .../lisp/abbrev.elc make[2]: Leaving directory ` .../lisp' make[2]: Entering directory ` .../lisp' Compiling .../src/../lisp/buff-menu.el Reloading stale loaddefs.el Loading .../lisp/loaddefs.el (source) ... Wrote .../lisp/buff-menu.elc --=-Lkg1zPHmKWBYDQaGad1v Content-Disposition: attachment; filename="emacs23-24.4+1.log_part" Content-Type: text/plain; name="emacs23-24.4+1.log_part"; charset="UTF-8" Content-Transfer-Encoding: 7bit cd ../lisp; /usr/bin/make -w autoloads EMACS=../src/bootstrap-emacs make[4]: Entering directory ` .../lisp' chmod +w .../lisp/ps-print.el .../lisp/emulation/tpu-edt.el \ .../lisp/emacs-lisp/cl-loaddefs.el .../lisp/mail/rmail.el \ .../lisp/dired.el .../lisp/ibuffer.el wd= .../lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ echo Directories: $wins; \ EMACSLOADPATH= .../lisp LC_ALL=C ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated-autoload-file " .../lisp/loaddefs.el")' -f batch-update-autoloads $wins Directories: .../lisp/. .../lisp/./mh-e .../lisp/./progmodes .../lisp/./emacs-lisp .../lisp/./international .../lisp/./play .../lisp/./textmodes .../lisp/./gnus .../lisp/./erc .../lisp/./eshell .../lisp/./mail .../lisp/./cedet .../lisp/./cedet/ede .../lisp/./cedet/semantic .../lisp/./cedet/semantic/wisent .../lisp/./cedet/semantic/analyze .../lisp/./cedet/semantic/symref .../lisp/./cedet/semantic/bovine .../lisp/./cedet/semantic/decorate .../lisp/./cedet/srecode .../lisp/./url .../lisp/./nxml .../lisp/./calc .../lisp/./org .../lisp/./net .../lisp/./language .../lisp/./calendar .../lisp/./emulation Generating autoloads for play/5x5.el... Generating autoloads for play/5x5.el...done ... Generating autoloads for emulation/viper-util.el...done Saving file .../lisp/loaddefs.el... Wrote .../lisp/loaddefs.el Saving file .../lisp/calc/calc-loaddefs.el... Wrote .../lisp/calc/calc-loaddefs.el Saving file .../lisp/cedet/srecode/loaddefs.el... Wrote .../lisp/cedet/srecode/loaddefs.el Saving file .../lisp/cedet/semantic/loaddefs.el... Wrote .../lisp/cedet/semantic/loaddefs.el Saving file .../lisp/cedet/ede/loaddefs.el... Wrote .../lisp/cedet/ede/loaddefs.el Saving file .../lisp/eshell/esh-groups.el... Wrote .../lisp/eshell/esh-groups.el make[4]: Leaving directory ` .../lisp' make[4]: Entering directory ` .../lisp' Compiling .../src/../lisp/abbrev.el Reloading stale loaddefs.el Loading .../lisp/loaddefs.el (source)... Wrote .../lisp/abbrev.elc make[4]: Leaving directory ` .../lisp' make[4]: Entering directory ` .../lisp' Compiling .../src/../lisp/buff-menu.el Reloading stale loaddefs.el Loading .../lisp/loaddefs.el (source)... Wrote .../lisp/buff-menu.elc --=-Lkg1zPHmKWBYDQaGad1v--