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

Quicklisp fails to load #92

Open
patrickmay opened this issue Mar 23, 2019 · 4 comments
Open

Quicklisp fails to load #92

patrickmay opened this issue Mar 23, 2019 · 4 comments

Comments

@patrickmay
Copy link

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.

@borodust
Copy link
Contributor

Does cffi load?

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

@patrickmay
Copy link
Author

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
Copy link
Contributor

borodust commented Mar 23, 2019

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
Copy link
Author

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

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

2 participants