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 build differences Date: Mon, 02 Jul 2012 23:10:28 +0200 Organization: Hemma Message-ID: <1341263428.16363.14.camel@x60> References: <1340924981.32095.176.camel@hp.my.own.domain> <1340956879.32095.215.camel@hp.my.own.domain> Reply-To: svante.signell@telia.com 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 1341263458 7882 80.91.229.3 (2 Jul 2012 21:10:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Jul 2012 21:10:58 +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 Mon Jul 02 23:10:54 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 1SlntR-0001h4-Ae for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2012 23:10:49 +0200 Original-Received: from localhost ([::1]:33338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlntQ-0003OC-8O for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2012 17:10:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlntN-0003NP-1z for emacs-devel@gnu.org; Mon, 02 Jul 2012 17:10:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlntL-0005MC-3R for emacs-devel@gnu.org; Mon, 02 Jul 2012 17:10:44 -0400 Original-Received: from smtp-out11.han.skanova.net ([195.67.226.200]:40140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlntI-0005KL-82; Mon, 02 Jul 2012 17:10:40 -0400 Original-Received: from [192.168.1.64] (78.70.161.98) by smtp-out11.han.skanova.net (8.5.133) (authenticated as u84406617) id 4FA80EAF014370B3; Mon, 2 Jul 2012 23:10:37 +0200 In-Reply-To: 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.200 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:151379 Archived-At: 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. > > Svante Signell wrote: > > > Is cpp used to process the Makefiles, if so where to find it? > > In 23.4, yes. Where to find cpp? I don't understand the question... My question should be read: Where in the build log can I find where cpp modifies the Makefile? > 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) :) There are still 34 packages biuld-depending on 23.4, but that might change in due time too. > > Another piece of information is that when replacing the dumped emacs > > from Debian with the one from the tarball, build is OK! So it seem that > > the differences are in temacs or the dumped emacs. > > IIUC, Debian includes several patches to the Emacs sources. > You might start by selectively removing them. > > Also, I never understood what this means: I have removed the debian patches one at a time. No difference. And these patches touch other files, compared to the ones causing the problems. The only way to get a successful build is to remove the patch where GNU is replaced for NEWS to find etc, and make a symlink of the build etc/charsets directory to /usr/share/emacs/23.4/etc. (or use an installed emacs-23.4). > > 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? > > > 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.