* Some change in the past 24 hours broke building on Windows
@ 2007-02-04 19:13 Eric Lilja
2007-02-04 22:41 ` Jason Rumney
0 siblings, 1 reply; 9+ messages in thread
From: Eric Lilja @ 2007-02-04 19:13 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
Hi! Yesterday, I performed a fresh checkout and completed a bootstrap
build using the following script:
#!/bin/bash
export CVS_RSH="ssh"
touch ~/.cvspass
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
rm ~/.cvspass
cd emacs/nt/
./configure.bat --with-gcc --no-cygwin --no-debug
mingw32-make bootstrap --jobs=2 XMFLAGS="--jobs=2"
mingw32-make install
Today, I tried to do the same, but the build soon ends due to an error.
Complete log attached.
- Eric
[-- Attachment #2: log.txt --]
[-- Type: text/plain, Size: 6301 bytes --]
Run `gmake' to build, then run `gmake install' to install.
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -mno-cygwin -mtune=pentium4 -O2 -Di386 -D_CRTAPI1=_cdecl -o oo-spd/i386/addsec
tion.o addsection.c
gcc -o oo-spd/i386/addsection.exe \
-mno-cygwin oo-spd/i386/addsection.o -luser32
c:/mingw32-make-3.81-1/bin/mingw32-make -j 1 --jobs=2 -C ../lisp bootstrap-clean
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[1]: Entering directory `c:/cvsemacs/emacs/lisp'
c:/mingw32-make-3.81-1/bin/mingw32-make -wj 1 loaddefs.el-SH
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[2]: Entering directory `c:/cvsemacs/emacs/lisp'
echo ";;; loaddefs.el --- automatically extracted autoloads" > loaddefs.el-SH
echo ";;" >> loaddefs.el-SH; echo ";;; Code:" >> loaddefs.el-SH
echo "(autoload 'define-minor-mode \"easy-mmode\")" >>loaddefs.el-SH
echo "(autoload 'define-ccl-program \"ccl\")" >>loaddefs.el-SH
echo "(autoload 'regexp-opt \"regexp-opt\")" >>loaddefs.el-SH
echo "(autoload 'string-to-list \"mule-util\")" >>loaddefs.el-SH
echo "(autoload 'define-derived-mode \"derived\")" >>loaddefs.el-SH
echo "(autoload 'encoded-kbd-mode \"encoded-kb\")" >>loaddefs.el-SH
echo "(defvar cvs-global-menu nil)" >>loaddefs.el-SH
echo "â" >> loaddefs.el-SH
echo ";;; Local Variables:" >> loaddefs.el-SH
echo ";;; version-control: never" >> loaddefs.el-SH
echo ";;; no-byte-compile: t" >> loaddefs.el-SH
echo ";;; no-update-autoloads: t" >> loaddefs.el-SH
echo ";;; End:" >> loaddefs.el-SH
echo ";;; loaddefs.el ends here" >> loaddefs.el-SH
mingw32-make[2]: Leaving directory `c:/cvsemacs/emacs/lisp'
cp loaddefs.el-SH c:/cvsemacs/emacs/lisp/loaddefs.el
rm loaddefs.el-SH
c:/mingw32-make-3.81-1/bin/mingw32-make -wj 1 bootstrap-clean-SH
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[2]: Entering directory `c:/cvsemacs/emacs/lisp'
cp c:/cvsemacs/emacs/lisp/ldefs-boot.el c:/cvsemacs/emacs/lisp/loaddefs.el
for dir in . calc calendar emacs-lisp emulation erc eshell gnus international language mail mh-e net play progmodes term textmodes url obsolete; do
rm -f $dir/*.elc; done
mingw32-make[2]: Leaving directory `c:/cvsemacs/emacs/lisp'
mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/lisp'
c:/mingw32-make-3.81-1/bin/mingw32-make -j 1 --jobs=2 -C ../src clean
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[1]: Entering directory `c:/cvsemacs/emacs/src'
rm *~ "s/*~" "m/*~"
rm: cannot remove `*~': No such file or directory
rm: cannot remove `s/*~': No such file or directory
rm: cannot remove `m/*~': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
rm
rm: missing operand
Try `rm --help' for more information.
mingw32-make[1]: [clean] Error 1 (ignored)
rm -r oo-spd
rm: cannot remove `oo-spd': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
rm stamp_BLD
rm: cannot remove `stamp_BLD': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/src'
c:/mingw32-make-3.81-1/bin/mingw32-make -j 1 --jobs=2 -C ../lib-src clean
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[1]: Entering directory `c:/cvsemacs/emacs/lib-src'
rm *~ DOC*
rm: cannot remove `*~': No such file or directory
rm: cannot remove `DOC*': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
rm ctags.c
rm: cannot remove `ctags.c': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
rm getopt.h
rm: cannot remove `getopt.h': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
rm -r oo-spd
rm: cannot remove `oo-spd': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
rm stamp_BLD
rm: cannot remove `stamp_BLD': No such file or directory
mingw32-make[1]: [clean] Error 1 (ignored)
mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/lib-src'
c:/mingw32-make-3.81-1/bin/mingw32-make -j 1 --jobs=2 -C ../src bootstrap
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[1]: Entering directory `c:/cvsemacs/emacs/src'
c:/mingw32-make-3.81-1/bin/mingw32-make -wj 1 --jobs=2 temacs CFLAGS='-I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -mno-cygwin -mtu
ne=pentium4 -O2 -Di386 -D_CRTAPI1=_cdecl -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DP
URESIZE=5000000'
[Please ignore a syntax error on the next line - it is intentional]
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[2]: Entering directory `c:/cvsemacs/emacs/src'
mkdir "oo-spd"
windres -O coff --include-dir ../nt -o oo-spd/i386/emacs.res ../nt/emacs.rc
windres: oo-spd/i386/emacs.res: No such file or directory
mingw32-make[2]: *** [oo-spd/i386/emacs.res] Error 1
mingw32-make[2]: *** Waiting for unfinished jobs....
mingw32-make[2]: Leaving directory `c:/cvsemacs/emacs/src'
mingw32-make[1]: *** [bootstrap-temacs] Error 2
mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/src'
mingw32-make: *** [bootstrap-gmake] Error 2
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-04 19:13 Some change in the past 24 hours broke building on Windows Eric Lilja
@ 2007-02-04 22:41 ` Jason Rumney
2007-02-04 23:30 ` Eric Lilja
0 siblings, 1 reply; 9+ messages in thread
From: Jason Rumney @ 2007-02-04 22:41 UTC (permalink / raw)
To: Eric Lilja; +Cc: emacs-devel
Eric Lilja wrote:
> mingw32-make bootstrap --jobs=2 XMFLAGS="--jobs=2"
> mingw32-make install
>
> Today, I tried to do the same, but the build soon ends due to an
> error. Complete log attached.
>
Does it help to remove the --jobs=2 and XMFLAGS="--jobs=2"?
If not, it is probably something local to your machine, as I cannot
reproduce it here.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-04 22:41 ` Jason Rumney
@ 2007-02-04 23:30 ` Eric Lilja
2007-02-05 4:26 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Eric Lilja @ 2007-02-04 23:30 UTC (permalink / raw)
To: emacs-devel
Jason Rumney wrote:
> Eric Lilja wrote:
>> mingw32-make bootstrap --jobs=2 XMFLAGS="--jobs=2"
>> mingw32-make install
>>
>> Today, I tried to do the same, but the build soon ends due to an
>> error. Complete log attached.
>>
>
> Does it help to remove the --jobs=2 and XMFLAGS="--jobs=2"?
>
> If not, it is probably something local to your machine, as I cannot
> reproduce it here.
I just did another completely fresh checkout and ran the same script
with the notable difference of removing --jobs=2 and XMFLAGS="--jobs=2"
and I was now able to complete the build process.
About a month ago, a lot of work was put in by Eli Zaretskii to make
emacs build on windows with those parameters passed to make and some
change just after the third of february broke it, it seems. I've been
using the script in my OP several times recently, but yesterday it
stopped working.
- Eric
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-04 23:30 ` Eric Lilja
@ 2007-02-05 4:26 ` Eli Zaretskii
2007-02-07 18:40 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2007-02-05 4:26 UTC (permalink / raw)
To: Eric Lilja; +Cc: emacs-devel
> From: Eric Lilja <mindcooler@gmail.com>
> Date: Mon, 05 Feb 2007 00:30:20 +0100
>
> I just did another completely fresh checkout and ran the same script
> with the notable difference of removing --jobs=2 and XMFLAGS="--jobs=2"
> and I was now able to complete the build process.
That figures: the problem was caused by a random timing variation,
since the bug was always there, AFAICS.
> About a month ago, a lot of work was put in by Eli Zaretskii to make
> emacs build on windows with those parameters passed to make and some
> change just after the third of february broke it, it seems.
No, it's not some recent change. I see the bug in
src/makefile.w32-in, it only rears its ugly head with --jobs, and is
not new. I will fix that later today.
Thanks for reporting this.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-05 4:26 ` Eli Zaretskii
@ 2007-02-07 18:40 ` Eli Zaretskii
2007-02-07 20:55 ` Eric Lilja
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2007-02-07 18:40 UTC (permalink / raw)
To: mindcooler, emacs-devel
> Date: Mon, 05 Feb 2007 06:26:34 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > From: Eric Lilja <mindcooler@gmail.com>
> > Date: Mon, 05 Feb 2007 00:30:20 +0100
> >
> > I just did another completely fresh checkout and ran the same script
> > with the notable difference of removing --jobs=2 and XMFLAGS="--jobs=2"
> > and I was now able to complete the build process.
>
> That figures: the problem was caused by a random timing variation,
> since the bug was always there, AFAICS.
>
> > About a month ago, a lot of work was put in by Eli Zaretskii to make
> > emacs build on windows with those parameters passed to make and some
> > change just after the third of february broke it, it seems.
>
> No, it's not some recent change. I see the bug in
> src/makefile.w32-in, it only rears its ugly head with --jobs, and is
> not new. I will fix that later today.
Should be fixed now. Sorry for the delay.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-07 18:40 ` Eli Zaretskii
@ 2007-02-07 20:55 ` Eric Lilja
2007-02-07 21:01 ` Eric Lilja
2007-02-08 4:27 ` Eli Zaretskii
0 siblings, 2 replies; 9+ messages in thread
From: Eric Lilja @ 2007-02-07 20:55 UTC (permalink / raw)
To: emacs-devel
Eli Zaretskii skrev:
>> Date: Mon, 05 Feb 2007 06:26:34 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: emacs-devel@gnu.org
>>
>>> From: Eric Lilja <mindcooler@gmail.com>
>>> Date: Mon, 05 Feb 2007 00:30:20 +0100
>>>
>>> I just did another completely fresh checkout and ran the same script
>>> with the notable difference of removing --jobs=2 and XMFLAGS="--jobs=2"
>>> and I was now able to complete the build process.
>> That figures: the problem was caused by a random timing variation,
>> since the bug was always there, AFAICS.
>>
>>> About a month ago, a lot of work was put in by Eli Zaretskii to make
>>> emacs build on windows with those parameters passed to make and some
>>> change just after the third of february broke it, it seems.
>> No, it's not some recent change. I see the bug in
>> src/makefile.w32-in, it only rears its ugly head with --jobs, and is
>> not new. I will fix that later today.
>
> Should be fixed now. Sorry for the delay.
Indeed it seems to be fixed, thanks! Unfortunately, a new bug has
surfaced, something to do with windres, because compilation ends with
the following error:
Usage: windres [option(s)] [input-file] [output-file]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --input-format=<format> Specify input format
-O --output-format=<format> Specify output format
-F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-l --language=<val> Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to
read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
@<file> Read options from <file>
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little
elf32-big srec symbolsrec tekhex binary ihex
mingw32-make[2]: *** [oo-spd/i386/emacs.res] Error 1
mingw32-make[2]: *** Waiting for unfinished jobs....
mingw32-make[2]: Leaving directory `c:/cvsemacs/emacs/src'
mingw32-make[1]: *** [bootstrap-temacs] Error 2
mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/src'
mingw32-make: *** [bootstrap-gmake] Error 2
I used the same script as in my OP.
- Eric
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-07 20:55 ` Eric Lilja
@ 2007-02-07 21:01 ` Eric Lilja
2007-02-08 4:27 ` Eli Zaretskii
1 sibling, 0 replies; 9+ messages in thread
From: Eric Lilja @ 2007-02-07 21:01 UTC (permalink / raw)
To: emacs-devel
Eric Lilja skrev:
> Eli Zaretskii skrev:
>>> Date: Mon, 05 Feb 2007 06:26:34 +0200
>>> From: Eli Zaretskii <eliz@gnu.org>
>>> Cc: emacs-devel@gnu.org
>>>
>>>> From: Eric Lilja <mindcooler@gmail.com>
>>>> Date: Mon, 05 Feb 2007 00:30:20 +0100
>>>>
>>>> I just did another completely fresh checkout and ran the same script
>>>> with the notable difference of removing --jobs=2 and
>>>> XMFLAGS="--jobs=2" and I was now able to complete the build process.
>>> That figures: the problem was caused by a random timing variation,
>>> since the bug was always there, AFAICS.
>>>
>>>> About a month ago, a lot of work was put in by Eli Zaretskii to make
>>>> emacs build on windows with those parameters passed to make and some
>>>> change just after the third of february broke it, it seems.
>>> No, it's not some recent change. I see the bug in
>>> src/makefile.w32-in, it only rears its ugly head with --jobs, and is
>>> not new. I will fix that later today.
>>
>> Should be fixed now. Sorry for the delay.
>
> Indeed it seems to be fixed, thanks! Unfortunately, a new bug has
> surfaced, something to do with windres, because compilation ends with
> the following error:
> Usage: windres [option(s)] [input-file] [output-file]
> The options are:
> -i --input=<file> Name input file
> -o --output=<file> Name output file
> -J --input-format=<format> Specify input format
> -O --output-format=<format> Specify output format
> -F --target=<target> Specify COFF target
> --preprocessor=<program> Program to use to preprocess rc file
> -I --include-dir=<dir> Include directory when preprocessing rc file
> -D --define <sym>[=<val>] Define SYM when preprocessing rc file
> -U --undefine <sym> Undefine SYM when preprocessing rc file
> -v --verbose Verbose - tells you what it's doing
> -l --language=<val> Set language when reading rc file
> --use-temp-file Use a temporary file instead of popen to
> read
> the preprocessor output
> --no-use-temp-file Use popen (default)
> -r Ignored for compatibility with rc
> @<file> Read options from <file>
> -h --help Print this help message
> -V --version Print version information
> FORMAT is one of rc, res, or coff, and is deduced from the file name
> extension if not specified. A single file name is an input file.
> No input-file is stdin, default rc. No output-file is stdout, default rc.
> windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little
> elf32-big srec symbolsrec tekhex binary ihex
> mingw32-make[2]: *** [oo-spd/i386/emacs.res] Error 1
> mingw32-make[2]: *** Waiting for unfinished jobs....
> mingw32-make[2]: Leaving directory `c:/cvsemacs/emacs/src'
> mingw32-make[1]: *** [bootstrap-temacs] Error 2
> mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/src'
> mingw32-make: *** [bootstrap-gmake] Error 2
>
> I used the same script as in my OP.
>
> - Eric
Oops, I didn't paste the actual windres command issue. Here's a few more
lines:
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c
-mno-cygwin -mtune=pentium4 -O2 -Di386 -D_CRTAPI1=_cdecl -Demacs=1
-DWINDOWSNT
-DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1
-DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o oo-spd/i386/firstfile.o firstfile.c
windres -O coff --include-dir ../nt -o oo-spd/i386/emacs.res
../nt/emacs.rc stamp_BLD
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-07 20:55 ` Eric Lilja
2007-02-07 21:01 ` Eric Lilja
@ 2007-02-08 4:27 ` Eli Zaretskii
2007-02-08 10:57 ` Eric Lilja
1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2007-02-08 4:27 UTC (permalink / raw)
To: Eric Lilja; +Cc: emacs-devel
> From: Eric Lilja <mindcooler@gmail.com>
> Date: Wed, 07 Feb 2007 21:55:11 +0100
> >
> > Should be fixed now. Sorry for the delay.
>
> Indeed it seems to be fixed, thanks! Unfortunately, a new bug has
> surfaced, something to do with windres, because compilation ends with
> the following error:
Juanma fixed this, please try again.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Some change in the past 24 hours broke building on Windows
2007-02-08 4:27 ` Eli Zaretskii
@ 2007-02-08 10:57 ` Eric Lilja
0 siblings, 0 replies; 9+ messages in thread
From: Eric Lilja @ 2007-02-08 10:57 UTC (permalink / raw)
To: emacs-devel
Eli Zaretskii wrote:
>> From: Eric Lilja
>> Date: Wed, 07 Feb 2007 21:55:11 +0100
>>> Should be fixed now. Sorry for the delay.
>> Indeed it seems to be fixed, thanks! Unfortunately, a new bug has
>> surfaced, something to do with windres, because compilation ends with
>> the following error:
>
> Juanma fixed this, please try again.
Oh yes, now I was able to complete the build process! Thanks for fixing
these bugs!
- Eric
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-02-08 10:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-04 19:13 Some change in the past 24 hours broke building on Windows Eric Lilja
2007-02-04 22:41 ` Jason Rumney
2007-02-04 23:30 ` Eric Lilja
2007-02-05 4:26 ` Eli Zaretskii
2007-02-07 18:40 ` Eli Zaretskii
2007-02-07 20:55 ` Eric Lilja
2007-02-07 21:01 ` Eric Lilja
2007-02-08 4:27 ` Eli Zaretskii
2007-02-08 10:57 ` Eric Lilja
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).