<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Thanks for catching that. I removed my .sbcl directory, which had several packages cached, and now it all installs correctly.<div class=""><br class=""></div><div class="">Thanks again,</div><div class=""><br class=""></div><div class="">Patrick</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 23, 2019, at 7:24 PM, Zach Beane <<a href="mailto:xach@xach.com" class="">xach@xach.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">You are using CFFI 0.9.2, which is over ten years old. Try using a more recent CFFI, which is compatible with modern SBCL.<div class=""><br class=""></div><div class="">Zach</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 23, 2019 at 6:46 PM Patrick May <<a href="mailto:patrick.may@mac.com" class="">patrick.may@mac.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><span class="gmail-m_-3752619634666345077Apple-tab-span" style="white-space:pre-wrap"> </span>Thanks, I wasn’t aware of that. Here’s the results of using asdf:<div class=""><br class=""></div><div class="">> sbcl<br class="">This is SBCL 1.5.0, an implementation of ANSI Common Lisp.<br class="">More information about SBCL is available at <<a href="http://www.sbcl.org/" target="_blank" class="">http://www.sbcl.org/</a>>.<br class=""><br class="">SBCL is free software, provided as is, with absolutely no warranty.<br class="">It is mostly in the public domain; some portions are provided under<br class="">BSD-style licenses. See the CREDITS and COPYING files in the<br class="">distribution for more information.<br class="">* (asdf:load-system :cffi)<br class="">; compiling file "/Users/Patrick/.sbcl/site/cffi_0.9.2/src/cffi-sbcl.lisp" (written 08 SEP 2006 04:56:43 PM):<br class="">; compiling (DEFPACKAGE #:CFFI-SYS ...)<br class="">; compiling (IN-PACKAGE #:CFFI-SYS)<br class="">; compiling (MAPC (LAMBDA # ...) ...)<br class="">; compiling (DEFUN CANONICALIZE-SYMBOL-NAME-CASE ...)<br class="">; compiling (DEFUN POINTERP ...)<br class="">; compiling (DEFUN POINTER-EQ ...)<br class="">; compiling (DEFUN NULL-POINTER ...)<br class="">; compiling (DEFUN NULL-POINTER-P ...)<br class="">; compiling (DEFUN INC-POINTER ...)<br class="">; compiling (DEFUN MAKE-POINTER ...)<br class="">; compiling (DEFUN POINTER-ADDRESS ...)<br class="">; compiling (DEFUN %FOREIGN-ALLOC ...)<br class="">; compiling (DEFUN FOREIGN-FREE ...)<br class="">; compiling (DEFMACRO WITH-FOREIGN-POINTER ...)<br class="">; compiling (DEFUN MAKE-SHAREABLE-BYTE-VECTOR ...)<br class="">; compiling (DEFMACRO WITH-POINTER-TO-VECTOR-DATA ...)<br class="">; compiling (DEFMACRO DEFINE-MEM-ACCESSORS ...)<br class="">; compiling (DEFINE-MEM-ACCESSORS (:CHAR SB-SYS:SIGNED-SAP-REF-8) ...)<br class="">; compiling (DEFUN CONVERT-FOREIGN-TYPE ...)<br class="">; compiling (DEFUN %FOREIGN-TYPE-SIZE ...)<br class="">; compiling (DEFUN %FOREIGN-TYPE-ALIGNMENT ...)<br class="">; compiling (DEFUN FOREIGN-FUNCALL-TYPE-AND-ARGS ...)<br class="">; compiling (DEFMACRO %%FOREIGN-FUNCALL ...)<br class="">; compiling (DEFMACRO %FOREIGN-FUNCALL ...)<br class="">; compiling (DEFMACRO %FOREIGN-FUNCALL-POINTER ...)<br class="">; compiling (DEFVAR *CALLBACKS* ...)<br class="">; compiling (DEFMACRO %DEFCALLBACK ...)<br class="">; compiling (DEFUN %CALLBACK ...)<br class="">; compiling (DEFUN %LOAD-FOREIGN-LIBRARY ...); <br class="">; caught ERROR:<br class="">; READ error during COMPILE-FILE:<br class="">; <br class="">; Lock on package SB-ALIEN violated when interning SHARED-OBJECT-FILE while in<br class="">; package CFFI-SYS.<br class="">; See also:<br class="">; The SBCL Manual, Node "Package Locks"<br class="">; <br class="">; (in form starting at line: 306, column: 0, position: 10629)<br class=""><br class="">; compilation aborted after 0:00:00.139<br class=""><br class="">debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread<br class="">#<THREAD "main thread" RUNNING {10005205B3}>:<br class=""> COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cffi" "src" "cffi-sbcl"><br class=""><br class="">Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.<br class=""><br class="">restarts (invokable by number or by possibly-abbreviated name):<br class=""> 0: [RETRY ] Retry<br class=""> compiling #<CL-SOURCE-FILE "cffi" "src" "cffi-sbcl">.<br class=""> 1: [ACCEPT ] Continue, treating<br class=""> compiling #<CL-SOURCE-FILE "cffi" "src" "cffi-sbcl"><br class=""> as having been successful.<br class=""> 2: Retry ASDF operation.<br class=""> 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the<br class=""> configuration.<br class=""> 4: Retry ASDF operation.<br class=""> 5: Retry ASDF operation after resetting the<br class=""> configuration.<br class=""> 6: [ABORT ] Exit debugger, returning to top level.<br class=""><br class="">(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cffi" "src" "cffi-sbcl">)))<br class="">; File has been modified since compilation:<br class="">; SYS:CONTRIB;ASDF;UIOP.LISP.NEWEST<br class="">; Using form offset instead of character position.<br class=""><br class=""> source: (ERROR 'COMPILE-FILE-ERROR :CONTEXT-FORMAT CONTEXT-FORMAT<br class=""> :CONTEXT-ARGUMENTS CONTEXT-ARGUMENTS)<br class="">0] 6<br class="">; <br class="">; compilation unit aborted<br class="">; caught 2 fatal ERROR conditions<br class="">; caught 1 ERROR condition<br class="">* (quit)<br class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Mar 23, 2019, at 5:15 PM, Robert Goldman <<a href="mailto:rpgoldman@sift.info" target="_blank" class="">rpgoldman@sift.info</a>> wrote:</div><br class="gmail-m_-3752619634666345077Apple-interchange-newline"><div class="">
<div class="">
<div style="font-family:sans-serif" class=""><div style="white-space:normal" class=""><p dir="auto" class="">One thing to try first off -- <code style="background-color:rgb(247,247,247);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;margin:0px;padding:0px 0.4em" bgcolor="#F7F7F7" class="">quickload</code> by default suppresses errors (catches them) and keeps you from getting at them. So you should do the <code style="background-color:rgb(247,247,247);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;margin:0px;padding:0px 0.4em" bgcolor="#F7F7F7" class="">(asdf:load-system :cffi)</code> again, but this time get a backtrace. That will give people more information so that they can help.<br class="">
Cheers,<br class="">
R</p><p dir="auto" class="">On 23 Mar 2019, at 15:56, Patrick May wrote:</p>
</div>
<div style="white-space:normal" class=""><blockquote style="border-left-width:2px;border-left-style:solid;border-left-color:rgb(119,119,119);color:rgb(119,119,119);margin:0px 0px 5px;padding-left:5px" class=""><p dir="auto" class=""> I’m running Mojave 10.14.2 and SBCL 1.5.0. When I try to load CFFI, I get this error:<br class="">
<br class="">
* (ql:quickload :cffi)<br class="">
To load "cffi":<br class="">
Load 1 ASDF system:<br class="">
cffi<br class="">
; Loading "cffi"<br class="">
[package cffi-utils]..............................<br class="">
[package cffi-features]...........................<br class="">
[package cffi-sys]....;<br class="">
; caught ERROR:<br class="">
; READ error during COMPILE-FILE:<br class="">
;<br class="">
; Lock on package SB-ALIEN violated when interning SHARED-OBJECT-FILE while in<br class="">
; package CFFI-SYS.<br class="">
; See also:<br class="">
; The SBCL Manual, Node "Package Locks"<br class="">
;<br class="">
; (in form starting at line: 306, column: 0, position: 10629)<br class="">
<br class="">
Then I’m dumped into the debugger. The same thing occurs using (asdf:load-system :cffi). I’ve cleared ~/.cache/common-lisp, but no joy. Any thoughts appreciated.<br class="">
<br class="">
Thanks,<br class="">
<br class="">
Patrick</p>
</blockquote></div>
<div style="white-space:normal" class=""><p dir="auto" class="">Robert P. Goldman<br class="">
Research Fellow<br class="">
Smart Information Flow Technologies (d/b/a SIFT, LLC)</p><p dir="auto" class="">319 N. First Ave., Suite 400<br class="">
Minneapolis, MN 55401</p><p dir="auto" class="">Voice: (612) 326-3934<br class="">
Email: <a href="mailto:rpgoldman@SIFT.net" style="color:rgb(57,131,196)" target="_blank" class="">rpgoldman@SIFT.net</a></p>
</div>
</div>
</div>
</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>