<div dir="ltr"><div><div>On Debian/Ubuntu and SBCL, I cannot load the latest cffi-libffi<br><br>To load "cffi-libffi":<br>  Load 1 ASDF system:<br>    cffi-libffi<br>; Loading "cffi-libffi"<br>; pkg-config libffi --cflags<br>; cc -m64 NIL -I/home/healy/languages/lisp/cffi/ -o /home/healy/.cache/common-lisp/sbcl-1.2.3.29-d15420c-linux-x64/home/healy/languages/lisp/cffi/libffi/libffi-unix /home/healy/.cache/common-lisp/sbcl-1.2.3.29-d15420c-linux-x64/home/healy/languages/lisp/cffi/libffi/libffi-unix.c<br><br>debugger invoked on a CFFI-GROVEL:GROVEL-ERROR in thread #<THREAD "main thread" RUNNING {1002BEE843}>: External process exited with code 1.<br>Command was: "cc" "-m64" "NIL" "-I/home/healy/languages/lisp/cffi/" "-o" "/home/healy/.cache/common-lisp/sbcl-1.2.3.29-d15420c-linux-x64/home/healy/languages/lisp/cffi/libffi/libffi-unix" "/home/healy/.cache/common-lisp/sbcl-1.2.3.29-d15420c-linux-x64/home/healy/languages/lisp/cffi/libffi/libffi-unix.c"<br>Output was:<br>cc: error: NIL: No such file or directory<br><br><br>Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.<br><br>restarts (invokable by number or by possibly-abbreviated name):<br>  0: [RETRY                        ] Retry PROCESS-OP on #<GROVEL-FILE "cffi-libffi" "libffi" "libffi">.<br>  1: [ACCEPT                       ] Continue, treating PROCESS-OP on #<GROVEL-FILE "cffi-libffi" "libffi" "libffi"> as having been successful.<br>  2:                                 Retry ASDF operation.<br>  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.<br>  4: [ABORT                        ] Give up on "cffi-libffi"<br>  5:                                 Exit debugger, returning to top level.<br><br>(CFFI-GROVEL:GROVEL-ERROR "External process exited with code ~S.~@<br>                     Command was: ~S~{ ~S~}~@<br>                     Output was:~%~A" 1 "cc" ("-m64" "NIL" "-I/home/healy/languages/lisp/cffi/" "-o" "/home/healy/.cache/common-lisp/sbcl-1.2.3.29-d15420c-linux-x64/home/healy/languages/lisp/cffi/libffi/libffi-unix" "/home/healy/.cache/common-lisp/sbcl-1.2.3.29-d15420c-linux-x64/home/healy/languages/lisp/cffi/libffi/libffi-unix.c") "cc: error: NIL: No such file or directory<br>")<br>0] <br><br></div>I bisected this down to this commit:<br>     4d5479d692f07c641d3218c4728fa43287528366 is the first bad commit<br>     commit 4d5479d692f07c641d3218c4728fa43287528366<br>     Author: Sumant Oemrawsingh <<a href="mailto:soemraws@xs4all.nl">soemraws@xs4all.nl</a>><br>     Date:   Fri Oct 31 19:03:54 2014 +0100<br><br>         Find cc-flags for libffi using pkg-config on linux.<br><br>     :040000 040000 2dec1750de47713e34eb726a561dec296a927a17 2a4da151f69703e60f54c8881a84a6a0dcc9d471 M    libffi<br>   <br><br></div>Liam<br></div>