unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bootstrap error: "function definition is void: define-minor-mode"
@ 2008-05-28  9:26 Klaus Zeitler
  0 siblings, 0 replies; 5+ messages in thread
From: Klaus Zeitler @ 2008-05-28  9:26 UTC (permalink / raw)
  To: emacs-devel

Hello,
this morning I wiped out my more than 3 months old CVS version and checked
the whole emacs tree out anew. But the bootstrap build fails with:

Symbol's function definition is void: define-minor-mode


Here's the final temacs call:


`/bin/pwd`/temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/vol/freeware/cvs/emacs/head/emacs/lisp /vol/freeware/cvs/emacs
/head/emacs/lisp/emacs-lisp /vol/freeware/cvs/emacs/head/emacs/lisp/language /vo
l/freeware/cvs/emacs/head/emacs/lisp/international /vol/freeware/cvs/emacs/head/
emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/files.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/cus-face.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/faces.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/minibuffer.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/button.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/startup.el (source)...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((119291 . 18871) (6455 . 3) (600 . 158) 477130 1034891 (38 . 1) (22 . 5) (9485 
. 7021))
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/loaddefs.el (source)...
((119303 . 18859) (6456 . 2) (600 . 158) 477278 1034891 (38 . 1) (22 . 5) (9489 
. 7017))
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/abbrev.el (source)...
Symbol's function definition is void: define-minor-mode
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/vol/freeware/SunOS-5.8/build/emacs-cvs/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/vol/freeware/SunOS-5.8/build/emacs-cvs'
make: *** [bootstrap] Error 2
ERROR: emacs: make


-- 
 --------------------------------------------------
|  Klaus Zeitler      Alcatel-Lucent               |
|  Email:             kzeitler@alcatel-lucent.com  |
 --------------------------------------------------
---
Windows: So easy to admin, even a worm can do it.




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

* bootstrap error: "function definition is void: define-minor-mode"
@ 2008-05-29  7:38 Klaus Zeitler
  2008-05-29  8:41 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Klaus Zeitler @ 2008-05-29  7:38 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello,
due to lack of time I didn't follow recent discussions in the various emacs
mailing lists. Yesterday I sent the following problem to emacs-devel, but
maybe I should have sent it to emacs-pretest-bug. So here's the bootstrap
error again (with apologies for sending it twice):


this morning I wiped out my more than 3 months old CVS version and checked
the whole emacs tree out anew. But the bootstrap build fails with:

Symbol's function definition is void: define-minor-mode


Here's the final temacs call:


`/bin/pwd`/temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/vol/freeware/cvs/emacs/head/emacs/lisp /vol/freeware/cvs/emacs
/head/emacs/lisp/emacs-lisp /vol/freeware/cvs/emacs/head/emacs/lisp/language /vo
l/freeware/cvs/emacs/head/emacs/lisp/international /vol/freeware/cvs/emacs/head/
emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/files.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/cus-face.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/faces.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/minibuffer.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/button.el (source)...
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/startup.el (source)...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((119291 . 18871) (6455 . 3) (600 . 158) 477130 1034891 (38 . 1) (22 . 5) (9485 
. 7021))
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/loaddefs.el (source)...
((119303 . 18859) (6456 . 2) (600 . 158) 477278 1034891 (38 . 1) (22 . 5) (9489 
. 7017))
Loading /vol/freeware/cvs/emacs/head/emacs/lisp/abbrev.el (source)...
Symbol's function definition is void: define-minor-mode
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/vol/freeware/SunOS-5.8/build/emacs-cvs/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/vol/freeware/SunOS-5.8/build/emacs-cvs'
make: *** [bootstrap] Error 2
ERROR: emacs: make


-- 
 --------------------------------------------------
|  Klaus Zeitler      Alcatel-Lucent               |
|  Email:             kzeitler@alcatel-lucent.com  |
 --------------------------------------------------
---
Committee, n.:  A group of men who individually can do
nothing but as a group decide that nothing can be done.




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

* Re: bootstrap error: "function definition is void: define-minor-mode"
  2008-05-29  7:38 Klaus Zeitler
