From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Lilja Newsgroups: gmane.emacs.devel Subject: Re: Some change in the past 24 hours broke building on Windows Date: Wed, 07 Feb 2007 22:01:11 +0100 Message-ID: References: <45C66130.2050106@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170882120 1916 80.91.229.12 (7 Feb 2007 21:02:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2007 21:02:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 07 22:01:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HEtvE-0003r0-8P for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2007 22:01:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEtvD-0005m8-U6 for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2007 16:01:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEtv3-0005m3-UQ for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:01:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEtv2-0005lr-Ge for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:01:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEtv2-0005lo-BN for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:01:32 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HEtv1-00050P-Hy for emacs-devel@gnu.org; Wed, 07 Feb 2007 16:01:31 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HEtup-0002hl-Pi for emacs-devel@gnu.org; Wed, 07 Feb 2007 22:01:19 +0100 Original-Received: from cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se ([85.194.49.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Feb 2007 22:01:19 +0100 Original-Received: from mindcooler by cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Feb 2007 22:01:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 73 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66084 Archived-At: Eric Lilja skrev: > Eli Zaretskii skrev: >>> Date: Mon, 05 Feb 2007 06:26:34 +0200 >>> From: Eli Zaretskii >>> Cc: emacs-devel@gnu.org >>> >>>> From: Eric Lilja >>>> 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= Name input file > -o --output= Name output file > -J --input-format= Specify input format > -O --output-format= Specify output format > -F --target= Specify COFF target > --preprocessor= Program to use to preprocess rc file > -I --include-dir= Include directory when preprocessing rc file > -D --define [=] Define SYM when preprocessing rc file > -U --undefine Undefine SYM when preprocessing rc file > -v --verbose Verbose - tells you what it's doing > -l --language= 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 > @ Read options from > -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