unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* current CVS bootstrap broken?
@ 2003-09-30 14:39 Sam Steingold
  2003-09-30 17:03 ` Jason Rumney
  0 siblings, 1 reply; 12+ messages in thread
From: Sam Steingold @ 2003-09-30 14:39 UTC (permalink / raw)


Hi,
I cannot bootstrap Emacs on either rh9 or w2k.
I get

make - --unix -C ../leim all
[Please ignore a syntax error on the next line - it is intentional]
Syntax error: Unterminated quoted string
make[1]: Entering directory `/cygdrive/d/gnu/emacs-mingw/leim'
"./../src/oo-spd/i386/emacs.exe" -batch --no-init-file --no-site-file --multibyte -l /cygdrive/d/gnu/emacs-mingw/leim/../lisp/international/titdic-cnv \
    --eval '(batch-titdic-convert t)' \
    -dir quail ./CXTERM-DIC
Cannot open load file: encoded-kb
Signal 127

and

$ ../src/oo-spd/i386/emacs.exe
Symbol's value as variable is void: ccl-encode-unicode-font

with "make bootstrap" on both mingw and msvc on w2k and rh9.

[this is _after_ I added (load "emacs-lisp/derived") to loadup because
it was complaining on autoloading define-derived-mode during loadup]

please help!


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Ernqvat guvf ivbyngrf QZPN.

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

* Re: current CVS bootstrap broken?
  2003-09-30 14:39 current CVS bootstrap broken? Sam Steingold
@ 2003-09-30 17:03 ` Jason Rumney
  2003-10-01 13:55   ` Sam Steingold
  2003-10-01 14:54   ` Richard Stallman
  0 siblings, 2 replies; 12+ messages in thread
From: Jason Rumney @ 2003-09-30 17:03 UTC (permalink / raw)
  Cc: emacs-devel

Sam Steingold wrote:

> [this is _after_ I added (load "emacs-lisp/derived") to loadup because
> it was complaining on autoloading define-derived-mode during loadup]

I noticed quite a few non-interactive functions and defvars have had 
autoload cookies added lately. I can see the point of autoload cookies 
for interactive functions, and maybe some defcustoms, but I am not sure 
of the value of bloating loaddefs.el by autoloading non-interactive 
functions. I had some problems with bootstrapping and parse-time-string 
last night, which I didn't have time to debug fully, but I think it 
might be caused by the removal of a require for parse-time and addition 
of an autoload cookie instead.

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

* Re: current CVS bootstrap broken?
  2003-09-30 17:03 ` Jason Rumney
@ 2003-10-01 13:55   ` Sam Steingold
  2003-10-01 14:54   ` Richard Stallman
  1 sibling, 0 replies; 12+ messages in thread
From: Sam Steingold @ 2003-10-01 13:55 UTC (permalink / raw)


> * Jason Rumney <wnfbae@tah.bet> [2003-09-30 18:03:26 +0100]:
>
> Sam Steingold wrote:
> 
> > [this is _after_ I added (load "emacs-lisp/derived") to loadup because
> > it was complaining on autoloading define-derived-mode during loadup]
> 
> I noticed quite a few non-interactive functions and defvars have had
> autoload cookies added lately. I can see the point of autoload cookies
> for interactive functions, and maybe some defcustoms, but I am not
> sure of the value of bloating loaddefs.el by autoloading
> non-interactive functions. I had some problems with bootstrapping and
> parse-time-string last night, which I didn't have time to debug fully,
> but I think it might be caused by the removal of a require for
> parse-time and addition of an autoload cookie instead.

I had problems with parse-time too.

what about this:

Loading loadup.el (source)...
Using load-path (../lisp)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version.el (source)...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading env...
Loading cus-start...
Note, built-in variable `x-use-underline-position-properties' not bound
Loading international/mule...
Loading international/mule-conf.el (source)...
Loading format...
Loading bindings...
Loading files...
Wrong type argument: stringp, 0
NMAKE : fatal error U1077: '"d:\gnu\emacs\src/obj-spd/i386/temacs.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio\VC98\BIN\nmake.exe"' : return code '0x2'
Stop.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
If abortion is murder, then oral sex is cannibalism.

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

* Re: current CVS bootstrap broken?
  2003-09-30 17:03 ` Jason Rumney
  2003-10-01 13:55   ` Sam Steingold
@ 2003-10-01 14:54   ` Richard Stallman
  2003-10-01 15:09     ` Jason Rumney
  1 sibling, 1 reply; 12+ messages in thread
From: Richard Stallman @ 2003-10-01 14:54 UTC (permalink / raw)
  Cc: sds, emacs-devel

    I noticed quite a few non-interactive functions and defvars have had 
    autoload cookies added lately. I can see the point of autoload cookies 
    for interactive functions, and maybe some defcustoms, but I am not sure 
    of the value of bloating loaddefs.el by autoloading non-interactive 
    functions.

We make non-interactive functions autoloadable to make it easy to call
them.  We make variables preloaded so that programs can set them more
easily.

     I had some problems with bootstrapping and parse-time-string 
    last night, which I didn't have time to debug fully, but I think it 
    might be caused by the removal of a require for parse-time and addition 
    of an autoload cookie instead.

If that is the case, I suspect that the code is setting some variable
in the file parse-time.

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

* Re: current CVS bootstrap broken?
  2003-10-01 14:54   ` Richard Stallman
