ERROR! The markdown supplied could not be parsed correctly. Did you forget to surround a code snippet with "~~~~"?
I'm trying to install CLOCC using Lisp (SBCL) only. I've successfully run: ~~~ (compile-file "clocc") (load *) (require "asdf") (asdf:compile-system "port") ~~~ When I try to run: `(asdf:compile-system "cllib")` I get the following error: Error while trying to load definition for system cllib from pathname /home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "port" "ext"> [Condition of type LOAD-SYSTEM-DEFINITION-ERROR] Restarts: 0: [RETRY] Retry compiling #<CL-SOURCE-FILE "port" "ext">. 1: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "port" "ext"> as having been successful. 2: [RETRY] Retry EVAL of current toplevel form. 3: [CONTINUE] Ignore error and continue loading file "/home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd". 4: [ABORT] Abort loading file "/home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd". 5: [RETRY] Retry ASDF operation. --more-- Backtrace: 0: ((FLET #:H0 :IN LOAD-ASD) #<COMPILE-FILE-ERROR {1010E46713}>) 1: (SIGNAL #<COMPILE-FILE-ERROR {1010E46713}>) 2: (ERROR COMPILE-FILE-ERROR :CONTEXT-FORMAT "~/asdf-action::format-action/" :CONTEXT-ARGUMENTS ((#<COMPILE-OP > . #<CL-SOURCE-FILE "port" "ext">))) 3: (CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<COMPILE-OP > . #<CL-SOURCE-FILE "port" "ext">))) 4: ((SB-PCL::EMF PERFORM) #<unavailable argument> #<unavailable argument> #<COMPILE-OP > #<CL-SOURCE-FILE "port" "ext">) 5: ((:METHOD PERFORM-WITH-RESTARTS :AROUND (T T)) #<COMPILE-OP > #<CL-SOURCE-FILE "port" "ext">) [fast-method] 6: ((:METHOD PERFORM-PLAN (LIST)) ((#1=#<COMPILE-OP > . #2=#<CL-SOURCE-FILE #3="port" "ext">) (#4=#<LOAD-OP > . #2#) (#5=#<PREPARE-OP > . #6=#<CL-SOURCE-FILE #3# "gray">) (#1# . #6#) (#4# . #6#) (#5# . #.. 7: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) 8: ((:METHOD PERFORM-PLAN :AROUND (T)) ((#1=#<COMPILE-OP > . #2=#<CL-SOURCE-FILE #3="port" "ext">) (#4=#<LOAD-OP > . #2#) (#5=#<PREPARE-OP > . #6=#<CL-SOURCE-FILE #3# "gray">) (#1# . #6#) (#4# . #6#) (#5.. 9: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) 10: ((:METHOD PERFORM-PLAN :AROUND (T)) #<SEQUENTIAL-PLAN {100FD07213}>) [fast-method] 11: ((:METHOD OPERATE (OPERATION COMPONENT)) #<LOAD-OP > #<SYSTEM "port">) [fast-method] 12: ((SB-PCL::EMF OPERATE) #<unused argument> #<unused argument> #<LOAD-OP > #<SYSTEM "port">) 13: ((LAMBDA NIL :IN OPERATE)) 14: ((:METHOD OPERATE :AROUND (T T)) #<LOAD-OP > #<SYSTEM "port">) [fast-method] 15: ((SB-PCL::EMF OPERATE) #<unused argument> #<unused argument> LOAD-OP "port") 16: ((LAMBDA NIL :IN OPERATE)) 17: ((:METHOD OPERATE :AROUND (T T)) LOAD-OP "port") [fast-method] 18: (LOAD-SYSTEM "port") 19: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD-SYSTEM "port") #<NULL-LEXENV>) 20: (SB-EXT:EVAL-TLF (LOAD-SYSTEM "port") 0 NIL) Locals: SB-KERNEL:LEXENV = NIL SB-IMPL::ORIGINAL-EXP = (LOAD-SYSTEM "port") SB-IMPL::TLF-INDEX = 0 21: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (LOAD-SYSTEM "port") 0) 22: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (LOAD-SYSTEM "port") :CURRENT-INDEX 0) 23: (SB-C::%DO-FORMS-FROM-INFO #<CLOSURE (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {100FCFA61B}> #<SB-C::SOURCE-INFO {100FCFA5D3}> SB-C::INPUT-ERROR-IN-LOAD.. 24: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file /home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd" {100FCF6CE3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading") 25: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file /home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd" {100FCF6CE3}> NIL) 26: (LOAD #P"/home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :UTF-8) 27: (CALL-WITH-MUFFLED-CONDITIONS #<CLOSURE (LAMBDA NIL :IN LOAD*) {100FCF22CB}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS))) 28: ((LAMBDA NIL :IN LOAD-ASD)) 29: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN LOAD-ASD) {100FCF212B}>) 30: ((LAMBDA NIL :IN FIND-SYSTEM)) 31: (ASDF/CACHE:CONSULT-ASDF-CACHE (FIND-SYSTEM "cllib") #<CLOSURE (LAMBDA NIL :IN FIND-SYSTEM) {100FCE75FB}>) 32: ((:METHOD FIND-SYSTEM (STRING)) "cllib" NIL) [fast-method] 33: ((:METHOD FIND-COMPONENT (STRING T)) "cllib" NIL) [fast-method] 34: ((:METHOD OPERATE (SYMBOL T)) COMPILE-OP "cllib") [fast-method] 35: ((SB-PCL::EMF OPERATE) #<unused argument> #<unused argument> COMPILE-OP "cllib") 36: ((LAMBDA NIL :IN OPERATE)) 37: (ASDF/CACHE:CALL-WITH-ASDF-CACHE #<CLOSURE (LAMBDA NIL :IN OPERATE) {100FCE704B}> :OVERRIDE NIL :KEY NIL) 38: ((:METHOD OPERATE :AROUND (T T)) COMPILE-OP "cllib") [fast-method] 39: ((:METHOD OPERATE :AROUND (T T)) COMPILE-OP "cllib") [fast-method] 40: (COMPILE-SYSTEM "cllib") 41: (SB-INT:SIMPLE-EVAL-IN-LEXENV (COMPILE-SYSTEM "cllib") #<NULL-LEXENV>) 42: (EVAL (COMPILE-SYSTEM "cllib")) 43: (SB-EXT:INTERACTIVE-EVAL (COMPILE-SYSTEM "cllib") :EVAL NIL) 44: (SB-IMPL::REPL-FUN NIL) 45: ((LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL)) 46: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL) {1008EBB0EB}>) 47: (SB-IMPL::TOPLEVEL-REPL NIL) 48: (SB-IMPL::TOPLEVEL-INIT) 49: ((FLET #:WITHOUT-INTERRUPTS-BODY-82 :IN SB-EXT:SAVE-LISP-AND-DIE)) 50: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE)) ----- In terms of debugging, I've tried to: 0: [RETRY] Retry compiling #<CL-SOURCE-FILE "port" "ext">. 1: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "port" "ext"> as having been successful. 3: [CONTINUE] Ignore error and continue loading file "/home/david/quicklisp/local-projects/clocc-hg/src/cllib/cllib.asd". This unfortunately, doesn't work. I've attacked the above stack trace.
I get a different error:
I think this is a bug in
adsf
.However, I was able to compile
cllib
by usingaccept
restart repeatedly.Alright, Interesting.
Just out of curiosity. What version of ASDF and SBCL are you using?
I'm on ASDF 3 and SBCL v. 1.3.1 debian.
D
I'm also using quicklisp, so I'm not sure if that messed up things with ASDF
I've successfully installed the CLLIB by installing clocc into the local-projects directory in my quicklisp folder. Then in Lisp, I did:
And everything worked!
Last edit: David Menager 2018-12-30