unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Need help with upstream vs Debian emacs-23.4 build differences
@ 2012-06-28 23:09 Svante Signell
  2012-06-29  6:49 ` Andreas Schwab
  0 siblings, 1 reply; 10+ messages in thread
From: Svante Signell @ 2012-06-28 23:09 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]

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.

[-- Attachment #2: emacs-23.4.log_part --]
[-- Type: text/plain, Size: 1953 bytes --]

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

[-- Attachment #3: emacs23-24.4+1.log_part --]
[-- Type: text/plain, Size: 2471 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-05 16:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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         ` Need help with upstream vs Debian emacs-23.4 + emacs-24.1 " Svante Signell
2012-07-05 16:06           ` Glenn Morris
2012-07-01 20:58   ` Need help with upstream vs Debian emacs-23.4 " Svante Signell

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).