unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#327: 23.0.60; make bootstrap fails from CVS
@ 2008-05-27 16:06 Teodor Zlatanov
  0 siblings, 0 replies; 4+ messages in thread
From: Teodor Zlatanov @ 2008-05-27 16:06 UTC (permalink / raw)
  To: emacs-pretest-bug

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








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

* bug#327: 23.0.60; make bootstrap fails from CVS
       [not found] <86ej7nenp4.fsf@lifelogs.com>
@ 2008-05-27 19:53 ` Glenn Morris
       [not found] ` <ewskw3msm3.fsf@fencepost.gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2008-05-27 19:53 UTC (permalink / raw)
  To: Teodor Zlatanov; +Cc: 327, emacs-pretest-bug

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.






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

* bug#327: 23.0.60; make bootstrap fails from CVS
       [not found]   ` <868wxv73hy.fsf@lifelogs.com>
@ 2008-05-27 23:35     ` Glenn Morris
       [not found]     ` <p3lk1vnwvx.fsf@fencepost.gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2008-05-27 23:35 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: 327, emacs-pretest-bug

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@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org

it went to emacs-pretest-bug@gnu.org and emacs-devel@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 $<






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

* bug#327: 23.0.60; make bootstrap fails from CVS
       [not found]       ` <86ej7mfral.fsf@lifelogs.com>
@ 2008-05-28 17:41         ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2008-05-28 17:41 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: 327, emacs-pretest-bug

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






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

end of thread, other threads:[~2008-05-28 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-27 16:06 bug#327: 23.0.60; make bootstrap fails from CVS Teodor Zlatanov
     [not found] <86ej7nenp4.fsf@lifelogs.com>
2008-05-27 19:53 ` Glenn Morris
     [not found] ` <ewskw3msm3.fsf@fencepost.gnu.org>
     [not found]   ` <868wxv73hy.fsf@lifelogs.com>
2008-05-27 23:35     ` Glenn Morris
     [not found]     ` <p3lk1vnwvx.fsf@fencepost.gnu.org>
     [not found]       ` <86ej7mfral.fsf@lifelogs.com>
2008-05-28 17:41         ` Glenn Morris

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