fast-generic-functions icon indicating copy to clipboard operation
fast-generic-functions copied to clipboard

Error with SBCL 2.4.0

Open glv2 opened this issue 1 year ago • 1 comments

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">

glv2 avatar Jan 05 '24 09:01 glv2

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?

pranavats avatar Apr 16 '24 09:04 pranavats