unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bootstrap failure
@ 2004-11-20  0:14 Luc Teirlinck
  2004-11-20  1:24 ` Andreas Schwab
  0 siblings, 1 reply; 38+ messages in thread
From: Luc Teirlinck @ 2004-11-20  0:14 UTC (permalink / raw)


Today's changesto CVS break bootstrapping:

Compiling /home/teirllm/emacscvsdir/emacs/lisp/./vc-rcs.el

In toplevel form:
vc-rcs.el:1023:9:Error: Variable binding depth exceeds
max-specpdl-size
make[1]: *** [compile] Error 1
make[1]: Leaving directory `/home/teirllm/emacscvsdir/emacs/lisp'
make: *** [bootstrap-build] Error 2

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

* Re: bootstrap failure
  2004-11-20  0:14 bootstrap failure Luc Teirlinck
@ 2004-11-20  1:24 ` Andreas Schwab
  2004-11-20  1:29   ` Luc Teirlinck
  2004-11-20  3:07   ` Luc Teirlinck
  0 siblings, 2 replies; 38+ messages in thread
From: Andreas Schwab @ 2004-11-20  1:24 UTC (permalink / raw)
  Cc: emacs-devel

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Today's changesto CVS break bootstrapping:
>
> Compiling /home/teirllm/emacscvsdir/emacs/lisp/./vc-rcs.el
>
> In toplevel form:
> vc-rcs.el:1023:9:Error: Variable binding depth exceeds
> max-specpdl-size

That has already been discussed here under the topic "max-specpdl-size
exceeded on "make recompile"", and should already be fixed.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: bootstrap failure
  2004-11-20  1:24 ` Andreas Schwab
@ 2004-11-20  1:29   ` Luc Teirlinck
  2004-11-20 10:38     ` Thien-Thi Nguyen
  2004-11-20  3:07   ` Luc Teirlinck
  1 sibling, 1 reply; 38+ messages in thread
From: Luc Teirlinck @ 2004-11-20  1:29 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab wrote:

   Luc Teirlinck <teirllm@dms.auburn.edu> writes:

   > Today's changesto CVS break bootstrapping:
   >
   > Compiling /home/teirllm/emacscvsdir/emacs/lisp/./vc-rcs.el
   >
   > In toplevel form:
   > vc-rcs.el:1023:9:Error: Variable binding depth exceeds
   > max-specpdl-size

   That has already been discussed here under the topic "max-specpdl-size
   exceeded on "make recompile"", and should already be fixed.

You mean that you can actually do a successful `make bootstrap' with
the very latest CVS?  I can not.

Sincerely,

Luc.

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

* Re: bootstrap failure
  2004-11-20  1:24 ` Andreas Schwab
  2004-11-20  1:29   ` Luc Teirlinck
@ 2004-11-20  3:07   ` Luc Teirlinck
  1 sibling, 0 replies; 38+ messages in thread
From: Luc Teirlinck @ 2004-11-20  3:07 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab wrote:

   That has already been discussed here under the topic "max-specpdl-size
   exceeded on "make recompile"", and should already be fixed.

Yes, but apparently you need a similar change to _compile_ to make
`make bootstrap' work, instead of just `make recompile'.  I just
installed that change.  I do not know whether there still are
additional places in lisp/Makefile.in that need a similar change.

Sincerely,

Luc.

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

* Re: bootstrap failure
  2004-11-20  1:29   ` Luc Teirlinck
@ 2004-11-20 10:38     ` Thien-Thi Nguyen
  0 siblings, 0 replies; 38+ messages in thread
From: Thien-Thi Nguyen @ 2004-11-20 10:38 UTC (permalink / raw)
  Cc: schwab, emacs-devel

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

   You mean that you can actually do a successful `make
   bootstrap' with the very latest CVS?  I can not.

my bad.  i only changed Makefile.in target `recompile',
not thinking more broadly (about bootstrap and other
processes).  so it looks like i did not fix the problem
but instead made it worse.  sorry about that.

i have just checked in src/eval.c that initializes the
value of `max-specpdl-size' to 650, as well as reverted
lisp/Makefile.in for both `recompile' and `compile'.

(at first i thought it would be better to address the
problem where it showed up, but now i think Stefan's
suggestion to bump the value is better because it is
more general.)

thi

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

* Bootstrap failure
@ 2004-12-05 13:17 Jérôme Marant
  2004-12-05 15:24 ` Luc Teirlinck
  0 siblings, 1 reply; 38+ messages in thread
From: Jérôme Marant @ 2004-12-05 13:17 UTC (permalink / raw)



Hi,

make bootstrap fails at generating lispref

(cd lispref; make  info)
make[1]: Entering directory `/home/jerome/pkg/emacs21/cvs/emacs/lispref'
makeinfo -I. -I/home/jerome/pkg/emacs21/cvs/emacs/lispref /home/jerome/pkg/emacs21/cvs/emacs/lispref/elisp.texi -o /home/jerome/pkg/emacs21/cvs/emacs/lispref/../info/elisp
/home/jerome/pkg/emacs21/cvs/emacs/lispref//locals.texi:202: Cross reference to nonexistent node `Yet to be written' (perhaps incorrect sectioning?).
/home/jerome/pkg/emacs21/cvs/emacs/lispref//locals.texi:136: Cross reference to nonexistent node `Yet to be written' (perhaps incorrect sectioning?).
makeinfo: Removing output file `/home/jerome/pkg/emacs21/cvs/emacs/lispref/../info/elisp' due to errors; use --force to preserve.
make[1]: *** [/home/jerome/pkg/emacs21/cvs/emacs/lispref/../info/elisp] Error 1
make[1]: Leaving directory `/home/jerome/pkg/emacs21/cvs/emacs/lispref'
make: *** [info] Error 2

-- 
Jérôme Marant

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

* Re: Bootstrap failure
  2004-12-05 13:17 Bootstrap failure Jérôme Marant
@ 2004-12-05 15:24 ` Luc Teirlinck
  2004-12-05 15:28   ` Luc Teirlinck
                     ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Luc Teirlinck @ 2004-12-05 15:24 UTC (permalink / raw)
  Cc: Lennart Borgman, emacs-devel

Jerome Marant wrote:

   make bootstrap fails at generating lispref

and Lennart Borgman wrote:

   I can not build lispref info:

