GNU bug report logs - #327
Bootstrap problems with Ubuntu make 3.81-3build1

Previous Next

Package: emacs;

Reported by: Teodor Zlatanov <tzz <at> lifelogs.com>

Date: Tue, 27 May 2008 16:20:03 UTC

Severity: normal

Tags: moreinfo, unreproducible

Merged with 821

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 327 in the body.
You can then email your comments to 327 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#327; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Teodor Zlatanov <tzz <at> lifelogs.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Teodor Zlatanov <tzz <at> lifelogs.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; make bootstrap fails from CVS
Date: Tue, 27 May 2008 11:06:31 -0500
Check out from CVS (2008-05-27 11:00 CST).

./configure
[...]
Configured for `i686-pc-linux-gnu'.

  Where should the build process find the source code?    /home/tzz/source/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/intel386.h'
  What compiler should emacs be built with?               gcc -g -O2 -Wno-pointer-sign 
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use X toolkit scroll bars?                   yes


make bootstrap
[... autoloads, some byte-compilations]
make -w compile-main
make[3]: Entering directory `/home/tzz/source/emacs/lisp'
Compiling /home/tzz/source/emacs/lisp/abbrev.el
Wrote /home/tzz/source/emacs/lisp/abbrev.elc
Compiling /home/tzz/source/emacs/lisp/abbrevlist.el
Wrote /home/tzz/source/emacs/lisp/abbrevlist.elc
Compiling /home/tzz/source/emacs/lisp/add-log.el
Wrote /home/tzz/source/emacs/lisp/add-log.elc
Compiling /home/tzz/source/emacs/lisp/align.el
Wrote /home/tzz/source/emacs/lisp/align.elc
Compiling /home/tzz/source/emacs/lisp/allout.el
Wrote /home/tzz/source/emacs/lisp/allout.elc
Compiling /home/tzz/source/emacs/lisp/ansi-color.el
Wrote /home/tzz/source/emacs/lisp/ansi-color.elc
Compiling /home/tzz/source/emacs/lisp/apropos.el
Wrote /home/tzz/source/emacs/lisp/apropos.elc
Compiling /home/tzz/source/emacs/lisp/arc-mode.el
Wrote /home/tzz/source/emacs/lisp/arc-mode.elc
Compiling /home/tzz/source/emacs/lisp/array.el
Wrote /home/tzz/source/emacs/lisp/array.elc
Compiling /home/tzz/source/emacs/lisp/autoarg.el
Wrote /home/tzz/source/emacs/lisp/autoarg.elc
Compiling /home/tzz/source/emacs/lisp/autoinsert.el
Wrote /home/tzz/source/emacs/lisp/autoinsert.elc
Compiling /home/tzz/source/emacs/lisp/autorevert.el
Wrote /home/tzz/source/emacs/lisp/autorevert.elc
Compiling /home/tzz/source/emacs/lisp/avoid.el
Wrote /home/tzz/source/emacs/lisp/avoid.elc
Compiling /home/tzz/source/emacs/lisp/battery.el
Wrote /home/tzz/source/emacs/lisp/battery.elc
Compiling /home/tzz/source/emacs/lisp/bindings.el
Wrote /home/tzz/source/emacs/lisp/bindings.elc
Compiling /home/tzz/source/emacs/lisp/bookmark.el
Wrote /home/tzz/source/emacs/lisp/bookmark.elc
Compiling /home/tzz/source/emacs/lisp/bs.el
Wrote /home/tzz/source/emacs/lisp/bs.elc
Compiling /home/tzz/source/emacs/lisp/buff-menu.el
Wrote /home/tzz/source/emacs/lisp/buff-menu.elc
Compiling /home/tzz/source/emacs/lisp/button.el
Wrote /home/tzz/source/emacs/lisp/button.elc
make[3]: *** No rule to make target `/home/tzz/source/emacs/lisp/calc/calc-aent.elc', needed by `compile-main'.  Stop.
make[3]: Leaving directory `/home/tzz/source/emacs/lisp'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/tzz/source/emacs/lisp'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/home/tzz/source/emacs'
make: *** [bootstrap] Error 2



In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-05-19 on tzlatanov-ubuntu-desktop
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  'CC=gcc''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  recentf-mode: t
  auto-image-file-mode: t
  cua-mode: t
  display-time-mode: t
  icomplete-mode: t
  image-tag-mode: t
  show-paren-mode: t
  which-function-mode: t
  auto-insert-mode: t
  shell-dirtrack-mode: t
  df-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <return> C-d C-d C-d C-d C-d C-d C-d 
C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d 
C-d C-d C-d C-d C-d <up> <return> <down> <return> <down> 
C-d <up> <return> C-d C-d C-d C-d <return> n n C-d 
C-d C-d C-d C-d <return> SPC SPC SPC <down> <return> 
SPC SPC <down> C-d C-d C-d C-d C-d C-d <return> C-d 
C-d <return> C-d <down> <down> <up> + <down> q <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> l <return> <return> SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC <down> <return> <down> <return> <down> <return> 
<down> <up> q l <up> <up> <up> <up> <up> <up> <up> 
<return> <down> <return> <down> <return> c <return> 
c <return> c <return> c <return> c <return> c <return> 
c l <return> <down> <down> <return> c <return> <return> 
c <return> c <return> c <return> <down> <down> c <return> 
c <return> c <return> c <down> <return> c <down> <return> 
<return> c <return> Q <down> <down> <down> <down> <return> 
c <return> c l <return> <return> SPC SPC SPC SPC SPC 
<delete> q l <up> <up> <up> <down> <return> c l <up> 
<up> <up> <return> <return> SPC SPC SPC h <tab> <return> 
q q l <up> <up> <up> <return> <down> <down> <down> 
<down> q <up> <up> <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <escape> x e m a c s - b u g <return> <backspace> 
<backspace> <backspace> <backspace> <tab> <tab> r e 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> r e p o r t - <tab> 
b <tab> <return>

Recent messages:
Generating summary...done
Marking unseen articles as spam
Exiting summary buffer and applying spam rules
Registering 8 specific articles as spam using backend spam-use-move
8 spam messages were registered by backend spam-use-move.
Expiring articles...done
nnimap: Setting marks in INBOX.spam...done
nnimap: Setting marks in INBOX.spam...done
Auto-saving...
Making completion list...






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#327; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Glenn Morris <rgm <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 327 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Teodor Zlatanov <tzz <at> lifelogs.com>
Cc: 327 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#327: 23.0.60; make bootstrap fails from CVS
Date: Tue, 27 May 2008 15:53:08 -0400
Teodor Zlatanov wrote:

> Compiling /home/tzz/source/emacs/lisp/button.el
> Wrote /home/tzz/source/emacs/lisp/button.elc
> make[3]: *** No rule to make target `/home/tzz/source/emacs/lisp/calc/calc-aent.elc', needed by `compile-main'.  Stop.


