tclcs-code icon indicating copy to clipboard operation
tclcs-code copied to clipboard

Some systems failed to build for Quicklisp dist

Open quicklisp opened this issue 8 months ago • 3 comments

Building with SBCL 2.5.5 / ASDF 3.3.5 for quicklisp dist creation.

Trying to build commit id 357fa0627fe20d42e1e759c425c663be41b2e183

tclcs-code fails to build with the following error:

; caught WARNING:
;   Derived type of CLCS-35-CHECK-TYPE::X is (SIMPLE-ARRAY CHARACTER (2)), conflicting with its asserted type INTEGER.
;   See also:
;     The SBCL Manual, Node "Handling of Types"
...
; caught WARNING:
;   Derived type of CLCS-35-CHECK-TYPE::X is (INTEGER 24 24), conflicting with its asserted type (INTEGER 42 42).
;   See also:
;     The SBCL Manual, Node "Handling of Types"
...
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD tid=1869110 "main thread" RUNNING {1200F10003}>: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "tclcs-code" "07-assertions" "tclcs-35-check-type">

Full log here

quicklisp avatar Jun 13 '25 09:06 quicklisp

@quicklisp That's example code for my Lisp condition system book - it is supposed to compile and signal errors at runtime (which it does, except ASDF is overzealous here). I can complicate it so that it won't signal warnings at compile-time (e.g. via eval or something similar), but I'll lose simplicity that way.

What should we do here?

phoe avatar Jun 16 '25 16:06 phoe

Hmm, if you want it loadable with Quicklisp, somehow the compile-time errors have to be ignored/suppressed during ASDF load. I don't know the best way to do that, unfortunately.

On Mon, Jun 16, 2025 at 12:57 PM phoe @.***> wrote:

phoe left a comment (phoe/tclcs-code#1) https://github.com/phoe/tclcs-code/issues/1#issuecomment-2977363999

@quicklisp https://github.com/quicklisp That's example code for my Lisp condition system book - it is supposed to compile and signal errors at runtime (which it does, except ASDF is overzealous here). I can complicate it so that it won't signal warnings at compile-time (e.g. via eval or something similar), but I'll lose simplicity that way.

What should we do here?

— Reply to this email directly, view it on GitHub https://github.com/phoe/tclcs-code/issues/1#issuecomment-2977363999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPNLJW5TICTN3TJJNE2I33D3ZPFAVCNFSM6AAAAAB7HVSNZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNZXGM3DGOJZHE . You are receiving this because you were mentioned.Message ID: @.***>

quicklisp avatar Jun 17 '25 09:06 quicklisp

OK, added eval - should work now.

phoe avatar Jun 17 '25 09:06 phoe