rpav / cl-autowrap

(c-include "file.h") => complete FFI wrapper
BSD 2-Clause "Simplified" License
210 stars 41 forks source link

Quicklisp fails to load #92

Open patrickmay opened 5 years ago

patrickmay commented 5 years ago

Mac running Mojave, SBZCL version 1.5.0:

Is there a workaround for this?

Thanks.

borodust commented 5 years ago

Does cffi load?

;; Evaluate after clean restart
(ql:quickload :cffi)
patrickmay commented 5 years ago

Nope:

* (ql:quickload :cffi)
To load "cffi":
  Load 1 ASDF system:
    cffi
; Loading "cffi"
[package cffi-sys]....; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Lock on package SB-ALIEN violated when interning SHARED-OBJECT-FILE while in
;     package CFFI-SYS.
;   See also:
;     The SBCL Manual, Node "Package Locks"
;   
;     (in form starting at line: 306, column: 0, position: 10629)
borodust commented 5 years ago

This is cffi issue then.

But just in case, ensure you don't have anything in ~/quicklisp/local-projects directory, nuke caches (probably in ~/.cache/common-lisp/), then do

(ql:update-all-dists)

And try again.

patrickmay commented 5 years ago

Thanks for the quick response. I toasted the .cache, but no joy. I'll head over to the CFFI repo.