Sorry, I don't know what is wrong. It works for me. There is a suffix
rule that tells make how to build .elc files from .el files. I don't
know why it works for some files for you and not others. It fails for
you on the first one in a subdirectory of $lisp, but I don't know what
that tells us.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#327; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Glenn Morris <rgm <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 327 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Ted Zlatanov <tzz <at> lifelogs.com>
Cc: 327 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#327: 23.0.60; make bootstrap fails from CVS
Date: Tue, 27 May 2008 19:35:30 -0400
Ted Zlatanov wrote:

> The change you introduced to lisp/Makefile.in on 2008-05-21 seems to be
> the problem. 

I was in no doubt of that. :)
What I don't see is how/where.

> It looks like your changes use some bash features, which might be
> the problem for me (I use zsh, I don't know what Make invokes).

make uses SHELL = /bin/sh.

The problem seems to be in the suffix rule. I don't get it.

The simple test below works for me. Does it work for you? Save to
lisp/XXX directory, and do `make -f XXX compile-main'. If it fails,
the make -d output for calc-aent.elc ought to be informative. If it
works, then I don't see what is wrong with the normal lisp/Makefile...


PS your mail went to the wrong addresses. Rather than:
327 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org

it went to emacs-pretest-bug <at> gnu.org and emacs-devel <at> gnu.org

with a Followup-To: gmane.emacs.devel.

Or at least, the copy I actually ended up reading did (there are often
multiple copies of things flying around these days).



SHELL = /bin/sh   # works for me with /bin/zsh too

EMACS = ../src/emacs
EMACSOPT = -batch --no-site-file --multibyte

lisp = $(PWD)

emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)

ELCFILES = \
         $(lisp)/abbrev.elc \
         $(lisp)/calc/calc-aent.elc

compile-main: $(ELCFILES)

.SUFFIXES: .elc .el

.el.elc:
    @echo Compiling $<
    @$(emacs) -f batch-byte-compile $<




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#327; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Glenn Morris <rgm <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 327 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Ted Zlatanov <tzz <at> lifelogs.com>
Cc: 327 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#327: 23.0.60; make bootstrap fails from CVS
Date: Wed, 28 May 2008 13:41:44 -0400
Ted Zlatanov wrote:

> I just used M-x report-emacs-bug so I don't know why it was misdirected.

The report was fine, it was the followups (it happened again with your
previous message). Can you edit the addresses manually if you reply
again? I think there was some temporary glitch with the initial
routing of this report that has probably caused these issues:

http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg01605.html

(probably this should not explicitly be going to
emacs-pretest-bug <at> gnu.org, but we've started now)

> bash> echo "ELCFILES = \\\\\\"   ->    ELCFILES = \\\
> zsh> echo "ELCFILES = \\\\\\"   ->    ELCFILES = \\
>
> GM> The following ought to work for everyone. Blech.
>
> GM> (Yes, I know I should be using printf rather than echo, but it isn't
> GM> used anywhere else in the Emacs Makefiles, so I don't know if I'm
> GM> allowed to.)
>
> Maybe /bin/echo would be better?

Yes, except I don't know if "/bin/echo" is always "/bin/echo" on all
the wacky systems Emacs supports. "printf" would be better still. But
since no-one can define exactly what "portable" means for the Emacs
build process, I try to only add constructs already used.

> Anyhow, it's fixed, thanks a lot for looking at it.

Huh? You're saying that your problem, which happened in bootstrapping
a fresh checkout, has been fixed by a change to the update-elclist
rule that only runs _after_ bootstrapping? AFAICS, that's impossible,
but never mind...




Tags added: moreinfo Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 31 May 2008 19:30:03 GMT) Full text and rfc822 format available.

Tags added: unreproducible Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 28 Jun 2008 19:25:05 GMT) Full text and rfc822 format available.

Forcibly Merged 327 821. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 04 Sep 2008 16:40:07 GMT) Full text and rfc822 format available.

Changed bug title to `Bootstrap problems with Ubuntu make 3.81-3build1' from `23.0.60; make bootstrap fails from CVS'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 04 Sep 2008 17:00:04 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to Teodor Zlatanov <tzz <at> lifelogs.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 05 Sep 2008 23:15:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 04 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.