Hi, I'm trying to build a skeleton Caveman app with the following:
buildapp --output test-build \
--asdf-tree ~/quicklisp/dists/quicklisp/software/ \
--load-system test \
but get the following error:
;; loading system ...
The name "QUICKLISP-CLIENT" does not designate any package.
I can't seem to find where this comes from (neither asdf-path/tree include a mention of grep -nr quicklisp-client .)
grep -nr quicklisp-client .
fixed by building Buildapp from source, instead of through quicklisp (buildapp:build-buildapp)
Thanks for the report. I was able to reproduce and I'd like to figure out why this is happening, so I'm reopening.
I found the problem. clack is baking a reference to quicklisp into its FASL output. But quicklisp is not loaded when buildapp tries to load the fasl later. Deleting all FASLs would help. It might also be feasible for buildapp to define its own fasl directory and clean it up later. I'm not sure what the best fix is, though.
I ran into this same issue (although with repl-utilities leaving a reference to quicklisp-client in the fasl instead of clack.) This is certainly not a buildapp specific issue, and I'm leaning towards viewing my use of a read time conditional to check for a load time condition as a bug in repl-utilities.
If buildapp took one attempt at recompilation on failed loads it probably would have "fixed" my particular situation, but I'm unsure if that would introduce further surprises. Forcing recompilation of everything is slow on my system but I am going to do that in my buildapp script for now and see if I can stomach it.