unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Svante Signell <svante.signell@telia.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>, emacs-devel@gnu.org
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	[thread overview]
Message-ID: <1341488866.13218.31.camel@s1499.it.kth.se> (raw)
In-Reply-To: <1341263428.16363.14.camel@x60>

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.




  reply	other threads:[~2012-07-05 11:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28 23:09 Need help with upstream vs Debian emacs-23.4 build differences Svante Signell
2012-06-29  6:49 ` Andreas Schwab
2012-06-29  8:01   ` Svante Signell
2012-07-02  0:44     ` Glenn Morris
2012-07-02  4:30       ` Glenn Morris
2012-07-02 21:15         ` Svante Signell
2012-07-02 21:10       ` Svante Signell
2012-07-05 11:47         ` Svante Signell [this message]
2012-07-05 16:06           ` Need help with upstream vs Debian emacs-23.4 + emacs-24.1 " Glenn Morris
2012-07-01 20:58   ` Need help with upstream vs Debian emacs-23.4 " Svante Signell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341488866.13218.31.camel@s1499.it.kth.se \
    --to=svante.signell@telia.com \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).