$ make mkdir -p bin sbcl --noinform --no-sysinit --no-userinit --load bundle.lisp \ --eval '(asdf:load-system :buildapp)' \ --eval '(buildapp:build-buildapp "bin/buildapp.exe")' \ --eval '(quit)' ; compiling file "C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/package.lisp" (written 06 JUL 2017 07:46:28 AM): ; compiling (DEFPACKAGE #:BUILDAPP ...) ; compiling (IN-PACKAGE #:BUILDAPP) ; C:/Users/foo/AppData/Local/cache/common-lisp/sbcl-1.4.2-win-x64/C/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/package-tmpGHU3ALSV.fasl written ; compilation finished in 0:00:00.004 ; compiling file "C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/utils.lisp" (written 06 JUL 2017 07:46:28 AM): ; compiling (IN-PACKAGE #:BUILDAPP) ; compiling (DEFUN GET-ARGS ...) ; compiling (DEFMACRO BACKTRACE-AS-LIST ...) ; compiling (DEFMACRO QUIT ...) ; compiling (DEFMACRO RUN-PROGRAM ...) ; compiling (DEFUN NATIVE-NAMESTRING ...) ; compiling (DEFPARAMETER *ALPHABET* ...) ; compiling (DEFUN RANDOM-STRING ...) ; compiling (DEFUN CALL-WITH-TEMPORARY-OPEN-FILE ...) ; compiling (DEFMACRO WITH-TEMPFILE ...) ; compiling (DEFCLASS PSEUDOSYMBOL ...) ; compiling (DEFMETHOD PRINT-OBJECT ...) ; compiling (DEFUN MAKE-PSEUDOSYMBOL ...) ; compiling (DEFCLASS DISPATCHED-ENTRY ...) ; compiling (DEFMETHOD PRINT-OBJECT ...) ; compiling (DEFINE-CONDITION MALFORMED-DISPATCH-ENTRY ...) ; compiling (DEFUN MAKE-DISPATCHED-ENTRY ...) ; compiling (DEFUN DEFAULT-ENTRY-P ...) ; compiling (DEFUN DIRECTORIZE ...) ; compiling (DEFUN ALL-ASDF-DIRECTORIES ...) ; compiling (DEFUN COPY-FILE ...) ; compiling (DEFUN FILE-LINES ...) ; compiling (DEFUN FLATTEN ...) ; C:/Users/foo/AppData/Local/cache/common-lisp/sbcl-1.4.2-win-x64/C/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/utils-tmpAAURSO1.fasl written ; compilation finished in 0:00:00.045 ; compiling file "C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/asdf-files.lisp" (written 06 JUL 2017 07:46:28 AM): ; compiling (IN-PACKAGE #:BUILDAPP) ; compiling (DEFUN MANIFEST-FILE-FILES ...) ; compiling (DEFUN ASDF-PATH-FILES ...) ; compiling (DEFUN ASDF-TREE-FILES ...) ; compiling (DEFUN ASDF-DIRECTIVE-FILES ...) ; C:/Users/foo/AppData/Local/cache/common-lisp/sbcl-1.4.2-win-x64/C/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/asdf-files-tmp5GEXGEG5.fasl written ; compilation finished in 0:00:00.011 ; compiling file "C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/dumper.lisp" (written 06 JUL 2017 07:46:28 AM): ; compiling (IN-PACKAGE #:BUILDAPP) ; compiling (DEFCLASS DUMPER ...) ; compiling (DEFGENERIC NEEDS-ASDF-P ...) ; compiling (DEFMETHOD PRINT-OBJECT ...) ; compiling (DEFGENERIC ASDF-SYSTEM-FILES ...) ; compiling (DEFUN DISPATCHED-ENTRY-FORM ...) ; file: C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/dumper.lisp ; in: DEFUN DISPATCHED-ENTRY-FORM ; (MACROEXPAND-1 (BUILDAPP::QUIT 1)) ; ; note: The first argument never returns a value. ; ; note: deleting unreachable code ; compiling (DEFGENERIC ENTRY-FUNCTION-FORM ...) ; compiling (DEFGENERIC ENTRY-FUNCTION-CHECK-FORM ...) ; compiling (DEFPARAMETER *DUMPABLE-FORMS* ...) ; compiling (DEFMACRO DUMPABLE ...) ; compiling (DEFUN DUMP-FORM ...) ; C:/Users/foo/AppData/Local/cache/common-lisp/sbcl-1.4.2-win-x64/C/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/dumper-tmpAR3FSGEY.fasl written ; compilation finished in 0:00:00.024 ; compiling file "C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/command-line.lisp" (written 06 JUL 2017 07:46:28 AM): ; compiling (IN-PACKAGE #:BUILDAPP) ; compiling (DEFINE-CONDITION COMMAND-LINE-ERROR ...) ; compiling (DEFINE-CONDITION ODD-NUMBER-OF-ARGUMENTS ...) ; compiling (DEFINE-CONDITION PROVIDED-ARGUMENT-ERROR ...) ; compiling (DEFINE-CONDITION REQUIRED-ARGUMENT-MISSING ...) ; compiling (DEFINE-CONDITION UNKNOWN-ARGUMENT ...) ; compiling (DEFINE-CONDITION MISSING-OUTPUT-ARGUMENT ...) ; compiling (DEFINE-CONDITION DUPLICATE-ARGUMENT ...) ; compiling (DEFINE-CONDITION DUPLICATE-DEFAULT-DISPATCHED-ENTRY ...) ; compiling (DEFINE-CONDITION ENTRY-AND-DISPATCHED-ENTRY ...) ; compiling (DEFUN ARGUMENT-KEYWORD ...) ; compiling (DEFMACRO POPFLAG ...) ; compiling (DEFUN COMMAND-LINE-DUMPER ...) ; C:/Users/foo/AppData/Local/cache/common-lisp/sbcl-1.4.2-win-x64/C/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/command-line-tmpJAIDFZTC.fasl written ; compilation finished in 0:00:00.030 ; compiling file "C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/buildapp.lisp" (written 06 JUL 2017 07:46:28 AM): ; compiling (IN-PACKAGE #:BUILDAPP) ; compiling (DEFPARAMETER *OUTPUT-TYPE-PATHNAME* ...) ; compiling (DEFPARAMETER *SHORT-USAGE* ...) ; compiling (DEFPARAMETER *USAGE* ...) ; compiling (DEFINE-CONDITION SILENT-EXIT-ERROR ...) ; compiling (DEFPARAMETER *SYSTEM-LOAD-OUTPUT* ...) ; compiling (DEFPARAMETER *LOGFILE-OUTPUT* ...) ; compiling (DUMPABLE CHECK-PSEUDOSYMBOL ...) ; compiling (DEFUN PSEUDOSYMBOL-CHECK-FORM ...) ; compiling (DUMPABLE DEBUGGER ...) ; compiling (DEFUN COMMAND-LINE-DEBUGGER ...) ; file: C:/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/buildapp.lisp ; in: DEFUN COMMAND-LINE-DEBUGGER ; (BUILDAPP::BACKTRACE-AS-LIST) ; ==> ; (BACKTRACE-AS-LIST) ; ; caught STYLE-WARNING: ; The function SB-DEBUG:BACKTRACE-AS-LIST has been deprecated as of SBCL version 1.2.15. ; ; Use SB-DEBUG:LIST-BACKTRACE instead. ; ; In future SBCL versions SB-DEBUG:BACKTRACE-AS-LIST will signal a full warning ; at compile-time. ; See also: ; The SBCL Manual, Node "Deprecation Conditions" ; compiling (DUMPABLE ASDF-OPS ...) ; compiling (DUMPABLE FILE-OPS ...) ; compiling (DEFUN DUMPER-ACTION-FORMS ...) ; compiling (DEFUN INVOKE-DEBUGGER-HOOK-WRAPPER ...) ; compiling (DEFUN DUMPER-ACTION-FORM ...) ; compiling (DEFUN DUMPFILE-FORMS ...) ; compiling (DEFUN WRITE-DUMPFILE ...) ; compiling (DEFUN DUMP-TO-FILE ...) ; compiling (DEFUN MAIN ...) ; compiling (DEFUN BUILD-BUILDAPP ...) ; compiling (DEFUN BUILDAPP-INIT ...) ; compiling (PUSHNEW (QUOTE BUILDAPP-INIT) ...) ; C:/Users/foo/AppData/Local/cache/common-lisp/sbcl-1.4.2-win-x64/C/msys64/home/foo/downloads/pgloader-bundle-3.4.1/software/buildapp-1.5.6/buildapp-tmp8V3J6PE9.fasl written ; compilation finished in 0:00:00.044 WARNING: Lisp compilation had style-warnings while compiling # WARNING: Reference to deprecated function (SB-DEBUG:BACKTRACE-AS-LIST) from COMMAND-LINE-DEBUGGER ; ; compilation unit finished ; caught 1 STYLE-WARNING condition ; printed 2 notes ;; loading system "buildapp" bin/buildapp.exe --logfile /tmp/pgloader-bundle-build.log \ --require sb-posix --require sb-bsd-sockets --require sb-rotate-byte \ --sbcl sbcl \ --asdf-tree . \ --load-system pgloader \ --eval '(setf pgloader.params::*version-string* "3.4.1")' \ --load local-projects/pgloader-3.4.1/src/hooks.lisp \ --entry pgloader:main \ --dynamic-space-size 1024 \ \ --output bin/pgloader.tmp ;; loading system "pgloader" Fatal CIRCULAR-DEPENDENCY: Circular dependency: ((# . #) (# . #) (# . #) (# . #) (# . #) (# . #) (# . #)) make: *** [Makefile:47: bin/pgloader] Error 1