all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
@ 2013-08-12  6:17 Gregor Zattler
  2013-08-12  7:13 ` Glenn Morris
  2013-08-12 14:04 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Gregor Zattler @ 2013-08-12  6:17 UTC (permalink / raw)
  To: 15073

[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
  2013-08-12  6:17 bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?) Gregor Zattler
@ 2013-08-12  7:13 ` Glenn Morris
  2013-08-12 14:04 ` Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2013-08-12  7:13 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 15073

Gregor Zattler wrote:

> 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.

This is apparently fixed in newer APEL.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718738





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
  2013-08-12  6:17 bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?) Gregor Zattler
  2013-08-12  7:13 ` Glenn Morris
@ 2013-08-12 14:04 ` Stefan Monnier
  2013-08-12 21:22   ` Gregor Zattler
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2013-08-12 14:04 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 15073

> Installing emacs-snapshot results in error messages
> `Eager macro-expansion failure: (wrong-type-argument sequencep 769)'

This is just a warning and normally does not prevent normal execution
(it just falls back on the previous non-eager expansion).

> atype.el:28:1:Error: Wrong type argument: sequencep, 769

This is a real error on the other hand.


        Stefan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
  2013-08-12 14:04 ` Stefan Monnier
@ 2013-08-12 21:22   ` Gregor Zattler
  2013-08-12 21:36     ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Gregor Zattler @ 2013-08-12 21:22 UTC (permalink / raw)
  To: 15073

Hi Stefan, emacs developers,
* Stefan Monnier <monnier@iro.umontreal.ca> [12. Aug. 2013]:
>> Installing emacs-snapshot results in error messages
>> `Eager macro-expansion failure: (wrong-type-argument sequencep 769)'
> 
> This is just a warning and normally does not prevent normal execution
> (it just falls back on the previous non-eager expansion).
> 
>> atype.el:28:1:Error: Wrong type argument: sequencep, 769
> 
> This is a real error on the other hand.

Sorry, I have no clue: Is this a bug to be fixed in emacs or are
these bugs to be fixed in those packages?


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
  2013-08-12 21:22   ` Gregor Zattler
@ 2013-08-12 21:36     ` Glenn Morris
  2013-08-14 21:17       ` Gregor Zattler
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2013-08-12 21:36 UTC (permalink / raw)
  To: 15073

Gregor Zattler wrote:

> Sorry, I have no clue: Is this a bug to be fixed in emacs or are
> these bugs to be fixed in those packages?

What do you mean by "packages"?
Do you mean some Debian packages other than apel; if so, which?
Or do you just mean "there are multiple files in the apel package which
all fail to compile"?
The latter problem is an apel bug, which has been fixed, as I said.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718738





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?)
  2013-08-12 21:36     ` Glenn Morris
@ 2013-08-14 21:17       ` Gregor Zattler
  0 siblings, 0 replies; 6+ messages in thread
From: Gregor Zattler @ 2013-08-14 21:17 UTC (permalink / raw)
  To: 15073

Hi Glenn,
* Glenn Morris <rgm@gnu.org> [12. Aug. 2013]:
> Gregor Zattler wrote:
> 
>> Sorry, I have no clue: Is this a bug to be fixed in emacs or are
>> these bugs to be fixed in those packages?
> 
> What do you mean by "packages"?
> Do you mean some Debian packages other than apel; if so, which?
> Or do you just mean "there are multiple files in the apel package which
> all fail to compile"?

Yes, I saw multiple files failing and misunderstood that as
several packages.

> The latter problem is an apel bug, which has been fixed, as I said.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718738

I see, sorry I only checked the Emacs bug tracker for similar
problems.

Ciao; Gregor





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-14 21:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12  6:17 bug#15073: 23.4; does not byte-compile several packages with `Eager macro-expansion failure: (wrong-type-argument sequencep 769)' (due to lexical binding?) Gregor Zattler
2013-08-12  7:13 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.