Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Symbol "DEFCALLBACK" not found in the CLAW package" #39

Open
svetlyak40wt opened this issue Jan 29, 2020 · 5 comments
Open

Error "Symbol "DEFCALLBACK" not found in the CLAW package" #39

svetlyak40wt opened this issue Jan 29, 2020 · 5 comments

Comments

@svetlyak40wt
Copy link

svetlyak40wt commented Jan 29, 2020

Unable to load Sucle with the latest quicklisp dists:

…
[package claw-utils]..............................
[package glfw]....................................
[package window]..
;
; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Symbol "DEFCALLBACK" not found in the CLAW package.
;
;       Line: 377, Column: 20, File-Position: 9755
;
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /Users/art/projects/lisp/sucle/src/window/glfw3.lisp" {100548B903}>
; Debugger entered on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1002AC3463}>
;
; compilation unit aborted
;   caught 2 fatal ERROR conditions
;   caught 1 ERROR condition
[1] CL-USER>
; Evaluation aborted on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1002AC3463}>
CL-USER> (ql:where-is-system :claw)
#P"/Users/art/.roswell/lisp/quicklisp/dists/org.borodust.bodge/software/claw-20191116131925/"
CL-USER> (ql-dist:all-dists)
(#<QL-DIST:DIST org.borodust.bodge 20191116132028>
 #<QL-DIST:DIST quicklisp 2019-12-27> #<QL-DIST:DIST ultralisp 20200129120504>)
@commander-trashdin
Copy link

Yeah, same happens to me.

@parjanya
Copy link

same here

@gregcman
Copy link
Owner

Whoops, I was using a different version of quicklisp, org.borodust.bodge, and ultralisp.

CL-USER> (ql:where-is-system :claw)
#P"/home/imac/quicklisp/dists/ultralisp/software/borodust-claw-20190319094617/"
CL-USER> (ql-dist:all-dists)
(#<QL-DIST:DIST org.borodust.bodge 20180808145520>
 #<QL-DIST:DIST quicklisp 2019-12-27> #<QL-DIST:DIST ultralisp 20190417075502>)
CL-USER> 

Upon loading the new libraries there was a conflict between the new cl-json and an old version of cl-json found here: https://github.com/kennytilton/qooxlisp/tree/master/cl-json_0.4.0 , so I had to remove ultralisp.

Now I can reproduce the error:

; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "DEFCALLBACK" not found in the CLAW package.
;   
;       Line: 393, Column: 20, File-Position: 10436
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/imac/quicklisp/local-projects/symmetrical-umbrella/src/window/glfw3.lisp" {1005A307C3}>

; compilation aborted after 0:00:00.143

@gregcman
Copy link
Owner

Now there is a collision between base64 from claw/wrapper and cl-base64

@gregcman
Copy link
Owner

After switching libraries from cl-base64 -> base64, changing claw:defcallback to cffi:defcallback, updating all dists with (ql:update-all-dists), and removing ultralisp in order to use cl-json, it seems to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants