emacs-unicode-2 bootstrap failed on windows-xp

2007-01-10 Thread Zhang Wei

[...]
Directory international
Directory language
Directory mail
Directory mh-e
Directory net
Directory play
Directory progmodes
Directory term
Directory textmodes
Directory url
Directory obsolete
Generating cus-load.el...
Saving file d:/emacs-unicode-2/lisp/cus-load.el...
Loading vc-cvs...
Wrote d:/emacs-unicode-2/lisp/cus-load.el
Generating cus-load.el...done
rm ./../bin/emacs.exe
make[1]: Leaving directory `D:/emacs-unicode-2/lisp'
make  -C ../lib-src DOC
make[1]: *** No rule to make target `stamp_BLD', needed by `DOC'.  Stop.
make[1]: Entering directory `D:/emacs-unicode-2/lib-src'
make[1]: Leaving directory `D:/emacs-unicode-2/lib-src'
make: *** [bootstrap-gmake] Error 2


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-25 Thread Eli Zaretskii
 From: Zhang Wei [EMAIL PROTECTED]
 Date: Mon, 25 Dec 2006 14:29:09 +0800
 
 I removed the src/config.h and run configure.bat to regenerate it agian,
 this time make bootstrap succeed, thanks.

Thanks for testing.

It looks like configure.bat is too simpleminded about when to replace
src/config.h, I will try to think about a better way.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-24 Thread Eli Zaretskii
 From: Zhang Wei [EMAIL PROTECTED]
 Date: Sun, 24 Dec 2006 13:40:05 +0800
 
 The cvs code could bootstrap without any problem with my system
 configuration untill the day before yesterday, so I don't think there's
 any problem with the version of make or developing environment.

I didn't mean to say there was any problem, I'm just trying to
understand what is wrong, before drawing any conclusions.  You are
describing very strange problems, which I cannot reproduce, so I must
rely on your help to debug them.

Could you please answer my questions about the configuration of your
Make binary and where you got it from, and also what does make which-sh
produce in the nt/ subdirectory?  Thanks in advance.

 I removed all the makefile.w32-in files and run cvs up -kb to obtain
 them again, this time bootstrap failed at here:
 
 --8---cut here---start-8---
 [...]
 Generating cus-load.el...
 Saving file d:/download/emacs-gbk/lisp/cus-load.el...
 Loading vc-cvs...
 Wrote d:/download/emacs-gbk/lisp/cus-load.el
 Generating cus-load.el...done
 rm ./../bin/emacs.exe
 make[1]: Leaving directory `D:/download/emacs-gbk/lisp'
 make   -C ../lib-src DOC
 make[1]: Entering directory `D:/download/emacs-gbk/lib-src'
 mkdir oo-spd
 mkdir oo-spd/i386
 echo oo-spd/i386  stamp_BLD
 echo config.nt has changed.  Re-run configure.bat.
 config.nt has changed.  Re-run configure.bat.
 exit -1

This happens when nt/config.nt is newer than src/config.h.  Normally,
nt/config.nt can never be newer than src/config.h, since configure.bat
copies the former into the latter.  Could you please look and see what
are the full time stamps of these two files?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-24 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes:

 Could you please answer my questions about the configuration of your
 Make binary and where you got it from, and also what does make which-sh
 produce in the nt/ subdirectory?  Thanks in advance.

I use the following packages:

MinGW-3.1.0-1.exe
mingw32-make-3.80.0-3.exe

downloaded from http://www.mingw.org/download.shtml

D:\download\emacs-gbk\ntmake which-sh
Using C:\WINDOWS\system32\cmd.exe as shell.

 This happens when nt/config.nt is newer than src/config.h.  Normally,
 nt/config.nt can never be newer than src/config.h, since configure.bat
 copies the former into the latter.  Could you please look and see what
 are the full time stamps of these two files?

yes, indeed nt/config.nt is newer than src/config.h:
config.nt 2006-12-24, 13:58:08
config.h  2006-11-26, 5:10:24


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-24 Thread Eli Zaretskii
 From: Zhang Wei [EMAIL PROTECTED]
 Date: Mon, 25 Dec 2006 04:42:53 +0800
 
 I use the following packages:
 
 MinGW-3.1.0-1.exe
 mingw32-make-3.80.0-3.exe
 
 downloaded from http://www.mingw.org/download.shtml
 
 D:\download\emacs-gbk\ntmake which-sh
 Using C:\WINDOWS\system32\cmd.exe as shell.

Thanks.

  This happens when nt/config.nt is newer than src/config.h.  Normally,
  nt/config.nt can never be newer than src/config.h, since configure.bat
  copies the former into the latter.  Could you please look and see what
  are the full time stamps of these two files?
 
 yes, indeed nt/config.nt is newer than src/config.h:
 config.nt 2006-12-24, 13:58:08
 config.h  2006-11-26, 5:10:24

Did you run nt/configure.bat after you updated the files yesterday?
If not, could you please run configure.bat and see if the time stamp
of src/config.h is updated?

