unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: 15073@debbugs.gnu.org
Subject: bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
Date: Mon, 12 Aug 2013 08:17:34 +0200	[thread overview]
Message-ID: <8738qfph4x.fsf@boo.workgroup> (raw)

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

Installing emacs-snapshot results in error messages 
`Eager macro-expansion failure: (wrong-type-argument sequencep 769)'
while pre-compiling debian add-on packages like `apel' (see
attachment).  Since the errors occour with several packages I
assume a bug in emacs.

The problematic invocation is
emacs  -q -no-site-file -batch -l __myinit.el -f batch-byte-compile alist.el apel-ver.el atype.el broken.el calist.el emu.el file-detect.el filename.el install.el inv-19.el inv-23.el invisible.el mcharset.el mcs-20.el mcs-e20.el mule-caesar.el path-util.el pccl-20.el pccl.el pces-20.el pces-e20.el pces.el pcustom.el poe.el poem-e20_3.el poem-e20.el poem.el product.el pym.el richtext.el static.el tinycustom.el

with __myinit.el being:

#+BEGIN_SRC emacs-lisp 
(setq load-path (cons "." load-path))
(setq byte-compile-warnings nil)
#+END_SRC

It is possible to install emacs-snapshot as of
2013-07-24 but not as of 2013-08-04 or as of 2013-08-10.
Therefore I bisected the recent commit history.  First "bad"
commit is:

commit 65ca9602f8bb761180ef8589db6bfce6f55251f7
Refs: HEAD, refs/bisect/bad
Author:     Stefan Monnier <monnier@iro.umontreal.ca>
AuthorDate: Thu Aug 1 19:18:37 2013 -0400
Commit:     Stefan Monnier <monnier@iro.umontreal.ca>
CommitDate: Thu Aug 1 19:18:37 2013 -0400

    * lisp/files.el: Use lexical-binding.
    (dir-locals-read-from-file): Remove unused `err' variable.
    (hack-dir-local-variables--warned-coding): New var.
    (hack-dir-local-variables): Use it to avoid repeated warnings.
    (make-backup-file-name--default-function): New function.
    (make-backup-file-name-function): Use it as default.
    (buffer-stale--default-function): New function.
    (buffer-stale-function): Use it as default.
    (revert-buffer-insert-file-contents--default-function): New function.
    (revert-buffer-insert-file-contents-function): Use it as default.
    (insert-directory): Avoid add-to-list.
    * lisp/autorevert.el (auto-revert-handler): Simplify.
    Use buffer-stale--default-function.
---
 lisp/ChangeLog     |   17 +++++
 lisp/autorevert.el |   12 ++--
 lisp/files.el      |  204 +++++++++++++++++++++++++++-------------------------
 3 files changed, 130 insertions(+), 103 deletions(-)



Since I don't understand elisp I'm lost here.

Thanks for your attention, Gregor


[-- Attachment #2: Error messages from debian installation process --]
[-- Type: text/plain, Size: 4044 bytes --]

emacs-snapshot -q -no-site-file -batch -l __myinit.el -f batch-byte-compile alist.el apel-ver.el atype.el broken.el calist.el emu.el file-detect.el filename.el install.el inv-19.el inv-23.el invisible.el mcharset.el mcs-20.el mcs-e20.el mule-caesar.el path-util.el pccl-20.el pccl.el pces-20.el pces-e20.el pces.el pcustom.el poe.el poem-e20_3.el poem-e20.el poem.el product.el pym.el richtext.el static.el tinycustom.el
Wrote /usr/share/emacs-snapshot/site-lisp/apel/alist.elc
Wrote /usr/share/emacs-snapshot/site-lisp/apel/apel-ver.elc
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
atype.el:28:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
broken.el:28:1:Error: Wrong type argument: sequencep, 769
Wrote /usr/share/emacs-snapshot/site-lisp/apel/calist.elc
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
emu.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
file-detect.el:34:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
filename.el:28:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
install.el:29:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
inv-19.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
inv-23.el:28:1:Error: Wrong type argument: sequencep, 769
Wrote /usr/share/emacs-snapshot/site-lisp/apel/invisible.elc
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
mcharset.el:27:1:Error: Wrong type argument: sequencep, 769
Wrote /usr/share/emacs-snapshot/site-lisp/apel/mcs-20.elc
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
mcs-e20.el:31:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
mule-caesar.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
path-util.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
pccl-20.el:29:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
pccl.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
pces-20.el:63:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
pces-e20.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
pces.el:27:1:Error: Wrong type argument: sequencep, 769
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
pcustom.el:31:1:Error: Wrong type argument: sequencep, 769

In toplevel form:
poe.el:1678:44:Error: Wrong type argument: sequencep, 769
Wrote /usr/share/emacs-snapshot/site-lisp/apel/poem-e20_3.elc
Wrote /usr/share/emacs-snapshot/site-lisp/apel/poem-e20.elc
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
poem.el:27:1:Error: Wrong type argument: sequencep, 769
Wrote /usr/share/emacs-snapshot/site-lisp/apel/product.elc
Wrote /usr/share/emacs-snapshot/site-lisp/apel/pym.elc
Wrote /usr/share/emacs-snapshot/site-lisp/apel/richtext.elc
Wrote /usr/share/emacs-snapshot/site-lisp/apel/static.elc
Eager macro-expansion failure: (wrong-type-argument sequencep 769)

In toplevel form:
tinycustom.el:37:1:Error: Wrong type argument: sequencep, 769

             reply	other threads:[~2013-08-12  6:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  6:17 Gregor Zattler [this message]
2013-08-12  7:13 ` bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?) Glenn Morris
2013-08-12 14:04 ` Stefan Monnier
2013-08-12 21:22   ` Gregor Zattler
2013-08-12 21:36     ` Glenn Morris
2013-08-14 21:17       ` Gregor Zattler

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=8738qfph4x.fsf@boo.workgroup \
    --to=telegraph@gmx.net \
    --cc=15073@debbugs.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).