fukamachi / qlot

A project-local library installer for Common Lisp
https://qlot.tech
MIT License
469 stars 40 forks source link

qlot fails with quicklisp installation method #208

Closed rpx99 closed 2 months ago

rpx99 commented 11 months ago

Describe the bug

Installation with sbcl / quicklisp fails. The link exists, but ~/.qlot is empty.

tron$ ls -la /home/rpx/.local/share/common-lisp/systems/qlot.asd lrwxr-xr-x 1 rpx rpx 29 Dec 5 18:55 /home/rpx/.local/share/common-lisp/systems/qlot.asd -> /home/rpx/.qlot/qlot/qlot.asd

Reproducible steps

sbcl --noinform --eval '(ql:quickload (list :qlot :qlot/distify))' --quit

Error messages

This is SBCL 2.3.10.openbsd.sbcl-2.3.10, 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.

debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD "main thread" RUNNING {1003AB8003}>: Error while trying to load definition for system qlot from pathname /home/rpx/.local/share/common-lisp/systems/qlot.asd: Couldn't load #P"/home/rpx/.local/share/common-lisp/systems/qlot.asd": file does not exist.

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 # on #<UNDEFINED-SYSTEM "qlot">. 1: [ACCEPT ] Continue, treating # on #<UNDEFINED-SYSTEM "qlot"> as having been successful. 2: Retry ASDF operation. 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration. 4: Retry ASDF operation. 5: Retry ASDF operation after resetting the configuration. 6: [ABORT ] Give up on "qlot" 7: [REGISTER-LOCAL-PROJECTS ] Register local projects and try again. 8: Exit debugger, returning to top level.

((LAMBDA (CONDITION) :IN PERFORM) #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1001BB1B13}>) error finding frame source: Bogus form-number: the source file has probably changed too much to cope with. source: NIL 0]

Versions:

fukamachi commented 11 months ago

Please write the more detailed steps to reproduce it.

rpx99 commented 11 months ago

I did not download additional source code. The quicklisp installation method does not say so.

Sorry, where do I need to download (the git repo of qlot?) to.

I expected this is done with the quicklisp installation method.

rpx99 commented 11 months ago

Okay, I cloned it into my ~/common-lisp folder.

Now I get further:

`* (ql:quickload (list :qlot :qlot/distify)) To load "qlot": Load 1 ASDF system: qlot ; Loading "qlot" [package qlot/color].............................. [package qlot/logger]............................. [package qlot/utils/file]......................... [package qlot/install/quicklisp].................. [package qlot/utils].............................. [package qlot/errors]............................. [package qlot/source/base]........................ [package qlot/utils/ql]........................... [package qlot/utils/shell]........................ [package qlot/source/dist]........................ [package qlot/source/git]......................... [package qlot/source/ql].......................... [package qlot/source/http]........................ [package qlot/source/github]...................... [package qlot/source/ultralisp]................... [package qlot/source/local]....................... [package qlot/parser]............................. [package qlot/utils/tmp].......................... [package qlot/server]............................. [package qlot/proxy].............................. [package qlot/secure-downloader].................. [package qlot/utils/asdf]......................... [package qlot/utils/project]...................... [package qlot/install]............................ [package qlot/bundle]............................. [package qlot] To load "qlot/distify": Load 1 ASDF system: qlot/distify ; Loading "qlot/distify" ................To load "fuzzy-match": Load 2 ASDF systems: asdf str Install 2 Quicklisp releases: fuzzy-match mk-string-metrics

debugger invoked on a UNBOUND-VARIABLE @22612B22 in thread

<THREAD "main thread" RUNNING {10013B8003}>:

The variable QUICKLISP-CLIENT::PROXY-UTL is unbound.

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

restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE ] Retry using QUICKLISP-CLIENT::PROXY-UTL. 1: [USE-VALUE ] Use specified value. 2: [STORE-VALUE ] Set specified value and use it. 3: [ABORT ] Give up on "fuzzy-match" 4: Give up on "qlot/distify" 5: [REGISTER-LOCAL-PROJECTS] Register local projects and try again. 6: Exit debugger, returning to top level.

(QLOT/PROXY::QLOT-HTTP-FETCH "http://beta.quicklisp.org/archive/mk-string-metrics/2018-01-31/mk-string-metrics-20180131-git.tgz" #P"/home/rpx/quicklisp/dists/quicklisp/archives/mk-string-metrics-20180131-git.tgz") source: (SYMBOL-VALUE (INTERN (STRING '#:PROXY-UTL) '#:QL)) 0] `

fukamachi commented 2 months ago

This issue is stale. Create a new issue if you still have the same issue with the latest version.