This is a known problem.  Richard reversed the fix I committed more
than a week ago, because there are bettter (but more involved)
solutions.  It is not clear when such better solutions will be
committed to CVS and bootstrapping and building the Elisp manual
(without doing anything special) will work again.  In the meantime you
can apply the trivial patch below in your own local copy.  I
personally believe that it would be better to avoid inconveniencing
people trying to bootstrap or build the Elisp manual by installing the
trivial fix until a better fix can be committed, but that is just my
personal opinion.

@item line-spacing
@c Cause an error so we will fix this.
@xref{Yet to be written}.

and:

@item vertical-scroll-bar
@xref{Yet to be written}.
@end table

Replace these two by:

@item line-spacing
@c Cause an error so we will fix this.
@c @xref{Yet to be written}.

and:

@item vertical-scroll-bar
@c @xref{Yet to be written}.
@end table

and bootstrapping will work fine.

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

* Re: Bootstrap failure
  2004-12-05 15:24 ` Luc Teirlinck
@ 2004-12-05 15:28   ` Luc Teirlinck
  2004-12-05 15:55   ` Luc Teirlinck
  2004-12-05 18:16   ` Jérôme Marant
  2 siblings, 0 replies; 38+ messages in thread
From: Luc Teirlinck @ 2004-12-05 15:28 UTC (permalink / raw)
  Cc: lennart.borgman.073, jmarant, emacs-devel

>From my previous message:

   @item line-spacing
   @c Cause an error so we will fix this.
   @xref{Yet to be written}.

   and:

   @item vertical-scroll-bar
   @xref{Yet to be written}.
   @end table

   Replace these two by:

   @item line-spacing
   @c Cause an error so we will fix this.
   @c @xref{Yet to be written}.

   and:

   @item vertical-scroll-bar
   @c @xref{Yet to be written}.
   @end table

I forgot to say that this has to be done in locals.texi.

Sincerely,

Luc.

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

* Re: Bootstrap failure
  2004-12-05 15:24 ` Luc Teirlinck
  2004-12-05 15:28   ` Luc Teirlinck
@ 2004-12-05 15:55   ` Luc Teirlinck
  2004-12-05 18:16   ` Jérôme Marant
  2 siblings, 0 replies; 38+ messages in thread
From: Luc Teirlinck @ 2004-12-05 15:55 UTC (permalink / raw)
  Cc: lennart.borgman.073, jmarant, emacs-devel

>From my previous message:

   In the meantime you can apply the trivial patch below in your own
   local copy.

I meant "fix", not "patch".

Sincerely,

Luc.

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

* Re: Bootstrap failure
  2004-12-05 15:24 ` Luc Teirlinck
  2004-12-05 15:28   ` Luc Teirlinck
  2004-12-05 15:55   ` Luc Teirlinck
@ 2004-12-05 18:16   ` Jérôme Marant
  2 siblings, 0 replies; 38+ messages in thread
From: Jérôme Marant @ 2004-12-05 18:16 UTC (permalink / raw)


Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Jerome Marant wrote:
>
>    make bootstrap fails at generating lispref
>
> and Lennart Borgman wrote:
>
>    I can not build lispref info:
>
> This is a known problem.  Richard reversed the fix I committed more
...
> and bootstrapping will work fine.

Thanks. I used bootstrap-build in the meantime so I could
skip info generation.

Cheers,

-- 
Jérôme Marant

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

* Bootstrap failure
@ 2004-12-14  7:30 Dee Zsombor
  0 siblings, 0 replies; 38+ messages in thread
From: Dee Zsombor @ 2004-12-14  7:30 UTC (permalink / raw)


Hi!

Got following error when compiling from CVS:

