unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bill Wohler <wohler@newt.com>
To: emacs-devel@gnu.org
Subject: Re: Emacs fails to bootstrap, gnus / mh-e related
Date: Tue, 03 Apr 2007 23:19:32 -0700	[thread overview]
Message-ID: <878xd83bm3.fsf@olgas.newt.com> (raw)
In-Reply-To: 87bqj41uhc.fsf@catnip.gol.com

Miles,

Sorry for the long hiatus, but work (kepler.nasa.gov) has been keeping
me way busy.

Miles Bader <miles@gnu.org> writes:

> Andreas Schwab <schwab@suse.de> writes:
>>>    In toplevel form:
>>>    ../../../../src/emacs/devo/lisp/gnus/gnus-mh.el:38:1:Error: Symbol's function definition is void: mh-require-cl
>>
>> Do you have mh-e/mh-loaddefs.el?
>
> I have this:
>
>    ;;; mh-loaddefs.el --- automatically extracted autoloads
>
>    ;; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
>    ;; Author: Bill Wohler <wohler@newt.com>
>    ;; Keywords: mail
>    ;;; Commentary:
>    ;;; Change Log:
>    ;;; Code:
>
>    (provide 'mh-loaddefs)
>    ;; Local Variables:
>    ;; version-control: never
>    ;; no-byte-compile: t
>    ;; no-update-autoloads: t
>    ;; End:
>    ;;; mh-loaddefs.el ends here
>
>
> I gather it's supposed to contain something more?  What is supposed
> to update it?

Yes, as Andreas said, it should contain all of the autoloads.

Look for mh-autoloads in lisp/Makefile to see how it should be
created. In particular, the missing bits are created with the
following command:

        $(EMACS) $(EMACSOPT) \
           -l autoload \
           --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
           --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \
           --eval "(setq make-backup-files nil)" \
           -f batch-update-autoloads $(lisp)/mh-e

I pretty much copied the command that builds loaddefs.el.

> One thing that might be relevant:  My original command used make's -j4
> option (for parallel makes):  "make -j4 bootstrap".  When that failed, I
> redid it using a simple "make bootstrap", but perhaps if this file was
> somehow screwed up by the make -j4, and isn't being properly regenerated by
> "make bootstrap", that could be why it failed the 2nd time?

The mh-autoloads depends on $(lisp)/mh-e/mh-loaddefs.el, so if that
file existed, it wouldn't be rebuilt. If you remove it, and run "make
mh-autoloads" in the lisp directory, you should be set.

I just did an update after eons, and a make bootstrap (after a make
maintainer-clean) and the build proceeded without error.

Note that as you observed, we haven't touched MH-E (except for a few
minor bug fixes) since Emacs was frozen, nearly a year ago. I guess the
Makefiles aren't conducive to parallelism.

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

      parent reply	other threads:[~2007-04-04  6:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07 18:17 Emacs fails to bootstrap, gnus / mh-e related Miles Bader
2007-03-07 18:25 ` Miles Bader
2007-03-07 21:38 ` Andreas Schwab
2007-03-07 23:53   ` Miles Bader
2007-03-08  0:03     ` Andreas Schwab
2007-04-04  6:19     ` Bill Wohler [this message]

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=878xd83bm3.fsf@olgas.newt.com \
    --to=wohler@newt.com \
    --cc=emacs-devel@gnu.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).