Hello all,
I have an CL-PPCRE that was compiled with an SBCL running in a shell (Debian/common-lisp-controller). Now, I see the error below when trying to load cl-ppcre via SLIME. I suspect that this is a coding issue again (SB-IMPL::*DEFAULT-EXTERNAL-FORMAT* is :latin1, slime-net-coding-system is iso-latin-1-unix).
Did anyone of you run into that problem and know a solution? Apropos: deleting api.fasl makes SLIME loading work, but then the error occurs when loading from an SBCL instance being run from inside a shell.
Thank you, Nicolas
--------------------------------------------------------------------------- The class SB-PRETTY:PRETTY-STREAM was not changed, and there's no guarantee that the loaded code (which expected another layout) will work. [Condition of type SIMPLE-ERROR]
Restarts: 0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {C355631}> on #<ASDF:CL-SOURCE-FILE "api" {BA69809}>. 1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {C355631}> on #<ASDF:CL-SOURCE-FILE "api" {BA69809}> as having been successful. 2: [ABORT] Abort SLIME compilation. 3: [ABORT] Return to SLIME's top level. 4: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {AA9CE49}>)
Backtrace: 0: (SB-KERNEL::CHECK-LAYOUT #<SB-KERNEL:LAYOUT for SB-PRETTY:PRETTY-STREAM {940BAC9}> #<SB-KERNEL:STRUCTURE-CLASSOID SB-PRETTY:PRETTY-STREAM> 25 #(#<SB-KERNEL:LAYOUT for T {9065D11}> #<SB-KERNEL:LAYOUT for STRUCTURE-OBJECT {9065D61}> #<SB-KERNEL:LAYOUT for STREAM {91AA2C9}> #<SB-KERNEL:LAYOUT for SB-KERNEL:ANSI-STREAM {907D121}>) 4 0) 1: (SB-KERNEL::INIT-OR-CHECK-LAYOUT #<SB-KERNEL:LAYOUT for SB-PRETTY:PRETTY-STREAM {940BAC9}> #<SB-KERNEL:STRUCTURE-CLASSOID SB-PRETTY:PRETTY-STREAM> 25 #(#<SB-KERNEL:LAYOUT for T {9065D11}> #<SB-KERNEL:LAYOUT for STRUCTURE-OBJECT {9065D61}> #<SB-KERNEL:LAYOUT for STREAM {91AA2C9}> #<SB-KERNEL:LAYOUT for SB-KERNEL:ANSI-STREAM {907D121}>) 4 0) 2: (SB-FASL::FOP-LAYOUT) 3: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file /var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl" {A7C5841}>) 4: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl" {A7C5841}> NIL #<unavailable argument>) 5: (SB-FASL::INTERNAL-LOAD #P"/var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl" #P"/var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl" :ERROR NIL NIL :BINARY NIL) 6: (SB-FASL::INTERNAL-LOAD #P"/var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl" #P"/var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl" :ERROR NIL NIL NIL :DEFAULT) 7: (LOAD #P"/var/cache/common-lisp-controller/1000/sbcl/cl-ppcre/api.fasl") 8: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) #<unavailable argument> #<unavailable argument> #<ASDF:LOAD-OP NIL {C355631}> #<ASDF:CL-SOURCE-FILE "api" {BA69809}>) 9: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument> #<ASDF:LOAD-OP NIL {C355631}> #<ASDF:CL-SOURCE-FILE "api" {BA69809}>) 10: ((LAMBDA NIL)) 11: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA NIL) {C3BF5BD}>) 12: (ASDF:OPERATE ASDF:LOAD-OP "cl-ppcre") 13: ((LAMBDA (FUNCTION)) #<CLOSURE (LAMBDA NIL) {C339B9D}>) 14: (SWANK::MEASURE-TIME-INTERVAL #<CLOSURE (LAMBDA NIL) {C339AFD}>) 15: (SWANK::SWANK-COMPILER #<CLOSURE (LAMBDA NIL) {C339AFD}>) 16: (SB-INT:EVAL-IN-LEXENV (SWANK:OPERATE-ON-SYSTEM-FOR-EMACS "cl-ppcre" "LOAD-OP") #<NULL-LEXENV>) 17: ((LAMBDA NIL)) 18: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {C33998D}>) 19: ((LAMBDA NIL)) 20: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {B8FFD5D}>) 21: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {A99B9E1}> #<CLOSURE (LAMBDA NIL) {C339825}>) 22: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {A99B9E1}> #<FUNCTION (LAMBDA NIL) {B8FFD5D}>) 23: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {A99B9E1}>)