Bug#766944: slime: Emacs"M-x slime"+sbcl fails with "Package SWANK-REPL does not exist." if cl-swank cache not deleted

Joe Mullally josephusmullally at gmail.com
Mon Oct 27 04:47:33 UTC 2014


Package: slime
Version: 2:2.10.1-2
Severity: normal

slime: Emacs"M-x slime"+sbcl fails with "Package SWANK-REPL does not exist." if
cl-swank cache not deleted

Steps to reproduce:
$ sudo apt-get inatall emacs sbcl slime
$ echo '(setq inferior-lisp-program "/usr/bin/sbcl")' > ~/.emacs
$ emacs
M-x slime  # works OK
<quit emacs>
$ emacs # start emacs again
M-x slime   # fails with error below.

When I ran slime first in Emacs after installing, it worked OK. However if I
started it again with another "M-x slime" (either in the same first session or
by quitting Emacs and starting again), it generates this message:



READ error during LOAD:

  Package SWANK-REPL does not exist.

    Line: 244, Column: 47, File-Position: 8405

    Stream: #<SB-SYS:FD-STREAM
              for "file /usr/share/common-lisp/source/slime/contrib/swank-
presentations.lisp"
              {10052C8003}>
   [Condition of type SB-C::INPUT-ERROR-IN-LOAD]

(full backtrace attached to this bug report as file)



Workaround: After deleting the cl-swank compiled file cache, this works
perfectly again. However it also compiles the cache again, which causes it to
fail the next time its run.

$ rm -rf ~/.cache/common-lisp
$ emacs
M-x slime   # works OK



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages slime depends on:
ii  emacsen-common  2.0.8

Versions of packages slime recommends:
ii  cl-swank                2:2.10.1-2
ii  emacs24 [info-browser]  24.4+1-4
ii  info [info-browser]     5.2.0.dfsg.1-5

slime suggests no packages.

-- no debconf information



More information about the pkg-common-lisp-devel mailing list