<div dir="ltr"><div><div><div><div><div><div><div><div>Hello,<br><br>this is on recently upgraded SBCL1.1.13 and ASDF 3.0.2<br><br></div>I have a system sitting in ~/quicklisp/local-dists and a development version sitting in ~/.../lisp-development/<br>
<br></div>I would like ASDF to open the latter one. I use asdf:load-system.<br><br>I cd to the development directory and start slime there. (asdf:load-system ...) still tries to fetch the version in the<br></div>quicklisp directory.<br>
<br></div>I tried setting the (:directory :here) entry in source-registry.conf but that led to an error in <br></div><div>asdf/configuration:resolve-absolute-location:<br><br>NIL fell through ETYPECASE expression.<br>Wanted one of ((EQL :USER-CACHE) (EQL :HERE) (EQL :HOME)<br>
(EQL :ROOT) CONS STRING PATHNAME).<br><br><br></div><div>I could fix that error by setting the *here-directory* to *default-pathname-defaults*:<br>(progn<br> (asdf/configuration:clear-configuration)<br> (let ((asdf/configuration:*here-directory* *default-pathname-defaults*))<br>
(print asdf/configuration:*here-directory*)<br> (asdf/configuration:resolve-absolute-location :here)<br> (asdf:load-system :my-utils :verbose t)))<br><br></div><div>Now resolve-absolute-location returns the correct directory, asdf:system-source-directory<br>
still returns the version in the quicklisp directory.<br><br></div><div>I did trace a bit deeper, but I am not sure that I am on the correct path. <br><br></div><div>These are the contents of my configuration file:<br>(:source-registry<br>
(:directory :here)<br> :inherit-configuration)<br></div><br></div>Without the last directive, I get an error:<br>Unable to display error condition: unbound condition slot: UIOP/CONFIGURATION::FORM<br> [Condition of type INVALID-SOURCE-REGISTRY]<br>
...<br>Backtrace:<br> 0: (REPORT-INVALID-FORM INVALID-SOURCE-REGISTRY :ARGUMENTS ("~@<One and only one of ~S or ~S is required.~@:>" :INHERIT-CONFIGURATION :IGNORE-INHERITED-CONFIGURATION))<br> 1: (VALIDATE-CONFIGURATION-FORM (:SOURCE-REGISTRY (:DIRECTORY :HERE) (:TREE "/home/977315/projects/chamber-matching/experimental-data/data-analysis-software/")) :SOURCE-REGISTRY VALIDATE-SOURCE-REGISTRY-..<br>
2: ((:METHOD PROCESS-SOURCE-REGISTRY (PATHNAME)) #P"/home/mv/.config/common-lisp/source-registry.conf" :INHERIT (USER-SOURCE-REGISTRY-DIRECTORY SYSTEM-SOURCE-REGISTRY SYSTEM-SOURCE-REGISTRY-DIRECTORY DEF..<br>
3: (ASDF/SOURCE-REGISTRY::PROCESS-SOURCE-REGISTRY-DIRECTIVE :INHERIT-CONFIGURATION :INHERIT (NIL ENVIRONMENT-SOURCE-REGISTRY USER-SOURCE-REGISTRY USER-SOURCE-REGISTRY-DIRECTORY SYSTEM-SOURCE-REGISTRY SYS..<br> 4: ((:METHOD PROCESS-SOURCE-REGISTRY (CONS)) (:SOURCE-REGISTRY (:TREE #P"/usr/local/lib/sbcl/") :INHERIT-CONFIGURATION) :INHERIT (NIL ENVIRONMENT-SOURCE-REGISTRY USER-SOURCE-REGISTRY USER-SOURCE-REGISTRY..<br>
5: (FLATTEN-SOURCE-REGISTRY NIL)<br><br><br></div>Thanks,<br><br></div>Mirko<br><div><div><br><br><br></div></div></div>