Package: emacs24
Version: 24.4+1-4.1~bpo70+1
Followup-For: Bug #775564
Control: block -1 by 718765

Dear Maintainer,

I've figured out where these errors shown in the log for apel are
coming from:

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

They're from this chunk of code in poe.el:

-------
;; Emacs 21 CVS         ; nothing to do.
;;  (make-temp-file PREFIX &optional DIR-FLAG SUFFIX)
;;
;; Emacs 21.1-21.3      ; replace with CVS version of `make-temp-file'.
;;  (make-temp-file PREFIX &optional DIR-FLAG)
;;
;; Emacs 20 and earlier ; install our version of `make-temp-file', for
;;  or XEmacs           ; single-user system or for multi-user system.
(eval-when-compile
  (cond
   ((get 'make-temp-file 'defun-maybe)
    ;; this form is already evaluated during compilation.
    )
   ((not (fboundp 'make-temp-file))
    ;; Emacs 20 and earlier, or XEmacs.
    (put 'make-temp-file 'defun-maybe 'none))
   (t
    (let* ((object (symbol-function 'make-temp-file))
           (arglist (cond
                     ((byte-code-function-p object)
                      (if (fboundp 'compiled-function-arglist)
                          (compiled-function-arglist object)
                        (aref object 0)))
                     ((eq (car-safe object) 'lambda)
                      (nth 1 object))
                     ;; `make-temp-file' is a built-in.
                     )))
      ;; arglist: (prefix &optional dir-flag suffix)
      (cond
       ((not arglist)
        ;; `make-temp-file' is a built-in; expects 3-args.
        (put 'make-temp-file 'defun-maybe '3-args))
       ((> (length arglist) 3)
        ;; Emacs 21 CVS.
        (put 'make-temp-file 'defun-maybe '3-args))
       (t
        ;; Emacs 21.1-21.3
        (put 'make-temp-file 'defun-maybe '2-args)))))))
-------

In particular, "(length arglist)" is throwing a fit because `arglist'
gets an integer value.

(I figured this out by editing the emacsen-common install script to
enable `byte-compile-debug' and `debug-on-error' for the byte
compilation.)
 
This code has been patched in sid:

  
<http://anonscm.debian.org/cgit/collab-maint/apel.git/tree/debian/patches/010_apel-wl.patch?id=5eb63a499a8ed22c94e8c5a86bbbf9f711c3bd5d>

I've traced the change back to this change from wanderlust's apel
branch:

  
<https://github.com/wanderlust/apel/commit/586e2566da1ce3e4606dc6f79aa794aefde0d432>
  "poe.el: Fix the case that `make-temp-file' is byte compiled with
  lexical-binding.

After some digging, I found that this was merged into our apel
packaging by a commit called "Update 010_ikazuhiro.patch, sync on
2013-08-07", which made it into apel 1.8+0.20120427-5
<http://anonscm.debian.org/cgit/collab-maint/apel.git/tag/?id=debian/10.8%2b0.20120427-5>.

Additionally, looking at nearby log entries reveals that there was
another patch for the same issue in the previous release, apel
1.8+0.20120427-4, and that the issue was reported as bug #718765
<http://bugs.debian.org/718765>.

So I guess it would make sense to Breaks on around that version, and
preferably backport some version of apel including one of these fixes
to wheezy?

-- System Information:
Debian Release: 7.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs24-lucid depends on:
ii  emacs24-bin-common  24.4+1-4.1~bpo70+1
ii  libacl1             2.2.51-8
ii  libasound2          1.0.25-4
ii  libc6               2.13-38+deb7u7
ii  libcairo2           1.12.2-3
ii  libdbus-1-3         1.6.8-1+deb7u6
ii  libfontconfig1      2.9.0-7.1
ii  libfreetype6        2.4.9-1.1
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libgif4             4.1.6-10
ii  libglib2.0-0        2.33.12+really2.32.4-5
ii  libgnutls-deb0-28   3.3.8-4~bpo70+1
ii  libgomp1            4.7.2-5
ii  libgpm2             1.20.4-6
ii  libice6             2:1.0.8-2
ii  libjpeg8            8d-1+deb7u1
ii  libm17n-0           1.6.3-2
ii  libmagickcore5      8:6.7.7.10-5+deb7u3
ii  libmagickwand5      8:6.7.7.10-5+deb7u3
ii  libotf0             0.9.12-2
ii  libpng12-0          1.2.49-1
ii  librsvg2-2          2.36.1-2
ii  libselinux1         2.1.9-5
ii  libsm6              2:1.2.1-2
ii  libtiff4            3.9.6-11
ii  libtinfo5           5.9-10
ii  libx11-6            2:1.5.0-1+deb7u1
ii  libxext6            2:1.3.1-2+deb7u1
ii  libxft2             2.3.1-1
ii  libxinerama1        2:1.1.2-1+deb7u1
ii  libxml2             2.8.0+dfsg1-7+wheezy3
ii  libxmu6             2:1.1.1-1
ii  libxpm4             1:3.5.10-1
ii  libxrandr2          2:1.3.2-2+deb7u1
ii  libxrender1         1:0.9.7-1+deb7u1
ii  libxt6              1:1.1.3-1+deb7u1
ii  xaw3dg              1.5+E-18.2
ii  zlib1g              1:1.2.7.dfsg-13

emacs24-lucid recommends no packages.

Versions of packages emacs24-lucid suggests:
ii  emacs24-common-non-dfsg  24.1+1-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to