17.11.2022, 19:12, "Stas Boukarev" <stassats@gmail.com>:
>
> How does it break sbcl?
 
SBCL 2.2.1 signals PACKAGE-DOES-NOT-EXIST when loading compiled .fasl for that file.
I thought yesterday I reproduced it on 2.2.9 too, but trying now and can not.
The reduced test case:
 
   $ echo '(when nil (in-package #:test-pkg))' > test.lisp
   $ sbcl-2.2.1-x86-64-linux/run-sbcl.sh --eval '(load (compile-file "test.lisp"))' --eval '(quit)'
 
   ...
   debugger invoked on a PACKAGE-DOES-NOT-EXIST in thread
   #<THREAD "main thread" RUNNING {10014E8003}>:
     The name "TEST-PKG" does not designate any package.