@ 2008-05-29  8:41 ` Glenn Morris
  2008-05-29 12:34   ` Klaus Zeitler
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2008-05-29  8:41 UTC (permalink / raw)
  To: kzeitler; +Cc: emacs-pretest-bug

Klaus Zeitler wrote:

> Loading /vol/freeware/cvs/emacs/head/emacs/lisp/loaddefs.el (source)...
> ((119303 . 18859) (6456 . 2) (600 . 158) 477278 1034891 (38 . 1) (22 . 5) (9489 
> . 7017))
> Loading /vol/freeware/cvs/emacs/head/emacs/lisp/abbrev.el (source)...
> Symbol's function definition is void: define-minor-mode

At a guess, your loaddefs.el file is messed up. In a clean build, I
expect to see ldefs-boot here rather than loaddefs.




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

* Re: bootstrap error: "function definition is void: define-minor-mode"
  2008-05-29  8:41 ` Glenn Morris
@ 2008-05-29 12:34   ` Klaus Zeitler
  2008-05-29 17:55     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Klaus Zeitler @ 2008-05-29 12:34 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-pretest-bug

>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:
    GM> 
    GM> Klaus Zeitler wrote:
    >> Loading /vol/freeware/cvs/emacs/head/emacs/lisp/loaddefs.el (source)...
    >> ((119303 . 18859) (6456 . 2) (600 . 158) 477278 1034891 (38 . 1) (22 . 5) (9489 
    >> . 7017))
    >> Loading /vol/freeware/cvs/emacs/head/emacs/lisp/abbrev.el (source)...
    >> Symbol's function definition is void: define-minor-mode
    GM> 
    GM> At a guess, your loaddefs.el file is messed up. In a clean build, I
    GM> expect to see ldefs-boot here rather than loaddefs.

Good guess :-). From what I see, this file will be generated during build.
So I guess I picked a bad moment yesterday when I fetched all the sources.
Today I only did a "cvs update". We build emacs here with a separate build
directory (for different Unix flavors), but I've seen now that the lisp
files will be compiled (and generated in the source tree). On 2nd thought
this makes sense cause the lisp stuff is OS (version) independent. This
morning I wiped out the build directory, but not the source dir. Thus the
broken loaddefs.el from yesterday was still there.
Maybe I need to add a 'make clean' or some such to our build script.
I hope I got this all sorted out now, but please correct me if I misunderstood
something.
Anyway CVS emacs builds now fine again, though it doesn't run. But I'll
write a new bug report about that within the next few minutes.
Thanks
Klaus

-- 
 --------------------------------------------------
|  Klaus Zeitler      Alcatel-Lucent               |
|  Email:             kzeitler@alcatel-lucent.com  |
 --------------------------------------------------
---
A day for firm decisions!!!!!  Or is it?




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

* Re: bootstrap error: "function definition is void: define-minor-mode"
  2008-05-29 12:34   ` Klaus Zeitler
@ 2008-05-29 17:55     ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2008-05-29 17:55 UTC (permalink / raw)
  To: kzeitler; +Cc: emacs-pretest-bug

Klaus Zeitler wrote:

> We build emacs here with a separate build directory (for different
> Unix flavors), but I've seen now that the lisp files will be
> compiled (and generated in the source tree). On 2nd thought this
> makes sense cause the lisp stuff is OS (version) independent.

I think it might be like that by accident though... :)

> This morning I wiped out the build directory, but not the source
> dir. Thus the broken loaddefs.el from yesterday was still there.
> Maybe I need to add a 'make clean' or some such to our build script.

Personally I strongly recommend `make maintainer-clean', unless the
extra CPU time it takes is a serious issue for you. If building for
multiple archs, you would only need to do this the first time.





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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28  9:26 bootstrap error: "function definition is void: define-minor-mode" Klaus Zeitler
  -- strict thread matches above, loose matches on Subject: below --
2008-05-29  7:38 Klaus Zeitler
2008-05-29  8:41 ` Glenn Morris
2008-05-29 12:34   ` Klaus Zeitler
2008-05-29 17:55     ` 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).