From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#18359: Macro expansion failure [MSYS2-MinGW64] Date: Sat, 30 Aug 2014 16:46:02 +0200 Message-ID: <5401E3AA.1050909@alice.it> References: <5400E751.4010809@alice.it> <8338ceigt1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409410045 27710 80.91.229.3 (30 Aug 2014 14:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2014 14:47:25 +0000 (UTC) Cc: 18359@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 16:47:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XNjvz-0002xw-7i for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 16:47:19 +0200 Original-Received: from localhost ([::1]:46726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNjvy-0003QR-M8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 10:47:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNjvq-0003HZ-5c for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 10:47:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNjvi-0004EH-PW for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 10:47:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNjvi-0004EC-MN for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 10:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XNjvi-0004Pl-7W for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 10:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Aug 2014 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18359 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18359-submit@debbugs.gnu.org id=B18359.140940998916926 (code B ref 18359); Sat, 30 Aug 2014 14:47:02 +0000 Original-Received: (at 18359) by debbugs.gnu.org; 30 Aug 2014 14:46:29 +0000 Original-Received: from localhost ([127.0.0.1]:54522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNjv9-0004Ov-MW for submit@debbugs.gnu.org; Sat, 30 Aug 2014 10:46:28 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:54613) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNjv5-0004Of-9u for 18359@debbugs.gnu.org; Sat, 30 Aug 2014 10:46:24 -0400 Original-Received: from [192.168.1.100] (79.53.22.152) by smtp203.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 53FE2A3401349437; Sat, 30 Aug 2014 16:46:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <8338ceigt1.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92862 Archived-At: Il 30/08/2014 09:21, Eli Zaretskii ha scritto: >> Date: Fri, 29 Aug 2014 22:49:21 +0200 >> From: Angelo Graziosi >> >> With recent trunk, building the 64 bit build of Emacs on Windows using >> MSYS2/MinGW64 tools, produces many "macro-expansion failure" messages: >> >> [...] >> Eager macro-expansion failure: (error "Lisp nesting exceeds >> `max-lisp-eval-depth'") >> Eager macro-expansion failure: (error "Lisp nesting exceeds >> `max-lisp-eval-depth'") > > Please provide more context from the build log, around these > messages. At least which Lisp files cause them. > Some more informations... In a previous build log (20140816) I find 96 of the above errors. The build failed with ... Generating autoloads for cal-julian.el... Generating autoloads for cal-julian.el...done Loading macroexp.elc... make[2]: ingresso nella directory "/tmp/emacs.git/lisp" Opening input file: no such file or directory, c:/msys64/tmp/emacs.git/lisp/calendar/cal-loaddefs.el Compiling ../lisp/subr.el Makefile:465: set di istruzioni per l'obiettivo "calendar/hol-loaddefs.el" non riuscito make[2]: *** [calendar/hol-loaddefs.el] Errore 127 make[2]: *** Attesa per i processi non terminati.... make[2]: ingresso nella directory "/tmp/emacs.git/lisp" Compiling ../lisp/version.el Wrote c:/msys64/tmp/emacs.git/lisp/calendar/cal-loaddefs.el (No changes need to be saved) make[2]: uscita dalla directory "/tmp/emacs.git/lisp" Makefile:798: set di istruzioni per l'obiettivo "../lisp/loaddefs.el" non riuscito make[1]: *** [../lisp/loaddefs.el] Errore 2 make[1]: *** Attesa per i processi non terminati.... In declare-function: subr.el:32:11:Warning: macro declare-function used to take 2+ arguments, now takes 2-4 Wrote c:/msys64/tmp/emacs.git/lisp/version.elc make[2]: uscita dalla directory "/tmp/emacs.git/lisp" Wrote c:/msys64/tmp/emacs.git/lisp/subr.elc make[2]: uscita dalla directory "/tmp/emacs.git/lisp" ... and a few 'make -j3...' it was finished. Now, with current trunk, 'grep -c failu...' finds 504 of those errors and the build fails always with ... Loading startup... Loading loaddefs.el (source)... End of file during parsing: c:/msys64/tmp/emacs.git/lisp/loaddefs.el Makefile:603: set di istruzioni per l'obiettivo "emacs.exe" non riuscito make[2]: *** [emacs.exe] Errore 1 make[2]: uscita dalla directory "/tmp/emacs.git/src" Makefile:379: set di istruzioni per l'obiettivo "src" non riuscito make[1]: *** [src] Errore 2 make[1]: uscita dalla directory "/tmp/emacs.git" Makefile:1061: set di istruzioni per l'obiettivo "bootstrap" non riuscito make: *** [bootstrap] Errore 2 repeating 'make -j3...' or 'make bootstrap..' doesn't help. I tried also what suggests INSTSLL.REPO, $ cd lisp $ make autoloads for file in `find . -type d -print`; do case $file in .*/obsolete | .*/term ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \ echo Directories: $wins; \ EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp -l autoload \ --eval '(setq autoload-ensure-writable t)' \ --eval '(setq autoload-builtin-package-versions t)' \ --eval '(setq generated-autoload-file (expand-file-name (unmsys--file-name "./loaddefs.el")))' \ -f batch-update-autoloads $wins Directories: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language ./leim ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc /bin/sh: riga 2: ../src/emacs: No such file or directory Makefile:181: set di istruzioni per l'obiettivo "autoloads" non riuscito make: *** [autoloads] Errore 127 Usually I build a native W64 Emacs on MSYS-MinGW64 with ./autogen.sh ./configure --prefix=/Emacs --with-wide-int --build=x86_64-w64-mingw32 --without-imagemagick 'CFLAGS=-I/mingw64/include/noX -Ofast -g0 -pipe' LDFLAGS=-pipe make -j3 BTW, I found also this reports: http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00469.html http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00372.html Ciao, Angelo.