Closed Emiluren closed 4 years ago
The fact that it suggests it needs to load "asdf" to proceed is a red flag. It is usually already present in a normal setup. How did you install Lisp and ASDF?
On Wed, Nov 27, 2019 at 8:14 AM Emil Segerbäck notifications@github.com wrote:
- (ql:system-apropos "alexandria")
<SYSTEM alexandria / alexandria-20190710-git / quicklisp 2019-10-08>
<SYSTEM alexandria-tests / alexandria-20190710-git / quicklisp 2019-10-08>
- (ql:quickload "alexandria") To load "alexandria": Load 1 ASDF system: asdf Install 1 Quicklisp release: alexandria ; Loading "alexandria"
debugger invoked on a ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread
<THREAD "main thread" RUNNING {10005084C3}>:
Component "alexandria" not found
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry ASDF operation. 1: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration. 2: Retry ASDF operation. 3: Retry ASDF operation after resetting the configuration. 4: [ABORT ] Give up on "alexandria" 5: Exit debugger, returning to top level.
((:METHOD ASDF/OPERATE:OPERATE (SYMBOL T)) ASDF/LISP-ACTION:LOAD-OP "alexandria" :VERBOSE NIL) [fast-method] source: (ERROR 'MISSING-COMPONENT :REQUIRES COMPONENT) 0]
I tried the CLEAR-CONFIGURATION-AND-RETRY restart but it made no difference. I also tried removing my quicklisp folder and installing it again but that did not help either.
I tried looking for anyone with a similar problem but I did not find anyone. I am pretty much a beginner when it comes to lisp so if this actually is a duplicated issue I guess I might have missed it.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/quicklisp/quicklisp-client/issues/190?email_source=notifications&email_token=AACPNLOL5Y2IEJGT45E3PSDQVZXEHA5CNFSM4JSGT7VKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H4NCIOA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPNLPZQVZIBP5DVNGK6EDQVZXEHANCNFSM4JSGT7VA .
Hm, I am using Arch linux and have SBCL installed from the standard repositories. I don't think I did anything specifically for ASDF.
For what it's worth I get similar errors in ECL and Clisp
$ ecl --load ~/quicklisp/setup.lisp
;;; Loading "/home/emil/quicklisp/setup.lisp"
;;; Loading #P"/usr/lib/ecl-16.1.3/asdf.fas"
ECL (Embeddable Common-Lisp) 16.1.3 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
Copyright (C) 2016 Daniel Kochmanski
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process TOP-LEVEL>.
> (ql:quickload "alexandria")
To load "alexandria":
Load 1 ASDF system:
asdf
Install 1 Quicklisp release:
alexandria
; Loading "alexandria"
Condition of type: MISSING-COMPONENT
Component "alexandria" not found
Available restarts:
1. (RETRY) Retry ASDF operation.
2. (CLEAR-CONFIGURATION-AND-RETRY) Retry ASDF operation after resetting the configuration.
3. (ABORT) Give up on "alexandria"
4. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
$ clisp
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Welcome to GNU CLISP 2.49.93+ (2018-02-18) <http://clisp.org/>
Copyright (c) Bruno Haible, Michael Stoll 1992-1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2018
Type :h and hit Enter for context help.
[1]> (load "~/quicklisp/setup.lisp")
;; Loading file /home/emil/quicklisp/setup.lisp ...
;; Loading file /home/emil/quicklisp/cache/asdf-fasls/0e0xuy/asdf.fas ...
;; Loaded file /home/emil/quicklisp/cache/asdf-fasls/0e0xuy/asdf.fas
WARNING: DEFGENERIC: redefining function DIST in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function SYSTEM-INDEX-URL in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function RELEASE-INDEX-URL in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function AVAILABLE-VERSIONS-URL in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function RELEASE in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function NAME in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function BASE-DIRECTORY in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function METADATA-NAME in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function PREFERENCE-PARENT in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function SHORT-DESCRIPTION in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function PROVIDED-RELEASES in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function PROVIDED-SYSTEMS in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
WARNING: DEFGENERIC: redefining function ARCHIVE-URL in
/home/emil/.cache/common-lisp/clisp-2.49.93+-unix-x64/home/emil/quicklisp/quicklisp/dist.fas, was defined in
top-level
;; Loaded file /home/emil/quicklisp/setup.lisp
#P"/home/emil/quicklisp/setup.lisp"
[2]> (ql:quickload "alexandria")
To load "alexandria":
Load 1 ASDF system:
asdf
Install 1 Quicklisp release:
alexandria
; Loading "alexandria"
*** - Component "alexandria" not found
The following restarts are available:
REINITIALIZE-SOURCE-REGISTRY-AND-RETRY :R1 Retry finding system alexandria after reinitializing the source-registry.
ABORT :R2 Give up on "alexandria"
ABORT :R3 Abort main loop
I'm not sure why Clisp gave me a lot of warnings. Maybe it's because I used load
inside the repl?
Oh, I managed to solve it! It turned out I had a directory /usr/share/common-lisp/source/
for alexandria and clx and those happened to be the packages I tried loading through quicklisp. I removed it and now everything works as it should :). (I think it must have been created because I tried installing stumpwm through AUR)
I tried the CLEAR-CONFIGURATION-AND-RETRY restart but it made no difference. I also tried removing my quicklisp folder and installing it again but that did not help either.
I tried looking for anyone with a similar problem but I did not find anyone. I am pretty much a beginner when it comes to lisp so if this actually is a duplicated issue I guess I might have missed it.