From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs 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 Message-ID: <8738qfph4x.fsf@boo.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1376288358 25084 80.91.229.3 (12 Aug 2013 06:19:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2013 06:19:18 +0000 (UTC) To: 15073@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 12 08:19:19 2013 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 1V8lTK-0005zq-Oj for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Aug 2013 08:19:18 +0200 Original-Received: from localhost ([::1]:52778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8lTK-0001rh-Ax for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Aug 2013 02:19:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8lTB-0001qy-75 for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:19:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8lT4-00026B-EP for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:19:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8lT4-00025y-BS for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V8lT3-0000bN-Va for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Aug 2013 06:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13762882902240 (code B ref -1); Mon, 12 Aug 2013 06:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Aug 2013 06:18:10 +0000 Original-Received: from localhost ([127.0.0.1]:53908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V8lSD-0000a2-Fc for submit@debbugs.gnu.org; Mon, 12 Aug 2013 02:18:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56410) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V8lSB-0000Zq-Jt for submit@debbugs.gnu.org; Mon, 12 Aug 2013 02:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8lRz-0001VS-Ic for submit@debbugs.gnu.org; Mon, 12 Aug 2013 02:18:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8lRz-0001VB-F1 for submit@debbugs.gnu.org; Mon, 12 Aug 2013 02:17:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8lRt-0001kg-Ia for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:17:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8lRn-0001H3-Ly for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:17:49 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:54216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8lRn-0001Gs-DV for bug-gnu-emacs@gnu.org; Mon, 12 Aug 2013 02:17:43 -0400 Original-Received: from boo.workgroup ([87.187.131.19]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M7kwW-1W40s213eS-00vNJY for ; Mon, 12 Aug 2013 08:17:42 +0200 Original-Received: from grfz by boo.workgroup with local (Exim 4.80) (envelope-from ) id 1V8lRf-0002UE-1Z; Mon, 12 Aug 2013 08:17:35 +0200 X-Provags-ID: V03:K0:w98SspVvlsZNV19Am9EtzeHs9CznW55gZaNsDdPndKio+5gMNtA ixZdmZKBGiNwJLmt/6hFj6NCs+HzDyWeaI5yjNQznhsJNj6pN7zZcHDneg1KVJ6TFCcjzFK DO6ezfKC0zb3bjJktjGIiVnHCV/lD4330vdOK9/YTHm9N8CoPrZHiJh6DmgO4qji9wSSh8o 9iSGh5WdHFYaaTZwHVT8Q== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:77262 Archived-At: --=-=-= 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 AuthorDate: Thu Aug 1 19:18:37 2013 -0400 Commit: Stefan Monnier 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 --=-=-= Content-Disposition: attachment; filename=elc.y4GWWRsYjJlP Content-Description: Error messages from debian installation process 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 --=-=-=--