From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Svante Signell Newsgroups: gmane.emacs.devel Subject: Re: Need help with upstream vs Debian emacs-23.4 + emacs-24.1 build differences Date: Thu, 05 Jul 2012 13:47:46 +0200 Organization: Hemma Message-ID: <1341488866.13218.31.camel@s1499.it.kth.se> References: <1340924981.32095.176.camel@hp.my.own.domain> <1340956879.32095.215.camel@hp.my.own.domain> <1341263428.16363.14.camel@x60> Reply-To: Svante Signell NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341488888 18175 80.91.229.3 (5 Jul 2012 11:48:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2012 11:48:08 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 05 13:48:08 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SmkXT-0007OC-K6 for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2012 13:48:03 +0200 Original-Received: from localhost ([::1]:59096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmkXS-0004n8-LL for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2012 07:48:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmkXP-0004ms-6d for emacs-devel@gnu.org; Thu, 05 Jul 2012 07:48:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmkXI-0001cm-RU for emacs-devel@gnu.org; Thu, 05 Jul 2012 07:47:58 -0400 Original-Received: from smtp-out12.han.skanova.net ([195.67.226.212]:51171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmkXF-0001aa-Fj; Thu, 05 Jul 2012 07:47:49 -0400 Original-Received: from [130.237.20.66] (130.237.20.66) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u84406617) id 4FAE31D900C94BEF; Thu, 5 Jul 2012 13:47:46 +0200 In-Reply-To: <1341263428.16363.14.camel@x60> X-Mailer: Evolution 3.4.3-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.212 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151434 Archived-At: On Mon, 2012-07-02 at 23:10 +0200, Svante Signell wrote: > On Sun, 2012-07-01 at 20:44 -0400, Glenn Morris wrote: > > Dropping help-gnu-emacs since there is no point discussing this on two > > lists. ... > > The latest release is 24.1, which does not use cpp. I would encourage > > you to try that and not worry about 23.4. > > > > http://packages.qa.debian.org/e/emacs24.html > > Yes, 24.1 builds and even the upcoming Debian version does (when > libselinux1-dev dependency is removed) :) Still the buildds have problems building the Debian version. From the build logs one can see there are differences mainly due to the autoloads target. What is triggering that one, timestamps of files, anything else? > > > However, on Debian the whole source tree is copied to debian/build-? > > > where ?=x,nox,lucid. > > > > You mean; > > > > tar zvxf emacs-23.4.tar.gz > > cp -pr emacs-23.4 debian/build-x > > etc > > They use cp -a, but that is the same isn't it? cp -a should be the same, right? > > > > > > The loaddefs difference looks like it could be an Emacs bug; but it > > ought to be harmless in itself. > > I think the problem lies in the loaddefs.el being regenerated by the > autoloads. My problem is that I don't know why it happens, compared to > the tarball. Still apples for 24.1. A successful build shows (my box): cd ../lisp; /usr/bin/make -w autoloads \ EMACS=/home/srs/DEBs/emacs/emacs24-24.1+1/ \ debian/build-x/src/bootstrap-emacs make[4]: Entering directory `/home/srs/DEBs/emacs/emacs24-24.1+1/ \ debian/build-x/lisp' EMACSLOADPATH=.../emacs24-24.1+1/debian/build-x/lisp \ LC_ALL=C .../emacs24-24.1+1/debian/build-x/src/bootstrap-emacs -batch \ --no-site-file --no-site-lisp -l autoload \ --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ --eval "(setq generated-autoload-file \ ".../emacs24-24.1+1/debian/build-x/lisp/calendar/cal-loaddefs.el\")" \ --eval "(setq make-backup-files nil)" \ -f batch-update-autoloads .../emacs24-24.1+1/ \ debian/build-x/lisp/calendar NOTE: No writing of a new cal-loaddefs here! New entry as above, for diary-loaddefs while a failed one shows (from the buildd): cd ../lisp; /usr/bin/make -w autoloads \ EMACS=/build/buildd-emacs24_24.1+1-2-hurd-i386-Bf_qw9/emacs24-24.1+1/ \ debian/build-x/src/bootstrap-emacs make[4]: Entering directory `/build/buildd-emacs24_24.1+1-2-hurd-i386-Bf_qw9/emacs24-24.1+1/\ debian/build-x/lisp' EMACSLOADPATH=.../debian/build-x/lisp \ LC_ALL=C .../debian/build-x/src/bootstrap-emacs -batch \ --no-site-file --no-site-lisp -l autoload \ --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ --eval "(setq generated-autoload-file \ \".../emacs24-24.1+1/debian/build-x/lisp/calendar/cal-loaddefs.el\")" \ --eval "(setq make-backup-files nil)" \ -f batch-update-autoloads .../emacs24-24.1+1/debian/build-x/lisp/calendar Wrote .../emacs24-24.1+1/debian/build-x/lisp/calendar/cal-loaddefs.el Generating autoloads for appt.el... Many more Generating autoloads for ... entries here.