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 with SBCL 2.4.0 #13

Open
glv2 opened this issue Jan 5, 2024 · 1 comment
Open

Error with SBCL 2.4.0 #13

glv2 opened this issue Jan 5, 2024 · 1 comment

Comments

@glv2
Copy link

glv2 commented Jan 5, 2024

I get the following error with SBCL 2.4.0 (on GNU/Linux x86-64):

; compiling file "/gnu/store/zpcb4zs0bhazzdb3l9jz11pbnymar2nw-sbcl-fast-generic-functions-0.0.0-1.9c307cd/share/common-lisp/sbcl/fast-generic-functions/code/expand-effective-method-body.lisp" (written 01 JAN 1970 12:00:00 AM):
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Lock on package SB-PCL violated when interning %NO-PRIMARY-METHOD while in
;     package FAST-GENERIC-FUNCTIONS.
;   See also:
;     The SBCL Manual, Node "Package Locks"
;   
;     (in form starting at line: 3, column: 0, position: 39)

; compilation aborted after 0:00:00.000
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD tid=28 "main thread" RUNNING
                                                          {1001460003}>:
  COMPILE-FILE-ERROR while compiling
   #<CL-SOURCE-FILE "fast-generic-functions" "expand-effective-method-body">
@pranavats
Copy link

A temporary workaround suggested by @edwlan in Common Lisp matrix room unlocks the entire sb-pcl package.

(sb-ext:unlock-package :sb-pcl)

Are there any workarounds for this issue that don't involve unlocking entire packages?

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