[cl-debian] Bug#456004: Error while loading 50slime

Package: slime Version: 1:20070927-3 Severity: normal During a recent emacs upgrade the install log shows Setting up emacs22 (22.1+1-2.1+lenny1) ... emacs-install emacs22 .... Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime The previous 2 lines recur further down the log. Then comes install/slime: Handling install for emacsen flavor emacs22 Loading 00debian-vars... .... Loading /etc/emacs/site-start.d/50slime.el (source)... Loading /usr/share/emacs22/site-lisp/slime/slime-autoloads.el (source)... ... Wrote /usr/share/emacs22/site-lisp/slime/hyperspec.elc Wrote /usr/share/emacs22/site-lisp/slime/slime-autoloads.elc Wrote /usr/share/emacs22/site-lisp/slime/slime.elc Wrote /usr/share/emacs22/site-lisp/slime/tree-widget.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/bridge.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/inferior-slime.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-asdf.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-autodoc.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-banner.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-c-p-c.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-editing-commands.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-fancy.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-fancy-inspector.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-fuzzy.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-highlight-edits.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-parse.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-presentations.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-presentation-streams.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-references.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-scratch.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-tramp.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-typeout-frame.elc Wrote /usr/share/emacs22/site-lisp/slime/contrib/slime-xref-browser.elc .... Loading /etc/emacs/site-start.d/50slime.el (source)... Loading /usr/share/emacs22/site-lisp/slime/slime-autoloads... For emacs21 Setting up emacs21 (21.4a+1-5.1+lenny1) ... emacs-install emacs21 ... Loading 50slime (source)... Error while loading 50slime ... Loading 50slime (source)... Error while loading 50slime .... Loading 50slime (source)... Loading /usr/share/emacs21/site-lisp/slime/slime-autoloads (source)... Loading 51debian-el (source)... ... Wrote /usr/share/emacs21/site-lisp/slime/hyperspec.elc Wrote /usr/share/emacs21/site-lisp/slime/slime-autoloads.elc While compiling slime-repl-abort-read in file /usr/share/emacs21/site-lisp/slime/slime.el: ** `(car (prog1 slime-read-string-threads (setq slime-read-string-threads (cdr slime-read-string-threads))))' called for effect ** `(car (prog1 slime-read-string-tags (setq slime-read-string-tags (cdr slime-read-string-tags))))' called for effect Wrote /usr/share/emacs21/site-lisp/slime/slime.elc Wrote /usr/share/emacs21/site-lisp/slime/tree-widget.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/bridge.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/inferior-slime.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-asdf.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-autodoc.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-banner.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-c-p-c.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-editing-commands.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-fancy.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-fancy-inspector.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-fuzzy.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-highlight-edits.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-parse.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-presentations.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-presentation-streams.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-references.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-scratch.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-tramp.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-typeout-frame.elc Wrote /usr/share/emacs21/site-lisp/slime/contrib/slime-xref-browser.elc Done .... Loading 50slime (source)... Loading /usr/share/emacs21/site-lisp/slime/slime-autoloads... ... Loading 50slime (source)... Loading /usr/share/emacs21/site-lisp/slime/slime-autoloads... I don't know what it all means; slime appears to have been working before this. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-5-686 (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/bash Versions of packages slime depends on: ii cl-swank 1:20070927-3 Superior LISP Interaction Mode for ii emacsen-common 1.4.17 Common facilities for all emacsen Versions of packages slime recommends: ii emacs [info-browser] 22.1+1-2.1+lenny1 The GNU Emacs editor (metapackage) ii emacs21 [info-browser 21.4a+1-5.1+lenny1 The GNU Emacs editor ii emacs22 [info-browser 22.1+1-2.1+lenny1 The GNU Emacs editor ii info [info-browser] 4.11.dfsg.1-2 Standalone GNU Info documentation ii konqueror [info-brows 4:3.5.8.dfsg.1-2 KDE's advanced file manager, web b -- no debconf information

Hello, Ross Boylan wrote:
During a recent emacs upgrade the install log shows Setting up emacs22 (22.1+1-2.1+lenny1) ... emacs-install emacs22 .... Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime
I've tried analysing this problem but I have no idea where it comes from, but the slime does work for me in the end.
I don't know what it all means; slime appears to have been working before this.
Does it fail for you? Groetjes, Peter -- signature -at- pvaneynd.mailworks.org http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Aronson|

On Wed, 2007-12-19 at 22:29 +0100, Peter Van Eynde wrote:
Hello,
Ross Boylan wrote:
During a recent emacs upgrade the install log shows Setting up emacs22 (22.1+1-2.1+lenny1) ... emacs-install emacs22 .... Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime
I've tried analysing this problem but I have no idea where it comes from, but the slime does work for me in the end.
I don't know what it all means; slime appears to have been working before this.
Does it fail for you?
Groetjes, Peter
Sorry, I lost track of this. It appears to work, though I haven't used it much. I found this bug again because I'm still encountering the error. emacs22 at 22.2+2-5; emacs21 uninstalled; slime 1:20080223-2.

Hi Ross! On Sat, 29 Nov 2008 21:31:29 +0100, Ross Boylan wrote:
On Wed, 2007-12-19 at 22:29 +0100, Peter Van Eynde wrote:
Ross Boylan wrote:
During a recent emacs upgrade the install log shows Setting up emacs22 (22.1+1-2.1+lenny1) ... emacs-install emacs22 .... Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime
I've tried analysing this problem but I have no idea where it comes from, but the slime does work for me in the end.
The problem is the following lines: --8<---------------cut here---------------start------------->8--- (load (concat "/usr/share/" (if (boundp 'flavor) (symbol-name flavor) "emacs") "/site-lisp/slime/slime-autoloads")) --8<---------------cut here---------------end--------------->8--- The full output helps understanding the problem ===== Setting up emacs22 (22.2+2-5) ... emacs-install emacs22 emacsen-common: Handling install of emacsen flavor emacs22 emacsen-common: byte-compiling for emacs22 Loading /etc/emacs22/site-start.d/00debian-vars.el (source)... No /etc/mailname. Reverting to default... Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime ===== /u/s/emacs22/site-lisp/slime/slime-autoloads.el is not present yet, thus the code I reported previously fails. ===== Wrote /etc/emacs22/site-start.d/00debian-vars.elc Wrote /usr/share/emacs22/site-lisp/debian-startup.elc install/slime: Handling install for emacsen flavor emacs22 Loading 00debian-vars... No /etc/mailname. Reverting to default... Loading /etc/emacs/site-start.d/50slime.el (source)... Loading /usr/share/emacs22/site-lisp/slime/slime-autoloads.el (source)... ===== At this point, /u/s/emacs22/site-lisp/slime/slime-autoloads.el is present because we have already installed slime. Note that /u/s/emacs/site-list/slime/slime-autoloads.el is *always* present, which means one possible solution would be to always load that instead. This does not change anything WRT the current situation, because /u/s/emacs22/site-listp/slime-autoloads.el is exactly the same the slime package install. However, while this would solve the problem, it is not the correct solution, since what we want is to use the compiled elisp files, thus we should replace the above with a simpler (require 'slime-autoloads). The latter should be evaluated *only* if byte-compiled files have been generated, or, witch is the same, if the slime package has been completely installed through emacsen. Suggestions are welcome :-) Thx, bye, Gismo / Luca
participants (3)
-
Luca Capello
-
Peter Van Eynde
-
Ross Boylan