> temacw32.lib(w32fns.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(callint.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(eval.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(print.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(regex.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(fileio.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(dired.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(ccl.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(callproc.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(syntax.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(search.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(insdel.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(indent.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(sysdep.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(minibuf.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(keymap.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(textprop.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(alloc.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(process.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(editfns.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(macros.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(w32proc.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(keyboard.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(fns.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> temacs1.lib(lread.obj) : error LNK2001: unresolved external symbol _Vthrow_on_input
> obj-spd/i386/temacs.bin : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: 'C:\MSDEV_60\VC98\bin\NMAKE.EXE' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\MSDEV_60\VC98\bin\NMAKE.EXE' : return code '0x2'
> Stop.


Could this be fixed please?

Thanks,
Zsombor

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

* Bootstrap failure
@ 2009-11-12 10:44 Romain Francoise
  2009-11-12 20:36 ` Sven Joachim
  0 siblings, 1 reply; 38+ messages in thread
From: Romain Francoise @ 2009-11-12 10:44 UTC (permalink / raw)
  To: emacs-devel

Sometime in the last three weeks a regression was introduced which
leads a to build failure when bootstrapping, as follows:

| Loading files...
| Loading cus-face...
| Loading faces...
| Loading minibuffer...
| Loading button...
| Loading startup...
| Invalid function: "/home/romain/src/emacs/emacs.git/lisp/startup.elc"
| make[1]: *** [bootstrap-emacs] Error 255
| make[1]: Leaving directory `/home/romain/src/emacs/emacs.git/src'
| make: *** [src] Error 2

I can reliably reproduce it with the following steps:

 1. Start from a clean checkout
 2. ./configure && make
 3. make distclean
 4. ./configure && make

Step four fails with the message above. When in that situation,
doing 'make src' fails, but 'make -C src' works. This probably
points to a problem with the handling of BOOTSTRAPEMACS, but I'm not
sure what.




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

* Re: Bootstrap failure
  2009-11-12 10:44 Romain Francoise
@ 2009-11-12 20:36 ` Sven Joachim
  2009-11-14 15:14   ` Chong Yidong
  0 siblings, 1 reply; 38+ messages in thread
From: Sven Joachim @ 2009-11-12 20:36 UTC (permalink / raw)
  To: Romain Francoise; +Cc: emacs-devel

On 2009-11-12 11:44 +0100, Romain Francoise wrote:

> Sometime in the last three weeks a regression was introduced which
> leads a to build failure when bootstrapping, as follows:
>
> | Loading files...
> | Loading cus-face...
> | Loading faces...
> | Loading minibuffer...
> | Loading button...
> | Loading startup...
> | Invalid function: "/home/romain/src/emacs/emacs.git/lisp/startup.elc"
> | make[1]: *** [bootstrap-emacs] Error 255
> | make[1]: Leaving directory `/home/romain/src/emacs/emacs.git/src'
> | make: *** [src] Error 2
>
> I can reliably reproduce it with the following steps:
>
>  1. Start from a clean checkout
>  2. ./configure && make
>  3. make distclean
>  4. ./configure && make
>
> Step four fails with the message above. When in that situation,
> doing 'make src' fails, but 'make -C src' works. This probably
> points to a problem with the handling of BOOTSTRAPEMACS, but I'm not
> sure what.

I have bisected the problem, and it seems to have appeared first¹ after
the removal of generated-autoload-feature and the switch from require to
load in numerous files in Stefan's change from 2009-11-03 (commit
11203bc8dfccc062b7727fa5c5ecda0fd39fb37f for those who are using the git
repository).

Sven


¹ The version from that commit does not actually build, so I cannot say
  that with 100% certainty.




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

* Re: Bootstrap failure
  2009-11-12 20:36 ` Sven Joachim
@ 2009-11-14 15:14   ` Chong Yidong
  2009-11-14 19:49     ` Bruce Stephens
  0 siblings, 1 reply; 38+ messages in thread
From: Chong Yidong @ 2009-11-14 15:14 UTC (permalink / raw)
  To: Sven Joachim; +Cc: Romain Francoise, emacs-devel

Sven Joachim <svenjoac@gmx.de> writes:

> On 2009-11-12 11:44 +0100, Romain Francoise wrote:
>> | Loading startup...
>> | Invalid function: "/home/romain/src/emacs/emacs.git/lisp/startup.elc"
>> | make[1]: *** [bootstrap-emacs] Error 255
>> | make[1]: Leaving directory `/home/romain/src/emacs/emacs.git/src'
>> | make: *** [src] Error 2
>>
>> I can reliably reproduce it with the following steps:
>>
>>  1. Start from a clean checkout
>>  2. ./configure && make
>>  3. make distclean
>>  4. ./configure && make
>>
>> Step four fails with the message above. When in that situation,
>> doing 'make src' fails, but 'make -C src' works. This probably
>> points to a problem with the handling of BOOTSTRAPEMACS, but I'm not
>> sure what.

Is this on windows?  I can't reproduce the problem on GNU/Linux.




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

* Re: Bootstrap failure
  2009-11-14 15:14   ` Chong Yidong
@ 2009-11-14 19:49     ` Bruce Stephens
  2009-11-14 20:33       ` Jan Djärv
  0 siblings, 1 reply; 38+ messages in thread
From: Bruce Stephens @ 2009-11-14 19:49 UTC (permalink / raw)
  To: emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

> Sven Joachim <svenjoac@gmx.de> writes:

[...]

>>>  1. Start from a clean checkout
>>>  2. ./configure && make
>>>  3. make distclean
>>>  4. ./configure && make
>>>
>>> Step four fails with the message above. When in that situation,
>>> doing 'make src' fails, but 'make -C src' works. This probably
>>> points to a problem with the handling of BOOTSTRAPEMACS, but I'm not
>>> sure what.
>
> Is this on windows?  I can't reproduce the problem on GNU/Linux.

It happens for me (on GNU/Linux).  Also for Jan Djärv (probably on some
Unix, judging by the error pathname).




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

* Re: Bootstrap failure
  2009-11-14 19:49     ` Bruce Stephens
@ 2009-11-14 20:33       ` Jan Djärv
  2009-11-15  1:31         ` Stefan Monnier
  0 siblings, 1 reply; 38+ messages in thread
From: Jan Djärv @ 2009-11-14 20:33 UTC (permalink / raw)
  To: Bruce Stephens; +Cc: emacs-devel



Bruce Stephens skrev 2009-11-14 20.49:
> Chong Yidong<cyd@stupidchicken.com>  writes:
>
>> Sven Joachim<svenjoac@gmx.de>  writes:
>
> [...]
>
>>>>   1. Start from a clean checkout
>>>>   2. ./configure&&  make
>>>>   3. make distclean
>>>>   4. ./configure&&  make
>>>>
>>>> Step four fails with the message above. When in that situation,
>>>> doing 'make src' fails, but 'make -C src' works. This probably
>>>> points to a problem with the handling of BOOTSTRAPEMACS, but I'm not
>>>> sure what.
>>
>> Is this on windows?  I can't reproduce the problem on GNU/Linux.
>
> It happens for me (on GNU/Linux).  Also for Jan Djärv (probably on some
> Unix, judging by the error pathname).
>

Ubuntu 9.10.

	Jan D.




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

* Re: Bootstrap failure
  2009-11-14 20:33       ` Jan Djärv
@ 2009-11-15  1:31         ` Stefan Monnier
  2009-11-15  3:48           ` YAMAMOTO Mitsuharu
  2009-11-15  9:30           ` Jan Djärv
  0 siblings, 2 replies; 38+ messages in thread
From: Stefan Monnier @ 2009-11-15  1:31 UTC (permalink / raw)
  To: Jan Djärv; +Cc: Bruce Stephens, emacs-devel

>> It happens for me (on GNU/Linux).  Also for Jan Djärv (probably on some
>> Unix, judging by the error pathname).
> Ubuntu 9.10.

Start temacs under the debugger.  Place a breakpoint on Fsignal.
Look at the backtrace.


        Stefan




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

* Re: Bootstrap failure
  2009-11-15  1:31         ` Stefan Monnier
@ 2009-11-15  3:48           ` YAMAMOTO Mitsuharu
  2009-11-15 12:10             ` Bruce Stephens
  2009-11-15 14:56             ` Romain Francoise
  2009-11-15  9:30           ` Jan Djärv
  1 sibling, 2 replies; 38+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-11-15  3:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Bruce Stephens, Jan Djärv, emacs-devel

>>>>> On Sat, 14 Nov 2009 20:31:53 -0500, Stefan Monnier <monnier@iro.umontreal.ca> said:

>>> It happens for me (on GNU/Linux).  Also for Jan Djärv (probably on
>>> some Unix, judging by the error pathname).
>> Ubuntu 9.10.

> Start temacs under the debugger.  Place a breakpoint on Fsignal.
> Look at the backtrace.

I think the failure at startup.elc is due to the following change:

2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>

	* emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.

Could you try the patch below if it gives a good result?

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

Index: lisp/emacs-lisp/bytecomp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/bytecomp.el,v
retrieving revision 2.273
diff -c -p -r2.273 bytecomp.el
*** lisp/emacs-lisp/bytecomp.el	14 Nov 2009 04:23:21 -0000	2.273
--- lisp/emacs-lisp/bytecomp.el	15 Nov 2009 03:40:51 -0000
*************** Call from the source buffer."
*** 1935,1941 ****
  	   (stringp (nth 3 form)))
        (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil
  				   (memq (car form)
! 					 '(autoload custom-declare-variable)))
      (let ((print-escape-newlines t)
  	  (print-length nil)
  	  (print-level nil)
--- 1935,1942 ----
  	   (stringp (nth 3 form)))
        (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil
  				   (memq (car form)
! 					 '(defvaralias autoload
! 					   custom-declare-variable)))
      (let ((print-escape-newlines t)
  	  (print-length nil)
  	  (print-level nil)




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

* Re: Bootstrap failure
  2009-11-15  1:31         ` Stefan Monnier
  2009-11-15  3:48           ` YAMAMOTO Mitsuharu
@ 2009-11-15  9:30           ` Jan Djärv
  1 sibling, 0 replies; 38+ messages in thread
From: Jan Djärv @ 2009-11-15  9:30 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Bruce Stephens, mituharu, emacs-devel



Stefan Monnier skrev 2009-11-15 02.31:
>>> It happens for me (on GNU/Linux).  Also for Jan Djärv (probably on some
>>> Unix, judging by the error pathname).
>> Ubuntu 9.10.
>
> Start temacs under the debugger.  Place a breakpoint on Fsignal.
> Look at the backtrace.
>

Steps to reproduce:
% make bootstrap
% make clean
% make

It also happens for OSX 10.6.  Backtrace:

Loading button...
Loading startup...

Breakpoint 2, Fsignal (error_symbol=4320204362, data=4321269478) at eval.c:1619
1619	  register struct handler *allhandlers = handlerlist;
(gdb) bt
#0  Fsignal (error_symbol=4320204362, data=4321269478) at eval.c:1619
#1  0x0000000100161d4b in xsignal (error_symbol=4320204362, data=4321269478) 
at eval.c:1729
#2  0x0000000100161d94 in xsignal1 (error_symbol=Could not find the frame base 
for "xsignal1".
) at eval.c:1746
#3  0x0000000100163594 in Feval (form=4321269558) at eval.c:2394
#4  0x000000010016320c in Feval (form=4321270038) at eval.c:2331
#5  0x0000000100192489 in readevalloop (readcharfun=4320279994, 
stream=0x7fff70115f18, sourcename=4307765385, evalfun=0x100162cbf <Feval>, 
printflag=0, unibyte=4320133130, readfun=4320133130, start=4320133130, 
end=4320133130) at lread.c:1792
#6  0x0000000100190b55 in Fload (file=4307861273, noerror=4320133130, 
nomessage=4320133130, nosuffix=4320133130, must_suffix=4320133130) at lread.c:1269
#7  0x00000001001633cd in Feval (form=4320161334) at eval.c:2360
#8  0x0000000100192489 in readevalloop (readcharfun=4320279994, 
stream=0x7fff70115e80, sourcename=4307611321, evalfun=0x100162cbf <Feval>, 
printflag=0, unibyte=4320133130, readfun=4320133130, start=4320133130, 
end=4320133130) at lread.c:1792
#9  0x0000000100190b55 in Fload (file=4307611065, noerror=4320133130, 
nomessage=4320133130, nosuffix=4320133130, must_suffix=4320133130) at lread.c:1269
#10 0x00000001001633cd in Feval (form=4320151862) at eval.c:2360
#11 0x00000001000b5349 in top_level_2 () at keyboard.c:1367
#12 0x0000000100161591 in internal_condition_case (bfun=0x1000b5336 
<top_level_2>, handlers=4320203882, hfun=0x1000b4e55 <cmd_error>) at eval.c:1490
#13 0x00000001000b5385 in top_level_1 () at keyboard.c:1375
#14 0x0000000100160eb6 in internal_catch (tag=4320197098, func=0x1000b534b 
<top_level_1>, arg=4320133130) at eval.c:1226
#15 0x00000001000b529f in command_loop () at keyboard.c:1330
#16 0x00000001000b48e8 in recursive_edit_1 () at keyboard.c:952
#17 0x00000001000b4ad9 in Frecursive_edit () at keyboard.c:1014
#18 0x00000001000b2d08 in main (argc=5, argv=0x7fff5fbff620) at emacs.c:1827

Lisp Backtrace:
0xc4b6c9 Lisp type 1
"defvaralias" (0x5fbfe6f8)
"load" (0x5fbfeb70)
"load" (0x5fbff0d0)

YAMAMOTO Mitsuharu wrote:

> I think the failure at startup.elc is due to the following change:
>
> 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
>
> 	* emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
>
> Could you try the patch below if it gives a good result?
>

It does indeed.

	Jan D.




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

* Re: Bootstrap failure
  2009-11-15  3:48           ` YAMAMOTO Mitsuharu
@ 2009-11-15 12:10             ` Bruce Stephens
  2009-11-15 14:56             ` Romain Francoise
  1 sibling, 0 replies; 38+ messages in thread
From: Bruce Stephens @ 2009-11-15 12:10 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: Jan Djärv, Stefan Monnier, emacs-devel

YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

[...]

> I think the failure at startup.elc is due to the following change:
>
> 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
>
> 	* emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
>
> Could you try the patch below if it gives a good result?

That works for me, too.

[...]





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

* Re: Bootstrap failure
  2009-11-15  3:48           ` YAMAMOTO Mitsuharu
  2009-11-15 12:10             ` Bruce Stephens
@ 2009-11-15 14:56             ` Romain Francoise
  1 sibling, 0 replies; 38+ messages in thread
From: Romain Francoise @ 2009-11-15 14:56 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu
  Cc: Bruce Stephens, Jan Djärv, Stefan Monnier, emacs-devel

YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

> Could you try the patch below if it gives a good result?

Works for me, thanks!




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

* Bootstrap failure
@ 2009-12-08  0:14 Angelo Graziosi
  0 siblings, 0 replies; 38+ messages in thread
From: Angelo Graziosi @ 2009-12-08  0:14 UTC (permalink / raw)
  To: Emacs

Current CVS head fails in bootstrapping as follows:

[...]
Wrote /tmp/emacs/lisp/progmodes/simula.elc
make[2]: *** No rule to make target 
`/tmp/emacs/lisp/progmodes/sym-comp.elc', needed by `compile-main'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Compiling /tmp/emacs/lisp/progmodes/subword.el
Wrote /tmp/emacs/lisp/progmodes/sh-script.elc
Wrote /tmp/emacs/lisp/progmodes/subword.elc
Wrote /tmp/emacs/lisp/progmodes/sql.elc
make[2]: Leaving directory `/tmp/emacs/build/lisp'
make[1]: *** [lisp] Error 2
make[1]: Leaving directory `/tmp/emacs/build'
make: *** [bootstrap] Error 2


In the tree, 'sym-comp.el' is located into 'obsolete' directory... 
perhaps this is the reason...

--------------
2009-12-07  Stefan Monnier  <>

         [...]
	* progmodes/sym-comp.el: Move to...
	* obsolete/sym-comp.el: Move from progmodes.

--------------

Ciao,
Angelo.




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

* bootstrap failure
@ 2010-04-20 17:28 Juanma Barranquero
  2010-04-20 18:31 ` Stefan Monnier
  0 siblings, 1 reply; 38+ messages in thread
From: Juanma Barranquero @ 2010-04-20 17:28 UTC (permalink / raw)
  To: Emacs developers

Perhaps related to this change:

010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

        Make variable forwarding explicit rather the using special values.


Generating autoloads for diff.el...
Generating autoloads for diff.el...done
Making generated-autoload-file local to  *autoload-file* while let-bound!
make[1]: *** [autoloads] Error -1
make[1]: Leaving directory `C:/emacs/lisp'
make: *** [bootstrap-gmake] Error 2


    Juanma




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

* Re: bootstrap failure
  2010-04-20 17:28 Juanma Barranquero
@ 2010-04-20 18:31 ` Stefan Monnier
  2010-04-20 19:19   ` Juanma Barranquero
  0 siblings, 1 reply; 38+ messages in thread
From: Stefan Monnier @ 2010-04-20 18:31 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Emacs developers

> Generating autoloads for diff.el...
> Generating autoloads for diff.el...done
> Making generated-autoload-file local to  *autoload-file* while let-bound!

Should be "fixed" now (the warning should hopefully still appear).


        Stefan




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

* Re: bootstrap failure
  2010-04-20 18:31 ` Stefan Monnier
@ 2010-04-20 19:19   ` Juanma Barranquero
  0 siblings, 0 replies; 38+ messages in thread
From: Juanma Barranquero @ 2010-04-20 19:19 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs developers

On Tue, Apr 20, 2010 at 20:31, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> Should be "fixed" now

Yes, thanks.

> (the warning should hopefully still appear).

Yes, it does.

    Juanma




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

* bootstrap failure
@ 2010-05-06  9:07 Stephen Berman
  2010-05-07 17:52 ` Stefan Monnier
  0 siblings, 1 reply; 38+ messages in thread
From: Stephen Berman @ 2010-05-06  9:07 UTC (permalink / raw)
  To: emacs-devel

I just updated from the trunk, did 
configure --without-toolkit-scroll-bars 
then make bootstrap, which failed with these messages:

Loading /home/steve/bzr/emacs/quickfixes/lisp/files.el (source)...
Symbol's function definition is void: define-minor-mode
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/data/steve/lib/emacs/gtk/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/data/steve/lib/emacs/gtk'
make: *** [bootstrap] Error 2

I assume this is due to an oversight involving this change:

2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (completion--sreverse, completion--common-suffix):
	New functions.
	(completion-pcm--merge-completions): Extract common suffix when safe.

	* emacs-lisp/easy-mmode.el (define-minor-mode):
	Make :variable more flexible.
	* files.el (auto-save-mode): Use it to define using define-minor-mode.

and not a real bug, that's why I'm reporting it here.

Steve Berman





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

* Re: bootstrap failure
@ 2010-05-06 23:50 Angelo Graziosi
  2010-05-07  0:14 ` Juanma Barranquero
  0 siblings, 1 reply; 38+ messages in thread
From: Angelo Graziosi @ 2010-05-06 23:50 UTC (permalink / raw)
  To: Emacs

Stephen Berman wrote:
> I just updated from the trunk
> [...]
> then make bootstrap, which failed with these messages:
>
> Loading /home/steve/bzr/emacs/quickfixes/lisp/files.el (source)...
> Symbol's function definition is void: define-minor-mode
> make[2]: *** [bootstrap-emacs] Error 255
> make[2]: Leaving directory `/data/steve/lib/emacs/gtk/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/data/steve/lib/emacs/gtk'
> make: *** [bootstrap] Error 2

Same problem here, on Cygwin, GTK build:

${source_dir}/configure --prefix=${prefix_dir}

So, even enabling scroll-bars, the trunk bootstrap fails. :(

Ciao,
Angelo.




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

* Re: bootstrap failure
  2010-05-06 23:50 bootstrap failure Angelo Graziosi
@ 2010-05-07  0:14 ` Juanma Barranquero
  0 siblings, 0 replies; 38+ messages in thread
From: Juanma Barranquero @ 2010-05-07  0:14 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Emacs

On Fri, May 7, 2010 at 01:50, Angelo Graziosi <angelo.graziosi@alice.it> wrote:

> So, even enabling scroll-bars, the trunk bootstrap fails. :(

It's not related to the scrollbars, but the auto-save-mode change, as
Stephen pointed out.

I think just reverting this part of the commit is enough to bootstrap.

    Juanma


=== modified file 'lisp/files.el'
--- lisp/files.el	2010-05-06 23:14:54 +0000
+++ lisp/files.el	2010-05-06 02:53:56 +0000
@@ -5150,29 +5150,25 @@
         (kill-buffer-ask buffer)))))


-(defun auto-save-mode (arg)
+(define-minor-mode auto-save-mode
   "Toggle auto-saving of contents of current buffer.
 With prefix argument ARG, turn auto-saving on if positive, else off."
-  (interactive "P")
-  (setq buffer-auto-save-file-name
-        (and (if (null arg)
-		 (or (not buffer-auto-save-file-name)
-		     ;; If auto-save is off because buffer has shrunk,
-		     ;; then toggling should turn it on.
-		     (< buffer-saved-size 0))
-	       (or (eq arg t) (listp arg) (and (integerp arg) (> arg 0))))
-	     (if (and buffer-file-name auto-save-visited-file-name
-		      (not buffer-read-only))
-		 buffer-file-name
-	       (make-auto-save-file-name))))
+  :variable ((and buffer-auto-save-file-name
+                  ;; If auto-save is off because buffer has shrunk,
+                  ;; then toggling should turn it on.
+                  (>= buffer-saved-size 0))
+             . (lambda (val)
+                 (setq buffer-auto-save-file-name
+                       (cond
+                        ((null val) nil)
+                        ((and buffer-file-name auto-save-visited-file-name
+                              (not buffer-read-only))
+                         buffer-file-name)
+                        (t (make-auto-save-file-name))))))
   ;; If -1 was stored here, to temporarily turn off saving,
   ;; turn it back on.
   (and (< buffer-saved-size 0)
-       (setq buffer-saved-size 0))
-  (if (called-interactively-p 'interactive)
-      (message "Auto-save %s (in this buffer)"
-	       (if buffer-auto-save-file-name "on" "off")))
-  buffer-auto-save-file-name)
+       (setq buffer-saved-size 0)))

 (defun rename-auto-save-file ()
   "Adjust current buffer's auto save file name for current conditions.




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

* Re: bootstrap failure
  2010-05-06  9:07 Stephen Berman
@ 2010-05-07 17:52 ` Stefan Monnier
  2010-05-07 21:19   ` Stephen Berman
  0 siblings, 1 reply; 38+ messages in thread
From: Stefan Monnier @ 2010-05-07 17:52 UTC (permalink / raw)
  To: Stephen Berman; +Cc: emacs-devel

> Loading /home/steve/bzr/emacs/quickfixes/lisp/files.el (source)...
> Symbol's function definition is void: define-minor-mode

Thanks for telling me (I rarely find the courage to bootstrap).
Should be fixed now,


        Stefan




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

* Re: bootstrap failure
  2010-05-07 17:52 ` Stefan Monnier
@ 2010-05-07 21:19   ` Stephen Berman
  0 siblings, 0 replies; 38+ messages in thread
From: Stephen Berman @ 2010-05-07 21:19 UTC (permalink / raw)
  To: emacs-devel

On Fri, 07 May 2010 13:52:05 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> Loading /home/steve/bzr/emacs/quickfixes/lisp/files.el (source)...
>> Symbol's function definition is void: define-minor-mode
>
> Thanks for telling me (I rarely find the courage to bootstrap).
> Should be fixed now,

It is; thanks!

Steve Berman





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

* Bootstrap failure
@ 2013-11-25 18:54 Dani Moncayo
  2013-11-25 18:56 ` Paul Eggert
  0 siblings, 1 reply; 38+ messages in thread
From: Dani Moncayo @ 2013-11-25 18:54 UTC (permalink / raw)
  To: Emacs development discussions; +Cc: bozhidar

make[2]: Entering directory `/home/dani/emacs/build/lisp'
Compiling ../../repo/src/../lisp/emacs-lisp/byte-run.el
../../repo/lisp/emacs-lisp/bytecomp.el:Warning: Unused lexical
variable `interactive-onaly'
In toplevel form:
../../repo/lisp/emacs-lisp/byte-run.el:36:2:Error: Symbol's value as
variable is void: interactive-only
Makefile:248: recipe for target `compile-onefile' failed
make[2]: *** [compile-onefile] Error 1
make[2]: Leaving directory `/home/dani/emacs/build/lisp'
Makefile:788: recipe for target
`../../repo/src/../lisp/emacs-lisp/byte-run.elc' failed
make[1]: *** [../../repo/src/../lisp/emacs-lisp/byte-run.elc] Error 2
make[1]: Leaving directory `/home/dani/emacs/build/src'
Makefile:378: recipe for target `src' failed
make: *** [src] Error 2


-- 
Dani Moncayo



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

* Re: Bootstrap failure
  2013-11-25 18:54 Dani Moncayo
@ 2013-11-25 18:56 ` Paul Eggert
  2013-11-25 19:18   ` Dani Moncayo
  0 siblings, 1 reply; 38+ messages in thread
From: Paul Eggert @ 2013-11-25 18:56 UTC (permalink / raw)
  To: Dani Moncayo, Emacs development discussions; +Cc: bozhidar

Should be working now; Bozhidar installed a fix.



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

* Re: Bootstrap failure
  2013-11-25 18:56 ` Paul Eggert
@ 2013-11-25 19:18   ` Dani Moncayo
  0 siblings, 0 replies; 38+ messages in thread
From: Dani Moncayo @ 2013-11-25 19:18 UTC (permalink / raw)
  To: Paul Eggert; +Cc: bozhidar, Emacs development discussions

> Should be working now; Bozhidar installed a fix.

Yes, it's fixed; thanks.

-- 
Dani Moncayo



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

* Bootstrap failure
       [not found] <874jmxy7iy.fsf.ref@yahoo.com>
@ 2023-06-24  1:27 ` Po Lu
  2023-06-24  2:25   ` Michael Heerdegen
  2023-06-24 23:49   ` Michael Heerdegen
  0 siblings, 2 replies; 38+ messages in thread
From: Po Lu @ 2023-06-24  1:27 UTC (permalink / raw)
  To: emacs-devel

I've been getting:

Loading emacs-lisp/debug-early (source)...
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading keymap (source)...
Loading version (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading international/mule (source)...
Loading international/mule-conf (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading window (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/files.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/macroexp.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/pcase.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/macroexp.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/cus-face.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/faces.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/ldefs-boot.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/button.el (source)...
Loading /home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/cl-preloaded.el (source)...
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl--struct-class-p: Handler: cl--struct-class-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)
Warning: Optimization failure for cl-slot-descriptor-p: Handler: cl-slot-descriptor-p--cmacro
(void-function seq-some)

Error: error ("Eager macro-expansion failure: (void-function seq-some)")
  mapbacktrace((closure ((prin1 . prin1) t) (evald func args _flags) (let ((args args)) (if evald (progn (princ "  ") (funcall prin1 func) (princ "(")) (progn (princ "  (") (setq args (cons func args)))) (if args (while (progn (funcall prin1 (car args)) (setq args (cdr args))) (princ " "))) (princ ")\n"))))
  (let ((print-escape-newlines t) (print-escape-control-characters t) (print-escape-nonascii t) (prin1 (if (and (fboundp 'cl-prin1) (fboundp 'cl-defmethod) (condition-case nil (require 'cl-print) (error nil))) #'cl-prin1 #'prin1))) (mapbacktrace #'(lambda (evald func args _flags) (let ((args args)) (if evald (progn (princ "  ") (funcall prin1 func) (princ "(")) (progn (princ "  (") (setq args (cons func args)))) (if args (while (progn (funcall prin1 (car args)) (setq args (cdr args))) (princ " "))) (princ ")\n")))))
  debug-early-backtrace()
  debug-early(error (error "Eager macro-expansion failure: (void-function seq-some)"))
  signal(error ("Eager macro-expansion failure: (void-function seq-some)"))
  error("Eager macro-expansion failure: %S" (void-function seq-some))
  (condition-case err (let ((macroexp--pending-eager-loads (cons load-file-name macroexp--pending-eager-loads))) (if full-p (macroexpand--all-toplevel form) (macroexpand form))) (error (error "Eager macro-expansion failure: %S" err) form))
  (cond ((eq 'skip (car macroexp--pending-eager-loads)) form) ((and load-file-name (member load-file-name macroexp--pending-eager-loads)) (let* ((bt (delq nil (mapcar #'macroexp--trim-backtrace-frame (macroexp--backtrace)))) (elem (list 'load (file-name-nondirectory load-file-name))) (tail (member elem (cdr (member elem bt))))) (if tail (setcdr tail (list '…))) (if (eq (car-safe (car bt)) 'macroexpand-all) (setq bt (cdr bt))) (if macroexp--debug-eager (debug 'eager-macroexp-cycle) (error "Eager macro-expansion skipped due to cycle:\n  %s" (mapconcat #'prin1-to-string (nreverse bt) " => "))) (setq macroexp--pending-eager-loads (cons 'skip macroexp--pending-eager-loads)) form)) (t (condition-case err (let ((macroexp--pending-eager-loads (cons load-file-name macroexp--pending-eager-loads))) (if full-p (macroexpand--all-toplevel form) (macroexpand form))) (error (error "Eager macro-expansion failure: %S" err) form))))
  (let ((symbols-with-pos-enabled t) (print-symbols-bare t)) (cond ((eq 'skip (car macroexp--pending-eager-loads)) form) ((and load-file-name (member load-file-name macroexp--pending-eager-loads)) (let* ((bt (delq nil (mapcar #'macroexp--trim-backtrace-frame (macroexp--backtrace)))) (elem (list 'load (file-name-nondirectory load-file-name))) (tail (member elem (cdr (member elem bt))))) (if tail (setcdr tail (list '…))) (if (eq (car-safe (car bt)) 'macroexpand-all) (setq bt (cdr bt))) (if macroexp--debug-eager (debug 'eager-macroexp-cycle) (error "Eager macro-expansion skipped due to cycle:\n  %s" (mapconcat #'prin1-to-string (nreverse bt) " => "))) (setq macroexp--pending-eager-loads (cons 'skip macroexp--pending-eager-loads)) form)) (t (condition-case err (let ((macroexp--pending-eager-loads (cons load-file-name macroexp--pending-eager-loads))) (if full-p (macroexpand--all-toplevel form) (macroexpand form))) (error (error "Eager macro-expansion failure: %S" err) form)))))
  internal-macroexpand-for-load((defalias 'cl--copy-slot-descriptor #'(lambda (slot) (let ((new (cl--copy-slot-descriptor-1 slot))) (cl-callf copy-alist (cl--slot-descriptor-props new)) new))) t)
  eval-buffer(#<buffer  *load*> nil "/home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/cl-preloaded.el" nil t)
  (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t))
  (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))
  (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t))))
  (unwind-protect (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (let (kill-buffer-hook kill-buffer-query-functions) (kill-buffer buffer)))
  (let ((buffer (generate-new-buffer " *load*")) (load-in-progress t) (source (string-suffix-p ".el" fullname))) (unless nomessage (if source (message "Loading %s (source)..." file) (message "Loading %s..." file))) (when purify-flag (push (purecopy file) preloaded-file-list)) (unwind-protect (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (let (kill-buffer-hook kill-buffer-query-functions) (kill-buffer buffer))) (do-after-load-evaluation fullname) (unless (or nomessage noninteractive) (if source (message "Loading %s (source)...done" file) (message "Loading %s...done" file))) t)
  (if (null (file-readable-p fullname)) (and (null noerror) (signal 'file-error (list "Cannot open load file" file))) (let ((buffer (generate-new-buffer " *load*")) (load-in-progress t) (source (string-suffix-p ".el" fullname))) (unless nomessage (if source (message "Loading %s (source)..." file) (message "Loading %s..." file))) (when purify-flag (push (purecopy file) preloaded-file-list)) (unwind-protect (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (let (kill-buffer-hook kill-buffer-query-functions) (kill-buffer buffer))) (do-after-load-evaluation fullname) (unless (or nomessage noninteractive) (if source (message "Loading %s (source)...done" file) (message "Loading %s...done" file))) t))
  load-with-code-conversion("/home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/cl-preloaded.el" "/home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/cl-preloaded.el" nil nil)
  load("emacs-lisp/cl-preloaded")
  load("loadup.el")

bootstrapping today's checkouts of both the android and master branches.
Would someone please look into this?

Thanks.



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

* Re: Bootstrap failure
  2023-06-24  1:27 ` Po Lu
@ 2023-06-24  2:25   ` Michael Heerdegen
  2023-06-24 23:49   ` Michael Heerdegen
  1 sibling, 0 replies; 38+ messages in thread
From: Michael Heerdegen @ 2023-06-24  2:25 UTC (permalink / raw)
  To: emacs-devel

Po Lu <luangruo@yahoo.com> writes:

> [...]
>   load-with-code-conversion("/home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/cl-preloaded.el"
> "/home/staff/emacs-dev/emacs-android/lisp/emacs-lisp/cl-preloaded.el"
> nil nil)
>   load("emacs-lisp/cl-preloaded")
>   load("loadup.el")
>
> bootstrapping today's checkouts of both the android and master branches.
> Would someone please look into this?

I think this is due to Stefan's fix of Bug#47552.

Michael.




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

* Re: Bootstrap failure
  2023-06-24  1:27 ` Po Lu
  2023-06-24  2:25   ` Michael Heerdegen
@ 2023-06-24 23:49   ` Michael Heerdegen
  1 sibling, 0 replies; 38+ messages in thread
From: Michael Heerdegen @ 2023-06-24 23:49 UTC (permalink / raw)
  To: emacs-devel

Po Lu <luangruo@yahoo.com> writes:

> Would someone please look into this?

Stefan did: it's fixed.

Michael.




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

* Bootstrap failure
       [not found] <s0d1qc1xxa1.fsf.ref@yahoo.com>
@ 2023-12-05  1:17 ` Po Lu
  2023-12-05  3:32   ` Eli Zaretskii
  0 siblings, 1 reply; 38+ messages in thread
From: Po Lu @ 2023-12-05  1:17 UTC (permalink / raw)
  To: emacs-devel

This morning's checkout cannot bootstrap, terminating with the following
error message:

Loading /home/androidbuilds/emacs-dev/emacs-android/emacs/lisp/international/iso-transl.el (source)...

Error: error ("Preload advice on insert-directory")
  mapbacktrace((closure ((prin1 . cl-prin1) t) (evald func args _flags) (let ((args args)) (if evald (progn (princ "  ") (funcall prin1 func) (princ "(")) (progn (princ "  (") (setq args (cons func args)))) (if args (while (progn (funcall prin1 (car args)) (setq args (cdr args))) (princ " "))) (princ ")\n"))))
  (let ((print-escape-newlines t) (print-escape-control-characters t) (print-escape-nonascii t) (prin1 (if (and (fboundp 'cl-prin1) (fboundp 'cl-defmethod) (condition-case nil (require 'cl-print) (error nil))) #'cl-prin1 #'prin1))) (mapbacktrace #'(lambda (evald func args _flags) (let ((args args)) (if evald (progn (princ "  ") (funcall prin1 func) (princ "(")) (progn (princ "  (") (setq args (cons func args)))) (if args (while (progn (funcall prin1 (car args)) (setq args (cdr args))) (princ " "))) (princ ")\n")))))
  debug-early-backtrace()
  debug-early(error (error "Preload advice on insert-directory"))
  signal(error ("Preload advice on insert-directory"))
  error("Preload advice on %s" insert-directory)
  (and (advice--p (symbol-function f)) (error "Preload advice on %s" f))
  (closure (t) (f) (and (advice--p (symbol-function f)) (error "Preload advice on %s" f)))(insert-directory)
  mapatoms((closure (t) (f) (and (advice--p (symbol-function f)) (error "Preload advice on %s" f))))
  load("loadup.el")
Preload advice on insert-directory

If this is relevant, it's an out of tree build.  One of many that
execute to generate Android prebuilts.



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

* Re: Bootstrap failure
  2023-12-05  1:17 ` Po Lu
@ 2023-12-05  3:32   ` Eli Zaretskii
  0 siblings, 0 replies; 38+ messages in thread
From: Eli Zaretskii @ 2023-12-05  3:32 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> From: Po Lu <luangruo@yahoo.com>
> Date: Tue, 05 Dec 2023 09:17:58 +0800
> 
> This morning's checkout cannot bootstrap, terminating with the following
> error message:
> 
> Loading /home/androidbuilds/emacs-dev/emacs-android/emacs/lisp/international/iso-transl.el (source)...
> 
> Error: error ("Preload advice on insert-directory")

See bug#67005.



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

end of thread, other threads:[~2023-12-05  3:32 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-05 13:17 Bootstrap failure Jérôme Marant
2004-12-05 15:24 ` Luc Teirlinck
2004-12-05 15:28   ` Luc Teirlinck
2004-12-05 15:55   ` Luc Teirlinck
2004-12-05 18:16   ` Jérôme Marant
     [not found] <s0d1qc1xxa1.fsf.ref@yahoo.com>
2023-12-05  1:17 ` Po Lu
2023-12-05  3:32   ` Eli Zaretskii
     [not found] <874jmxy7iy.fsf.ref@yahoo.com>
2023-06-24  1:27 ` Po Lu
2023-06-24  2:25   ` Michael Heerdegen
2023-06-24 23:49   ` Michael Heerdegen
  -- strict thread matches above, loose matches on Subject: below --
2013-11-25 18:54 Dani Moncayo
2013-11-25 18:56 ` Paul Eggert
2013-11-25 19:18   ` Dani Moncayo
2010-05-06 23:50 bootstrap failure Angelo Graziosi
2010-05-07  0:14 ` Juanma Barranquero
2010-05-06  9:07 Stephen Berman
2010-05-07 17:52 ` Stefan Monnier
2010-05-07 21:19   ` Stephen Berman
2010-04-20 17:28 Juanma Barranquero
2010-04-20 18:31 ` Stefan Monnier
2010-04-20 19:19   ` Juanma Barranquero
2009-12-08  0:14 Bootstrap failure Angelo Graziosi
2009-11-12 10:44 Romain Francoise
2009-11-12 20:36 ` Sven Joachim
2009-11-14 15:14   ` Chong Yidong
2009-11-14 19:49     ` Bruce Stephens
2009-11-14 20:33       ` Jan Djärv
2009-11-15  1:31         ` Stefan Monnier
2009-11-15  3:48           ` YAMAMOTO Mitsuharu
2009-11-15 12:10             ` Bruce Stephens
2009-11-15 14:56             ` Romain Francoise
2009-11-15  9:30           ` Jan Djärv
2004-12-14  7:30 Dee Zsombor
2004-11-20  0:14 bootstrap failure Luc Teirlinck
2004-11-20  1:24 ` Andreas Schwab
2004-11-20  1:29   ` Luc Teirlinck
2004-11-20 10:38     ` Thien-Thi Nguyen
2004-11-20  3:07   ` Luc Teirlinck

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