<div dir="ltr">Trivially fixed with :pathname option (see below), but still, was that the expected behavior<br><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 1, 2017 at 11:00 AM Mirko Vukovic <<a href="mailto:mirko.vukovic@gmail.com">mirko.vukovic@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Hello,<br class="gmail_msg"><br class="gmail_msg"></div>This is with asdf 3.1.7.27,<br class="gmail_msg">Armed Bear Common Lisp 1.4.0<br class="gmail_msg">Java 1.6.0_41 Sun Microsystems Inc.<br class="gmail_msg">OpenJDK 64-Bit Server VM,<br class="gmail_msg"></div>Emacs & Slime<br class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg">The following example code from the ASDF manual<br class="gmail_msg"><br class="gmail_msg">(asdf:defsystem "hello-lisp"<br class="gmail_msg"> :description "hello-lisp: a sample Lisp system."<br class="gmail_msg"> :version "0.0.1"<br class="gmail_msg"> :author "Joe User <<a href="mailto:joe@example.com" class="gmail_msg" target="_blank">joe@example.com</a>>"<br class="gmail_msg"> :licence "Public Domain"<br class="gmail_msg"> :depends-on ("optima.ppcre" "command-line-arguments")<br class="gmail_msg"> :components ((:file "packages")<br class="gmail_msg"> (:file "macros" :depends-on ("packages"))<br class="gmail_msg"> (:file "hello" :depends-on ("macros"))))<br class="gmail_msg"><br class="gmail_msg">when executed via the ABCL command line gives a relative path error<br class="gmail_msg"><br class="gmail_msg"> Invalid relative pathname #P"packages.lisp" for component ("hello-lisp" "packages")<br class="gmail_msg">Restarts:<br class="gmail_msg"> 0: RETRY Retry ASDF operation.<br class="gmail_msg"> 1: CLEAR-CONFIGURATION-AND-RETRY Retry ASDF operation after resetting the configuration.<br class="gmail_msg"> 2: TOP-LEVEL Return to top level.<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">If that code is in a file, then the file compiles cleanly:<br class="gmail_msg"><br class="gmail_msg">CL-USER(6): (load (compile-file "test.asd"))<br class="gmail_msg">; Compiling /home/mv/projects/poi+excel/test.asd ...<br class="gmail_msg">; (IN-PACKAGE :CL-USER)<br class="gmail_msg">; (ASDF/PARSE-DEFSYSTEM:DEFSYSTEM "hello-lisp" ...)<br class="gmail_msg">; Wrote /home/mv/projects/poi+excel/test.abcl (0.021 seconds)<br class="gmail_msg">T<br class="gmail_msg">CL-USER(7): <br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I am looking for confirmation of this and second opinions before taking up at the ASDF mailing list.<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks,<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Mirko<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div></div></blockquote><div><br></div><div>The execution failure can be fixed by adding :pathname #P"..." to the system definition.<br><br></div><div>This seems to be in conflict with the ASDF manual:<br><h4 class="inbox-inbox-subsection">6.3.13 Source location (<code>:pathname</code>)</h4>
<p>The <code>:pathname</code> option is optional in all cases for systems
defined via <code>defsystem</code>, and generally is unnecessary. In the
simple case, source files will be found in the same directory as the
system or, in the case of modules, in a subdirectory with the same name
as the module.
</p> </div><div></div><div>Mirko<br></div><div> </div></div></div></div>