From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs from a new MinGW environment Date: Sun, 15 Sep 2013 00:30:26 +0200 Message-ID: References: <83sixwfdjk.fsf@gnu.org> <834n9nhhp6.fsf@gnu.org> <83ppsbfoe7.fsf@gnu.org> <83mwnffkom.fsf@gnu.org> <83k3ijfhk0.fsf@gnu.org> <83hadnf7gs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1379197838 19275 80.91.229.3 (14 Sep 2013 22:30:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2013 22:30:38 +0000 (UTC) Cc: Emacs development discussions To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 15 00:30:42 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKyMS-0002Vi-00 for ged-emacs-devel@m.gmane.org; Sun, 15 Sep 2013 00:30:40 +0200 Original-Received: from localhost ([::1]:54833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKyMR-0003CY-FN for ged-emacs-devel@m.gmane.org; Sat, 14 Sep 2013 18:30:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKyMJ-0003C4-2Z for emacs-devel@gnu.org; Sat, 14 Sep 2013 18:30:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKyMH-0004hO-RI for emacs-devel@gnu.org; Sat, 14 Sep 2013 18:30:30 -0400 Original-Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:41263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKyMG-0004h4-8V; Sat, 14 Sep 2013 18:30:28 -0400 Original-Received: by mail-lb0-f169.google.com with SMTP id z5so3237400lbh.28 for ; Sat, 14 Sep 2013 15:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9OXpbV8V6/NA1yhTfX47AMygN4vKey3zTXfXzBLWzr4=; b=G0Oc2gabmkHd0pXhS+6V/NUZ2DUrAAnQItABuV4YbUt8KspdvjivXuQ/CSuoUAN+A3 VlnLhYxsD6c36h1m5AOPYMXk389N24HjwMod0/ikp6NA56UnV6CKRfCvuPQw2hYv+qv9 +JpsUUCqcm6YNQQO5RnSB5tbzQb/d4C7FDkaK2Q9uJnT4qIoKxtQI32A/rMRAlOcavu0 CRqFHOwH3foX/0EYP4Nw6FxRDrk3EXY+HIGtZcxZUTV91qE8DXJtxmLoUyG7btugOrGx YzNMSDGNduMjZnLWpCnttm+bIE7mS+ipisKkpLiG0C7pxj5n/cuV4R8/ppuOW/XqWyvk 9SkQ== X-Received: by 10.152.19.1 with SMTP id a1mr17028638lae.8.1379197826609; Sat, 14 Sep 2013 15:30:26 -0700 (PDT) Original-Received: by 10.114.176.231 with HTTP; Sat, 14 Sep 2013 15:30:26 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163351 Archived-At: >> How did you invoke the configure script? > > Like this: > $ cd ~/emacs/build > $ rm -fr * > $ CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3' > ../emacs.git/nt/msysconfig.sh --enable-checking I tried to configure again, but this time using a windows-absolute path for the shell script, i.e.: CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3' /c/msys/home/dani/emacs/emacs.git/nt/msysconfig.sh --enable-checking and this time the "%emacs_dir%" problem did't appear during "make bootstrap". So, if it is required to invoke "msysconfig.sh" with a windows-absolute path, I think that there is something to fix in Emacs: * either remove that limitation (the build machinery should be smart enough to handle this use case correctly) * or failing that, at least detect these use-cases at configure time and error out giving a description of the problem. Aside from that, unfortunately the bootstrap didn't complete successfully this time either. I got 3 crashes, where a message box popped out with this text: GNU Emacs: The extensible ... has stopped working A problem caused the program to ... bla bla bla. [Close program] and then the bootstrap stopped. First crash: Compiling /c/msys/home/dani/emacs/emacs.git/lisp/ffap.el Wrote c:/msys/home/dani/emacs/emacs.git/lisp/ffap.elc <<<<<<< HERE Makefile:252: recipe for target `ffap.elc' failed make[3]: *** [ffap.elc] Error 255 Second crash: Compiling /c/msys/home/dani/emacs/emacs.git/lisp/gnus/deuglify.el Wrote c:/msys/home/dani/emacs/emacs.git/lisp/gnus/deuglify.elc <<<<<<< HERE Makefile:252: recipe for target `gnus/deuglify.elc' failed make[3]: *** [gnus/deuglify.elc] Error 3 Third crash and abort: Compiling /c/msys/home/dani/emacs/emacs.git/lisp/obsolete/xesam.el Wrote c:/msys/home/dani/emacs/emacs.git/lisp/obsolete/xesam.elc <<<<<<< HERE Makefile:252: recipe for target `obsolete/xesam.elc' failed make[3]: *** [obsolete/xesam.elc] Error 3 make[3]: Leaving directory `/home/dani/emacs/build/lisp' Makefile:280: recipe for target `compile-main' failed make[2]: *** [compile-main] Error 2 make[2]: Leaving directory `/home/dani/emacs/build/lisp' Makefile:367: recipe for target `lisp' failed make[1]: *** [lisp] Error 2 make[1]: Leaving directory `/home/dani/emacs/build' Makefile:1060: recipe for target `bootstrap' failed make: *** [bootstrap] Error 2 -- Dani Moncayo