Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196665 - [TRACKER] CL implementations cannot find ASDF
Summary: [TRACKER] CL implementations cannot find ASDF
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: Tracker
Depends on: 208522 218706
Blocks:
  Show dependency tree
 
Reported: 2007-10-21 21:12 UTC by Sectoid
Modified: 2022-08-25 03:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sectoid 2007-10-21 21:12:12 UTC
SLIME can't start. I get the error message tat ASDF module not found.



Reproducible: Always

Steps to Reproduce:
1. emerge emacs
2. emerge sbcl
3. emerge slime
4. add to .emacs the following
--- Cut here ---
(setq inferior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime")
(require 'slime)
(slime-setup)
--- Cut here ---

5. Start emacs and do M-x slime

Actual Results:  
(progn (load "/usr/share/emacs/site-lisp/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank:start-server") "/tmp/slime.28279" :coding-system "iso-latin-1-unix"))

This is SBCL 1.0.10-gentoo, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* 
; loading #P"/usr/share/emacs/site-lisp/slime/swank-loader.lisp"

debugger invoked on a SB-KERNEL:READER-PACKAGE-ERROR in thread #<THREAD "initial thread" {A6B96C1}>:
  READER-ERROR at 45 (line 4, column 9) on #<SB-SYS:FD-STREAM for "file /usr/share/emacs/site-lisp/slime/swank-loader.lisp" {A6D41C1}>:
    package "ASDF" not found

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(SB-IMPL::READ-TOKEN
 #<SB-SYS:FD-STREAM for "file /usr/share/emacs/site-lisp/slime/swank-loader.lisp" {A6D41C1}>
 #\a)
0] 



sectoid@mobility ~ $ sbcl --version
SBCL 1.0.10-gentoo

sectoid@mobility ~ $ emacs --version
GNU Emacs 22.1.1
Copyright (C) 2007 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

sectoid@mobility ~ $ epm -qi slime
Name        : slime
Version     : 2.0_p20070816
Release     :                                     Slot: 0
Install date: Sun Oct 21 21:46:46 2007      Build Host: mobility
Group       : app-emacs                        License: GPL-2 xref.lisp
Size        : 2691227
Packager    : ulm
URL         : http://common-lisp.net/project/slime/
Summary     : SLIME, the Superior Lisp Interaction Mode (Extended)
Comment 1 Ulrich Müller gentoo-dev 2007-10-21 23:45:15 UTC
Looks like some basic initialisation is missing. Do you still get the error if you add the following line to your ~/.sbclrc ?

   (load #p"/etc/gentoo-init.lisp")

(/etc/gentoo-init.lisp is installed by dev-lisp/gentoo-init, so emerge this package if you don't have the file.)
Comment 2 Ulrich Müller gentoo-dev 2007-10-28 10:19:13 UTC
Please reopen if this is still an issue.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-10-28 15:32:40 UTC
This solution sucks and is not well documented.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2008-04-21 09:49:16 UTC
this should be fixed as of sbcl-1.0.12 (as in .sbclrc is not needed solely for having slime usable) by DEPENDing on dev-lisp/gentoo-init. We should stabilize a recent version and then remove the old versions.
Comment 5 Stelian Ionescu 2008-04-21 10:41:10 UTC
I confirm that it works with a gentoo-lisp-enabled sbcl and the .emacs posted here
Comment 6 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-04-23 15:42:25 UTC
It happens for cmucl too.
Comment 7 Stelian Ionescu 2008-04-23 15:57:51 UTC
That depends on bug #208522
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-25 03:21:56 UTC
Dead tracker?