Package: gforth
Version: 0.7.0+ds1-6
Severity: normal

When trying to install Emacs 24.2 (Emacs bzr head) on my system (using
/usr/lib/emacsen-common/emacs-install emacs-snapshot), I get the
following error:

install/gforth: Byte-compiling for emacsen flavour emacs-snapshot

In toplevel form:
gforth.el:742:18:Error: Don't know how to compile nil
gforth.el:742:18:Error: Don't know how to compile nil
gforth.el:742:18:Error: Don't know how to compile nil
gforth.el:742:18:Error: Don't know how to compile nil
gforth.el:742:18:Error: Don't know how to compile nil
emacs-install: /usr/lib/emacsen-common/packages/install/gforth emacs-snapshot 
emacs-snapshot emacs-snapshot  emacs-snapshot failed at 
/usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 16.

byte-compile has recently been changed to report errors where
previously it failed silently. As far as I can see, running
byte-compile under eval-when-compile is wrong, and applying the
following patch to gforth.el fixes the error.

---cut-here---
--- gforth.el.dpkg-orig 2011-07-27 17:03:39.000000000 +0100
+++ gforth.el   2012-08-16 18:41:36.102833186 +0100
@@ -734,12 +734,11 @@
                 (get-text-property from 'fontified))
        (forth-update-properties from to)))))
 
-(eval-when-compile
-  (byte-compile 'forth-set-word-properties)
-  (byte-compile 'forth-next-known-forth-word)
-  (byte-compile 'forth-update-properties)
-  (byte-compile 'forth-delete-properties)
-  (byte-compile 'forth-get-regexp-branch)) 
+(byte-compile 'forth-set-word-properties)
+(byte-compile 'forth-next-known-forth-word)
+(byte-compile 'forth-update-properties)
+(byte-compile 'forth-delete-properties)
+(byte-compile 'forth-get-regexp-branch)
 
 ;;; imenu support
 ;;;
---cut-here---

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-29-generic (SMP w/4 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 gforth depends on:
ii  dpkg           1.16.1.2ubuntu7
ii  gforth-common  0.7.0+ds1-6
ii  gforth-lib     0.7.0+ds1-6
ii  install-info   4.13a.dfsg.1-10ubuntu1~precise1
ii  libc6          2.15-0ubuntu10
ii  libltdl7       2.4.2-1ubuntu1

gforth recommends no packages.

gforth suggests no packages.

-- no debconf information


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

Reply via email to