If re-running configure.bat doesn't change the time stamp of
src/config.h, then either type touch src/config.h, or remove
src/config.h and re-run configure.bat.  Then try make bootstrap
again.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-24 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes:

 Did you run nt/configure.bat after you updated the files yesterday?
 If not, could you please run configure.bat and see if the time stamp
 of src/config.h is updated?

Run nt/configure.bat doesn't update src/config.h.

 If re-running configure.bat doesn't change the time stamp of
 src/config.h, then either type touch src/config.h, or remove
 src/config.h and re-run configure.bat.  Then try make bootstrap
 again.

I removed the src/config.h and run configure.bat to regenerate it agian,
this time make bootstrap succeed, thanks.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-23 Thread Eli Zaretskii
 From: Zhang Wei [EMAIL PROTECTED]
 Date: Sat, 23 Dec 2006 15:17:43 +0800
 
 D:\download\emacs-gbk\ntmake bootstrap
 mkdir oo-spd
 mkdir oo-spd/i386
 echo oo-spd/i386  stamp_BLD
 ', needed by `addsection'.  Stop.`oo-spd/i386/addsection.exe
 
 D:\download\emacs-gbk\nt

Thanks for reporting.

I cannot reproduce this on my machine.  Is this the CVS code (and if
so, when did you checkout), or the 22.0.92 pretest?

Also, what versions of Make and shell (if any) did you use in this
build?

Finally, please try the command make -d bootstrap 21 | tee build.log
and post here the full contents of the file build.log.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-23 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes:

 I cannot reproduce this on my machine.  Is this the CVS code (and if
 so, when did you checkout), or the 22.0.92 pretest?

The CVS code, updated.

 Also, what versions of Make and shell (if any) did you use in this
 build?

D:\download\emacs-gbk\ntmake -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

shell is cmd.

 Finally, please try the command make -d bootstrap 21 | tee build.log
 and post here the full contents of the file build.log.

GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Reading makefile `makefile'...
Creating temporary batch file C:\DOCUME~1\zhangwei\LOCALS~1\Temp\make34042.bat
CreateProcess(C:\DOCUME~1\zhangwei\LOCALS~1\Temp\make34042.bat,C:\DOCUME~1\zhangwei\LOCALS~1\Temp\make34042.bat,...)
Cleaning up temporary batch file 
C:\DOCUME~1\zhangwei\LOCALS~1\Temp\make34042.bat
Updating makefiles
 Considering target file `makefile'.
  Looking for an implicit rule for `makefile'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.o'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.c'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.cc'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.cpp'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.p'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.f'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.r'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.s'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.mod'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.sh'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile,v'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `RCS/makefile,v'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `RCS/makefile'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `s.makefile'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `SCCS/s.makefile'.
  Trying pattern rule with stem `makefile'.
  Trying implicit prerequisite `makefile.o'.
  Looking for a rule with intermediate file `makefile.o'.
   Avoiding implicit rule recursion.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.c'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.cc'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.cpp'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.p'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.f'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.r'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.s'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.mod'.
   Trying pattern rule with stem `makefile.o'.
   Trying implicit prerequisite `makefile.o,v'.
   Trying pattern rule with stem `makefile.o'.
   Trying implicit prerequisite `RCS/makefile.o,v'.
   Trying pattern rule with stem `makefile.o'.
   Trying implicit prerequisite `RCS/makefile.o'.
   Trying pattern rule with stem `makefile.o'.
   Trying implicit prerequisite `s.makefile.o'.
   Trying pattern rule with stem `makefile.o'.
   Trying implicit prerequisite `SCCS/s.makefile.o'.
   Trying pattern rule with stem `makefile'.
   Trying implicit prerequisite `makefile.c'.
   Looking for a rule with intermediate file `makefile.c'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem `makefile'.
