Eval this to reproduce the bug:
- (load "~/quicklisp/dists/quicklisp/software/cl-jpeg-20170124-git/package.lisp")
- (load "~/quicklisp/dists/quicklisp/software/cl-jpeg-20170124-git/jpeg.lisp")
+q-luminance+ is unbound
To fix it separate the macro forms that are dependent upon each other. Perhaps the define-constant macro also needs to be wrapped in an eval-when.