This compiles fine on ccl, but fails with a circular ref. error on SBCL:
kp.asd: (in-package :asdf) (defsystem kp :components ((:module "utils" :components ((:file "utils") )) )) (load-system :kp) ------------------------ utils.lisp: (defpackage :utils) (in-package :utils) (defvar *kp-version-utime* (get-universal-time)) ------------------------ Error reported by SBCL: debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD "main thread" RUNNING {10005E85B3}>: Error while trying to load definition for \ system kp from pathname /var/www/ai/insights/kp.asd: Circular dependency: ((#<DEFINE-OP > . #<SYSTEM "kp">) (#<LOAD-OP > . #<SYSTEM "kp">) (#<LOAD-OP\ > . #<MODULE "kp" "utils">) (#<LOAD-OP > . #<CL-SOURCE-FILE "kp" "utils" "utils">) (#<PREPARE-OP > . #<CL-SOURCE-FILE "kp" "utils" "utils">) (#<PREP\ ARE-OP > . #<MODULE "kp" "utils">) (#<PREPARE-OP > . #<SYSTEM "kp">)) (It looks like your post is mostly code; please add some more details.)