Trying implicit prerequisite `makefile.y'.
Trying pattern rule with stem `makefile'.
Trying implicit prerequisite `makefile.l'.
Trying pattern rule with stem `makefile'.
Trying implicit prerequisite `makefile.w'.
Trying pattern rule with stem `makefile'.
Trying implicit prerequisite `makefile.w'.
Trying pattern rule with stem `makefile.c'.
Trying implicit prerequisite `makefile.c,v'.
Trying pattern rule with stem `makefile.c'.
Trying implicit prerequisite `RCS/makefile.c,v'.
Trying pattern rule with stem `makefile.c'.
Trying implicit prerequisite `RCS/makefile.c'.
Trying pattern rule with stem 

Re: bootstrap failed on Windows XP

2006-12-23 Thread Eli Zaretskii
 From: Zhang Wei [EMAIL PROTECTED]
 Date: Sat, 23 Dec 2006 18:24:30 +0800
 
 D:\download\emacs-gbk\ntmake -v
 GNU Make 3.80

I don't recommend this version for building the Windows port.  Can you
upgrade to Make 3.81?  Note that nt/INSTALL says in its compatibility
table:
 sh exists no sh

mingw32 compiled make 3.80:  okay  unknown[6]

Also, where did you get the binary of this version of Make?  If you
compiled it yourself, then with what compiler, and what W32-specific
options in config.h.W32 (near its end) did you turn on before
compiling Make?

 shell is cmd.

I don't think Make 3.80 can use CMD reliably (v3.81 does support
that).  What does Make say, if you type the following command in the
nt/ subdirectory:

make which-sh

 Considering target file `oo-spd/i386/addsection.exe
 '.
  File `oo-spd/i386/addsection.exe
 ' does not exist.

Here's your problem, right there: there's a newline embedded in the
target's name, after the .exe suffix.  Make is trying to build
addsection.exeNL, which of course cannot succeed.

How did this happen?  Did you checkout the CVS tree with the -kb
option to cvs up or cvs co?  If not, some of your files in the nt/
subdirectory might have strange line endings.  Can you please take a
closer look at nt/makefile.w32-in and the file nt/makefile produced
from it, and see what kind of characters are found there at the end of
each line, and in particular at the end of this line:

addsection:   stamp_BLD $(BLD)/addsection.exe

TIA


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: bootstrap failed on Windows XP

2006-12-23 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes:

 How did this happen?  Did you checkout the CVS tree with the -kb
 option to cvs up or cvs co?  If not, some of your files in the nt/
 subdirectory might have strange line endings.  Can you please take a
 closer look at nt/makefile.w32-in and the file nt/makefile produced
 from it, and see what kind of characters are found there at the end of
 each line, and in particular at the end of this line:

 addsection: stamp_BLD $(BLD)/addsection.exe

The cvs code could bootstrap without any problem with my system
configuration untill the day before yesterday, so I don't think there's
any problem with the version of make or developing environment.

I removed all the makefile.w32-in files and run cvs up -kb to obtain
them again, this time bootstrap failed at here:

--8---cut here---start-8---
[...]
Generating cus-load.el...
Saving file d:/download/emacs-gbk/lisp/cus-load.el...
Loading vc-cvs...
Wrote d:/download/emacs-gbk/lisp/cus-load.el
Generating cus-load.el...done
rm ./../bin/emacs.exe
make[1]: Leaving directory `D:/download/emacs-gbk/lisp'
make   -C ../lib-src DOC
make[1]: Entering directory `D:/download/emacs-gbk/lib-src'
mkdir oo-spd
mkdir oo-spd/i386
echo oo-spd/i386  stamp_BLD
echo config.nt has changed.  Re-run configure.bat.
config.nt has changed.  Re-run configure.bat.
exit -1
make[1]: *** [../src/config.h] Error -1
make[1]: Leaving directory `D:/download/emacs-gbk/lib-src'
make: *** [bootstrap-gmake] Error 2
--8---cut here---end---8---


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


bootstrap failed on Windows XP

2006-12-22 Thread Zhang Wei
--8---cut here---start-8---
D:\download\emacs-gbk\ntconfigure --with-gcc --no-cygwin --no-debug
Checking for 'cp'...
Checking for 'rm'...
系统找不到指定的文件。
Checking whether W32 API headers are too old...

D:\download\emacs-gbk\ntgcc  -mno-cygwin -c junk.c
Using 'gcc'
Checking for libpng...
...PNG header available, building with PNG support.
Checking for jpeg-6b...
...JPEG header available, building with JPEG support.
Checking for libgif...
...GIF header available, building with GIF support.
Checking for tiff...
...TIFF header available, building with TIFF support.
Checking for libXpm...
...XPM header available, building with XPM support.
Generating makefiles
已复制 1 个文件。
config.settings
gmake.defs
..\nt\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\lib-src\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\src\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\man\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\lispref\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\lispintro\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\lisp\makefile.w32-in
已复制 1 个文件。
config.settings
gmake.defs
..\leim\makefile.w32-in
已复制 1 个文件。

Emacs successfully configured.
Run `gmake' to build, then run `gmake install' to install.

D:\download\emacs-gbk\ntmake bootstrap
mkdir oo-spd
mkdir oo-spd/i386
echo oo-spd/i386  stamp_BLD
', needed by `addsection'.  Stop.`oo-spd/i386/addsection.exe

D:\download\emacs-gbk\nt
--8---cut here---end---8---


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Emacs/etc/DEBUG for instructions.


In GNU Emacs 22.0.92.1 (i386-mingw-nt5.1.2600)
 of 2006-12-22 on BREP
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.2)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: CHS
  locale-coding-system: cp936
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  shell-dirtrack-mode: t
  auto-image-file-mode: t
  display-time-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
return return return return return C-y prior 
prior prior prior prior prior prior prior 
C-@ C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-w 
next C-x C-b down down up return g M-x r 
e p o r t - e m a tab return

Recent messages:
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Mark set [2 times]
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Checking new news...
nnml: Reading incoming mail from pop...
nnml: Reading incoming mail (no new mail)...done
Checking new news...done
No gnus is bad news
Loading emacsbug...done


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug