From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18359@debbugs.gnu.org
Subject: bug#18359: Macro expansion failure [MSYS2-MinGW64]
Date: Sat, 30 Aug 2014 16:46:02 +0200 [thread overview]
Message-ID: <5401E3AA.1050909@alice.it> (raw)
In-Reply-To: <8338ceigt1.fsf@gnu.org>
Il 30/08/2014 09:21, Eli Zaretskii ha scritto:
>> Date: Fri, 29 Aug 2014 22:49:21 +0200
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>>
>> 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.
next prev parent reply other threads:[~2014-08-30 14:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-29 20:49 bug#18359: Macro expansion failure [MSYS2-MinGW64] Angelo Graziosi
2014-08-30 7:21 ` Eli Zaretskii
2014-08-30 10:20 ` Angelo Graziosi
2014-08-30 14:46 ` Angelo Graziosi [this message]
2014-08-30 16:15 ` Angelo Graziosi
2014-08-30 16:37 ` Eli Zaretskii
2014-08-30 16:42 ` Eli Zaretskii
2014-08-30 17:16 ` Angelo Graziosi
2014-08-30 17:55 ` Eli Zaretskii
2014-08-30 20:01 ` Angelo Graziosi
2014-08-31 12:45 ` Stefan Monnier
2014-08-31 15:21 ` Eli Zaretskii
2014-08-31 20:07 ` Stefan Monnier
2014-08-31 21:40 ` Angelo Graziosi
2014-09-01 0:58 ` Stefan Monnier
2014-09-01 2:40 ` Eli Zaretskii
2016-08-09 1:48 ` npostavs
2014-08-31 21:51 ` Angelo Graziosi
2014-09-01 2:45 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5401E3AA.1050909@alice.it \
--to=angelo.graziosi@alice.it \
--cc=18359@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).