cl-autowrap icon indicating copy to clipboard operation
cl-autowrap copied to clipboard

Quicklisp fails to load

Open patrickmay opened this issue 6 years ago • 4 comments

Mac running Mojave, SBZCL version 1.5.0:

  • (ql:quickload :cl-autowrap) To load "cl-autowrap": Load 7 ASDF systems: alexandria asdf cffi cl-json cl-ppcre trivial-features uiop Install 2 Quicklisp releases: cl-autowrap defpackage-plus ; Fetching #<URL "http://beta.quicklisp.org/archive/defpackage-plus/2018-01-31/defpackage-plus-20180131-git.tgz"> ; 6.33KB ================================================== 6,485 bytes in 0.00 seconds (0.00KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/archive/cl-autowrap/2017-10-19/cl-autowrap-20171019-git.tgz"> ; 74.34KB ================================================== 76,123 bytes in 0.02 seconds (3912.57KB/sec) ; Loading "cl-autowrap" [package alexandria.0.dev]........................ [package cffi-utils].............................. [package cffi-features]........................... [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)

Is there a workaround for this?

Thanks.

patrickmay avatar Mar 23 '19 20:03 patrickmay

Does cffi load?

;; Evaluate after clean restart
(ql:quickload :cffi)

borodust avatar Mar 23 '19 20:03 borodust

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)

patrickmay avatar Mar 23 '19 20:03 patrickmay

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.

borodust avatar Mar 23 '19 20:03 borodust

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

patrickmay avatar Mar 23 '19 20:03 patrickmay