unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bootstrap broken with electric-pair-text-pairs error
@ 2013-12-27 20:47 chad
  2013-12-27 21:40 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: chad @ 2013-12-27 20:47 UTC (permalink / raw
  To: EMACS development team

[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]

Bootstrapping fails with:

Symbol's value as variable is void: electric-pair-text-pairs

For example:

cd ../lisp; /Applications/Xcode.app/Contents/Developer/usr/bin/make  compile-first EMACS="../src/bootstrap-emacs"
Compiling emacs-lisp/macroexp.el
Symbol's value as variable is void: electric-pair-text-pairs
make[3]: *** [emacs-lisp/macroexp.elc] Error 255
make[2]: *** [bootstrap-emacs] Error 2
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2

and

EMACSLOADPATH='.' '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload \
	   --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
	   --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"calendar/cal-loaddefs.el\")))" \
	   --eval "(setq make-backup-files nil)" \
	   -f batch-update-autoloads ./calendar
Symbol's value as variable is void: electric-pair-text-pairs
make[2]: *** [calendar/cal-loaddefs.el] Error 255
make[1]: *** [../lisp/loaddefs.el] Error 2
make: *** [src] Error 2

I confess that I know basically nothing about autoload cookies and defcustoms, so I apologize if this is easily fixable on my side.

Thanks in advance,
~Chad



[-- Attachment #2: Type: text/html, Size: 1982 bytes --]

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

* Re: Bootstrap broken with electric-pair-text-pairs error
  2013-12-27 20:47 Bootstrap broken with electric-pair-text-pairs error chad
@ 2013-12-27 21:40 ` Stefan Monnier
  2013-12-28  0:22   ` Chad Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2013-12-27 21:40 UTC (permalink / raw
  To: chad; +Cc: EMACS development team

> Bootstrapping fails with:

Are you sure?
I mean have tried "make bootstrap"?


        Stefan



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

* Re: Bootstrap broken with electric-pair-text-pairs error
  2013-12-27 21:40 ` Stefan Monnier
@ 2013-12-28  0:22   ` Chad Brown
  2013-12-28  3:20     ` João Távora
  0 siblings, 1 reply; 4+ messages in thread
From: Chad Brown @ 2013-12-28  0:22 UTC (permalink / raw
  To: Stefan Monnier; +Cc: EMACS development team


On 27 Dec 2013, at 13:40, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> Bootstrapping fails with:
> 
> Are you sure?
> I mean have tried "make bootstrap"?

A few times, then distclean, autogen.sh, configure, and “make bootstrap”, then also “make -k all” in a tree where “make bootstrap” had failed.

~Chad




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

* Re: Bootstrap broken with electric-pair-text-pairs error
  2013-12-28  0:22   ` Chad Brown
@ 2013-12-28  3:20     ` João Távora
  0 siblings, 0 replies; 4+ messages in thread
From: João Távora @ 2013-12-28  3:20 UTC (permalink / raw
  To: Chad Brown; +Cc: Stefan Monnier, EMACS development team

Chad Brown <chadpbrown@gmail.com> writes:
> On 27 Dec 2013, at 13:40, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>> Bootstrapping fails with:
>> Are you sure?
>> I mean have tried "make bootstrap"?
> A few times, then distclean, autogen.sh, configure, and “make
> bootstrap”, then also “make -k all” in a tree where “make bootstrap”
> had failed.

I'm not very familiar with autoload logic as well, but I believe the
culprit is that the new "elec-pair.el" is not loaded in lisp/loadup.el,
whereas "electric.el" was. But as Stefan noted, re-generating into
lisp/ldefs-boot.el should also work and is arguably cleaner.

João



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

end of thread, other threads:[~2013-12-28  3:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 20:47 Bootstrap broken with electric-pair-text-pairs error chad
2013-12-27 21:40 ` Stefan Monnier
2013-12-28  0:22   ` Chad Brown
2013-12-28  3:20     ` João Távora

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