Skip to content

Instantly share code, notes, and snippets.

@sjl
Created November 2, 2020 17:18
Show Gist options
  • Save sjl/49f025f777fa2c0da3e3bf97f18abdb7 to your computer and use it in GitHub Desktop.
Save sjl/49f025f777fa2c0da3e3bf97f18abdb7 to your computer and use it in GitHub Desktop.
[SBCL] CL-USER> (ql:quickload :cl-protobufs)
To load "cl-protobufs":
Load 1 ASDF system:
cl-protobufs
; Loading "cl-protobufs"
debugger invoked on a CL-PROTOBUFS:PROTOBUF-ERROR in thread
#<THREAD "main thread" RUNNING {1001568103}>:
Could not find file "type.proto" imported by #<CL-PROTOBUFS:FILE-DESCRIPTOR API (package google.protobuf) {10078448E3}>
restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING ] Recompile api and try loading it again
1: [RETRY ] Retry
loading FASL for #<CL-SOURCE-FILE "cl-protobufs" "misc" "api">.
2: [ACCEPT ] Continue, treating
loading FASL for #<CL-SOURCE-FILE "cl-protobufs" "misc" "api">
as having been successful.
3: Retry ASDF operation.
4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
5: Retry ASDF operation.
6: Retry ASDF operation after resetting the
configuration.
7: [ABORT ] Give up on "cl-protobufs"
8: Exit debugger, returning to top level.
(CL-PROTOBUFS:PROTOBUF-ERROR "Could not find file ~S imported by ~S" "type.proto" #<CL-PROTOBUFS:FILE-DESCRIPTOR API (package google.protobuf) {10078448E3}>)
source: (ERROR 'PROTOBUF-ERROR :FORMAT-CONTROL FORMAT-CONTROL
:FORMAT-ARGUMENTS FORMAT-ARGUMENTS)
0] backtrace
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001568103}>
0: (CL-PROTOBUFS:PROTOBUF-ERROR "Could not find file ~S imported by ~S" "type.proto" #<CL-PROTOBUFS:FILE-DESCRIPTOR API (package google.protobuf) {10078448E3}>)
1: (PI:VALIDATE-IMPORTS #<CL-PROTOBUFS:FILE-DESCRIPTOR API (package google.protobuf) {10078448E3}> ("source_context.proto" "type.proto"))
2: (SB-FASL::LOAD-FASL-GROUP #S(SB-FASL::FASL-INPUT :STREAM #<SB-SYS:FD-STREAM for "file /home/sjl/.cache/common-lisp/sbcl-2.0.10-linux-x64/home/sjl/src/cl-protobufs/api.fasl" {1007750C03}> :TABLE #(35 COMMON-LISP:SET COMMON-LISP:*PACKAGE* "COMMON-LISP-USER" #<COMMON-LISP:PACKAGE "SB-C"> SB-C::%PROCLAIM COMMON-LISP:OPTIMIZE SB-C:STORE-COVERAGE-DATA #1=(SB-C:STORE-COVERAGE-DATA 0) (COMMON-LISP:OPTIMIZE #1#) "/home/sjl/.cache/common-lisp/sbcl-2.0.10-linux-x64/home/sjl/src/cl-protobufs/api.lisp" #<SB-KERNEL:LAYOUT for SB-C:DEFINITION-SOURCE-LOCATION {50201883}> ...) :STACK #(0 PI:DEFINE-SCHEMA API :SYNTAX :PROTO3 :PACKAGE "google.protobuf" :IMPORT ("source_context.proto" #2="type.proto") #2# COMMON-LISP:NIL ("CL-PROTOBUFS.GOOGLE.PROTOBUF") ...) :NAME-BUFFER #("" "IMPORTESCHEMAE-DATA") :DEPRECATED-STUFF COMMON-LISP:NIL :SKIP-UNTIL COMMON-LISP:NIL) COMMON-LISP:NIL)
3: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/sjl/.cache/common-lisp/sbcl-2.0.10-linux-x64/home/sjl/src/cl-protobufs/api.fasl" {1007750C03}> COMMON-LISP:NIL COMMON-LISP:NIL)
4: ((COMMON-LISP:FLET SB-FASL::THUNK :IN COMMON-LISP:LOAD))
5: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<CLOSURE (COMMON-LISP:FLET SB-FASL::THUNK :IN COMMON-LISP:LOAD) {7F30C361646B}> #<SB-SYS:FD-STREAM for "file /home/sjl/.cache/common-lisp/sbcl-2.0.10-linux-x64/home/sjl/src/cl-protobufs/api.fasl" {1007750C03}>)
6: ((COMMON-LISP:FLET SB-FASL::LOAD-STREAM :IN COMMON-LISP:LOAD) #<SB-SYS:FD-STREAM for "file /home/sjl/.cache/common-lisp/sbcl-2.0.10-linux-x64/home/sjl/src/cl-protobufs/api.fasl" {1007750C03}> COMMON-LISP:T)
7: (COMMON-LISP:LOAD #P"/home/sjl/.cache/common-lisp/sbcl-2.0.10-linux-x64/home/sjl/src/cl-protobufs/api.fasl" :VERBOSE COMMON-LISP:NIL :PRINT COMMON-LISP:NIL :IF-DOES-NOT-EXIST COMMON-LISP:T :EXTERNAL-FORMAT :DEFAULT)
8: (UIOP/UTILITY:CALL-WITH-MUFFLED-CONDITIONS #<CLOSURE (COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN UIOP/LISP-BUILD:LOAD*) {100775049B}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
9: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-protobufs" "misc" "api">)
10: ((COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
11: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-protobufs" "misc" "api">) [fast-method]
12: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (COMMON-LISP:T COMMON-LISP:T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-protobufs" "misc" "api">) [fast-method]
13: ((:METHOD ASDF/PLAN:PERFORM-PLAN (COMMON-LISP:T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {1006911783}>) [fast-method]
14: ((COMMON-LISP:FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
15: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (COMMON-LISP:T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {1006911783}>) [fast-method]
16: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "cl-protobufs"> :PLAN-CLASS COMMON-LISP:NIL :PLAN-OPTIONS COMMON-LISP:NIL) [fast-method]
17: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "cl-protobufs"> :VERBOSE COMMON-LISP:NIL)
18: ((COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN ASDF/OPERATE:OPERATE))
19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (COMMON-LISP:T COMMON-LISP:T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "cl-protobufs"> :VERBOSE COMMON-LISP:NIL) [fast-method]
20: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "cl-protobufs" :VERBOSE COMMON-LISP:NIL)
21: ((COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN ASDF/OPERATE:OPERATE))
22: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (COMMON-LISP:T COMMON-LISP:T)) ASDF/LISP-ACTION:LOAD-OP "cl-protobufs" :VERBOSE COMMON-LISP:NIL) [fast-method]
23: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN ASDF/OPERATE:OPERATE) {10068F7E2B}> :OVERRIDE COMMON-LISP:T :KEY COMMON-LISP:NIL :OVERRIDE-CACHE COMMON-LISP:T :OVERRIDE-FORCING COMMON-LISP:NIL)
24: ((COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN ASDF/OPERATE:OPERATE))
25: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN ASDF/OPERATE:OPERATE) {10068EB7BB}> :OVERRIDE COMMON-LISP:NIL :KEY COMMON-LISP:NIL :OVERRIDE-CACHE COMMON-LISP:NIL :OVERRIDE-FORCING COMMON-LISP:NIL)
26: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (COMMON-LISP:T COMMON-LISP:T)) ASDF/LISP-ACTION:LOAD-OP "cl-protobufs" :VERBOSE COMMON-LISP:NIL) [fast-method]
27: (ASDF/OPERATE:LOAD-SYSTEM "cl-protobufs" :VERBOSE COMMON-LISP:NIL)
28: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<CLOSURE (COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {10068E9F6B}>)
29: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "cl-protobufs" :PROMPT COMMON-LISP:NIL)
30: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (COMMON-LISP:T COMMON-LISP:T)) #<unused argument> #<CLOSURE (COMMON-LISP:FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {100632306B}>) [fast-method]
31: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL COMMON-LISP:T)) #<QL-IMPL:SBCL {1005A3E4F3}> #<CLOSURE (COMMON-LISP:FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {100632306B}>) [fast-method]
32: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (COMMON-LISP:T)) :CL-PROTOBUFS :PROMPT COMMON-LISP:NIL :SILENT COMMON-LISP:NIL :VERBOSE COMMON-LISP:NIL) [fast-method]
33: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {100631326B}>)
34: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD :CL-PROTOBUFS) #<NULL-LEXENV>)
35: (COMMON-LISP:EVAL (QUICKLISP-CLIENT:QUICKLOAD :CL-PROTOBUFS))
36: (SB-EXT:INTERACTIVE-EVAL (QUICKLISP-CLIENT:QUICKLOAD :CL-PROTOBUFS) :EVAL COMMON-LISP:NIL)
37: (SB-IMPL::REPL-FUN COMMON-LISP:NIL)
38: ((COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN SB-IMPL::TOPLEVEL-REPL))
39: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (COMMON-LISP:LAMBDA COMMON-LISP:NIL :IN SB-IMPL::TOPLEVEL-REPL) {10063128CB}>)
40: (SB-IMPL::TOPLEVEL-REPL COMMON-LISP:NIL)
41: (SB-IMPL::TOPLEVEL-INIT)
42: ((COMMON-LISP:FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
43: ((COMMON-LISP:FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
44: (SB-IMPL::START-LISP)
0] 0
..
(:CL-PROTOBUFS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment