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

Luca Capello luca at pca.it
Fri Mar 27 00:31:02 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-debian/attachments/20090327/437e1793/attachment.sig>


More information about the Cl-debian mailing list