@ 2003-10-01 15:09     ` Jason Rumney
  2003-10-02  7:42       ` Andre Spiegel
  2003-10-02 10:17       ` Andreas Schwab
  0 siblings, 2 replies; 12+ messages in thread
From: Jason Rumney @ 2003-10-01 15:09 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman wrote:

>      I had some problems with bootstrapping and parse-time-string 
>     last night, which I didn't have time to debug fully, but I think it 
>     might be caused by the removal of a require for parse-time and addition 
>     of an autoload cookie instead.
> 
> If that is the case, I suspect that the code is setting some variable
> in the file parse-time.

It appears to be a chicken and egg problem. Maybe it can be solved by a 
change to loaddefs-boot.el?

The code is in vc-cvs.el, and is a call to parse-time-string which is 
now autoloaded. The problem encountered is that when Emacs tries to save 
loaddefs.el after generating it, it loads vc-cvs.el and tries to run the 
code in question. But since loaddefs.el has not been written yet, the 
autoload does not work, and parse-time-string is left undefined.

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

* Re: current CVS bootstrap broken?
  2003-10-01 15:09     ` Jason Rumney
@ 2003-10-02  7:42       ` Andre Spiegel
  2003-10-02  7:52         ` Jason Rumney
  2003-10-02 10:17       ` Andreas Schwab
  1 sibling, 1 reply; 12+ messages in thread
From: Andre Spiegel @ 2003-10-02  7:42 UTC (permalink / raw)
  Cc: rms, emacs-devel

On Wed, 2003-10-01 at 17:09, Jason Rumney wrote:

> The code is in vc-cvs.el, and is a call to parse-time-string which is 
> now autoloaded. The problem encountered is that when Emacs tries to save 
> loaddefs.el after generating it, it loads vc-cvs.el and tries to run the 
> code in question. But since loaddefs.el has not been written yet, the 
> autoload does not work, and parse-time-string is left undefined.

It is strange that VC should try to run vc-cvs-parse-entry when
loaddefs.el is saved, as you say.  That should only happen if
loaddefs.el was under CVS control, which it isn't.  Wasn't it taken out
of CVS just recently?  Could it be that some people still have it in
their CVS/Entries?

Does it really happen as you say?  Can you provide a stack trace?

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

* Re: current CVS bootstrap broken?
  2003-10-02  7:42       ` Andre Spiegel
@ 2003-10-02  7:52         ` Jason Rumney
  2003-10-02  8:01           ` Miles Bader
                             ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Jason Rumney @ 2003-10-02  7:52 UTC (permalink / raw)
  Cc: rms, emacs-devel

Andre Spiegel <spiegel@gnu.org> writes:

> It is strange that VC should try to run vc-cvs-parse-entry when
> loaddefs.el is saved, as you say.  That should only happen if
> loaddefs.el was under CVS control, which it isn't.  Wasn't it taken out
> of CVS just recently?  Could it be that some people still have it in
> their CVS/Entries?

/loaddefs.el/2.95/Sat Aug  9 10:21:06 2003/-kb/

Could this be a CVS bug then?

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

* Re: current CVS bootstrap broken?
  2003-10-02  7:52         ` Jason Rumney
@ 2003-10-02  8:01           ` Miles Bader
  2003-10-02  8:24           ` Andre Spiegel
  2003-10-02 12:30           ` Andreas Schwab
  2 siblings, 0 replies; 12+ messages in thread
From: Miles Bader @ 2003-10-02  8:01 UTC (permalink / raw)
  Cc: rms, Andre Spiegel, emacs-devel

Jason Rumney <jasonr@gnu.org> writes:
> > Wasn't it taken out of CVS just recently?  Could it be that some
> > people still have it in their CVS/Entries?
> 
> /loaddefs.el/2.95/Sat Aug  9 10:21:06 2003/-kb/
> 
> Could this be a CVS bug then?

Here's what I have:

   $ grep loaddefs lisp/CVS/Entries
   /loaddefs-boot.el/1.1/Mon Sep 15 05:36:56 2003//

