didierverna / declt

Reference manual generator for Common Lisp libraries
Other
38 stars 6 forks source link

Package lock with SBCL 2.4.1 (and others?) #25

Closed justjoheinz closed 7 months ago

justjoheinz commented 7 months ago

When loading declt from quicklisp I get

 (ql:quickload :net.didierverna.declt)
To load "net.didierverna.declt":
  Load 1 ASDF system:
    asdf
  Install 3 Quicklisp releases:
    declt melisgl-mgl-pax melisgl-named-readtables
; Fetching 'https://dist.ultralisp.org/archive/551/melisgl-mgl-pax-20231110081633.tgz'.
; Done 'melisgl-mgl-pax-20231110081633.tgz' (959.70KB) in 0.706305 seconds.
; Fetching 'https://dist.ultralisp.org/archive/507/melisgl-named-readtables-20230831191951.tgz'.
; Done 'melisgl-named-readtables-20230831191951.tgz' (31.26KB) in 0.314022 seconds.
; Fetching 'https://beta.quicklisp.org/archive/declt/2022-07-07/declt-4.0b2.tgz'.
; Done 'declt-4.0b2.tgz' (420.15KB) in 1.103911 seconds.
; Loading "net.didierverna.declt"
[package mgl-pax.asdf]............................
[package dref-ext]................................
[package dref]....................................
[package dref-ext]................................
[package dref]....................................
[package mgl-pax].................................
[package mgl-pax].................................
[package editor-hints.named-readtables]...........
[package editor-hints.named-readtables]...........
[package net.didierverna.declt.setup].............
[package net.didierverna.declt.assess]....
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Lock on package SB-KERNEL violated when interning DD-ELEMENT-TYPE while in
;     package NET.DIDIERVERNA.DECLT.ASSESS.
;   See also:
;     The SBCL Manual, Node "Package Locks"
;   
;     (in form starting at line: 829, column: 0, position: 32253)
; Debugger entered on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {700688DEB3}

and in the debugger:

COMPILE-FILE-ERROR while compiling
   #<CL-SOURCE-FILE "net.didierverna.declt.assess" "src" "symbol">
   [Condition of type UIOP/LISP-BUILD:COMPILE-FILE-ERROR]

The same happens when trying to load the project from github sources.

didierverna commented 7 months ago

Hello! See issue #24 about this. In short, compile SBCL with --fancy or at least with --with-sb-xref-for-internals. I'm closing this, but feel free to re-open if the problem is elsewhere.