Discussion:
broken bootstrap
timotheus
2007-07-03 17:52:42 UTC
Permalink
Hi.

Bootstraping the HEAD revision of the multi-tty branch fails with the
following error:

Symbol's function definition is void: encoded-kbd-setup-display
make[2]: *** [lisp/mh-e/mh-loaddefs.el] Error 255

This occurs independent of the selected X11 toolkit.

The mentioned function is defined in:
lisp/international/encoded-kb.el
and only used in:
lisp/international/mule.el

Any recommendations on how to debug? Thanks.

Regards,
-timotheus

---

../src/bootstrap-emacs -batch --no-site-file --multibyte \
-l autoload \
--eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
--eval "(setq generated-autoload-file \"/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp/mh-e/mh-loaddefs.el\")" \
--eval "(setq make-backup-files nil)" \
-f batch-update-autoloads /var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp/mh-e
make[3]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp'
wd=/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
for file in $wins; do \
/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp/../update-subdirs $file; \
done;
Symbol's function definition is void: encoded-kbd-setup-display
make[2]: *** [/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp/mh-e/mh-loaddefs.el] Error 255
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp'
make[2]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty/lisp'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-23.0.9999-r1/work/multi-tty'
make: *** [bootstrap] Error 2
Yoshiaki Kasahara
2007-07-04 01:37:10 UTC
Permalink
On Tue, 03 Jul 2007 13:52:42 -0400,
Post by timotheus
Bootstraping the HEAD revision of the multi-tty branch fails with the
I noticed that lisp/ldefs-boot.el (which is copied to loaddefs.el when
bootstraping) was obsolete and some new essential functions weren't
included.

If you still have older Emacs installation, you can make updated
loaddefs.el by 'cd lisp ; make autoloads EMACS=/usr/local/bin/emacs'
and then copy new loaddefs.el back to ldefs-boot.el. I'm not sure if
it is correct way to fix it, though.

Regards,
--
Yoshiaki Kasahara
kasahara at nc.kyushu-u.ac.jp
timotheus
2007-07-10 18:18:05 UTC
Permalink
Post by Yoshiaki Kasahara
I noticed that lisp/ldefs-boot.el (which is copied to loaddefs.el when
bootstraping) was obsolete and some new essential functions weren't
included.
If you still have older Emacs installation, you can make updated
loaddefs.el by 'cd lisp ; make autoloads EMACS=/usr/local/bin/emacs'
and then copy new loaddefs.el back to ldefs-boot.el. I'm not sure if
it is correct way to fix it, though.
Yes. That works. I doubt that it's strictly proper; but it works.

Too bad that it will be necessary *each* time until the ldefs-boot.el
is fixed :( .

Loading...