-Miles
-- 
`Suppose Korea goes to the World Cup final against Japan and wins,' Moon said.
`All the past could be forgiven.'   [NYT]

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

* Re: current CVS bootstrap broken?
  2003-10-02  7:52         ` Jason Rumney
  2003-10-02  8:01           ` Miles Bader
@ 2003-10-02  8:24           ` Andre Spiegel
  2003-10-02 12:30           ` Andreas Schwab
  2 siblings, 0 replies; 12+ messages in thread
From: Andre Spiegel @ 2003-10-02  8:24 UTC (permalink / raw)
  Cc: rms, emacs-devel

On Thu, 2003-10-02 at 09:52, Jason Rumney wrote:

> /loaddefs.el/2.95/Sat Aug  9 10:21:06 2003/-kb/
> 
> Could this be a CVS bug then?

Since others don't seem to have that problem (neither do I), it could be
due to the way you update from the repository.  As far as I recall, any
"cvs update" on the lisp directory ought to remove the stale entry, but
"cvs update -d -P" should definitely do it.  Can you try that?

I just checked the cvs status of loaddefs.el, and it was indeed removed
at version 2.96 and placed into lisp/Attic on savannah.

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

* Re: current CVS bootstrap broken?
  2003-10-01 15:09     ` Jason Rumney
  2003-10-02  7:42       ` Andre Spiegel
@ 2003-10-02 10:17       ` Andreas Schwab
  2003-10-02 11:21         ` Jason Rumney
  1 sibling, 1 reply; 12+ messages in thread
From: Andreas Schwab @ 2003-10-02 10:17 UTC (permalink / raw)
  Cc: rms, emacs-devel

Jason Rumney <jasonr@gnu.org> writes:

> Richard Stallman wrote:
>
>>      I had some problems with bootstrapping and parse-time-string
>> last night, which I didn't have time to debug fully, but I think it
>> might be caused by the removal of a require for parse-time and addition
>> of an autoload cookie instead.
>> If that is the case, I suspect that the code is setting some variable
>> in the file parse-time.
>
> It appears to be a chicken and egg problem. Maybe it can be solved by a
> change to loaddefs-boot.el?

Yes, I think this file needs to be regenerated from time to time.  Please
try again now.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: current CVS bootstrap broken?
  2003-10-02 10:17       ` Andreas Schwab
@ 2003-10-02 11:21         ` Jason Rumney
  0 siblings, 0 replies; 12+ messages in thread
From: Jason Rumney @ 2003-10-02 11:21 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab wrote:

 >> Maybe it can be solved by a change to loaddefs-boot.el?
> 
> 
> Yes, I think this file needs to be regenerated from time to time.  Please
> try again now.

It works now, even with loaddefs.el in CVS/Entries. The reason
loaddefs.el hasn't gone from my working copy is that I had added
it to .cvsignore.

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

* Re: current CVS bootstrap broken?
  2003-10-02  7:52         ` Jason Rumney
  2003-10-02  8:01           ` Miles Bader
  2003-10-02  8:24           ` Andre Spiegel
@ 2003-10-02 12:30           ` Andreas Schwab
  2 siblings, 0 replies; 12+ messages in thread
From: Andreas Schwab @ 2003-10-02 12:30 UTC (permalink / raw)
  Cc: rms, Andre Spiegel, emacs-devel

Jason Rumney <jasonr@gnu.org> writes:

> Andre Spiegel <spiegel@gnu.org> writes:
>
>> It is strange that VC should try to run vc-cvs-parse-entry when
>> loaddefs.el is saved, as you say.  That should only happen if
>> loaddefs.el was under CVS control, which it isn't.  Wasn't it taken out
>> of CVS just recently?  Could it be that some people still have it in
>> their CVS/Entries?
>
> /loaddefs.el/2.95/Sat Aug  9 10:21:06 2003/-kb/
>
> Could this be a CVS bug then?

Is this file locally modified?  Then you should run "cvs up -C loaddefs.el".
CVS won't remove a file that is locally modified unless you told it to
discard the changes.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

end of thread, other threads:[~2003-10-02 12:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-30 14:39 current CVS bootstrap broken? Sam Steingold
2003-09-30 17:03 ` Jason Rumney
2003-10-01 13:55   ` Sam Steingold
2003-10-01 14:54   ` Richard Stallman
2003-10-01 15:09     ` Jason Rumney
2003-10-02  7:42       ` Andre Spiegel
2003-10-02  7:52         ` Jason Rumney
2003-10-02  8:01           ` Miles Bader
2003-10-02  8:24           ` Andre Spiegel
2003-10-02 12:30           ` Andreas Schwab
2003-10-02 10:17       ` Andreas Schwab
2003-10-02 11:21         ` Jason Rumney

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