<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Will you please send me the example (with ancillary files), so that I can see exactly what's going wrong?</p>

<p dir="auto">Most of my actual systems reverted to using<br>
<code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7"><br>
(asdf:load-system "fiveam-asdf")<br>
</code><br>
in the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">.asd</code> file, because I didn't know about the keyword trick, so I haven't tested it extensively.</p>

<p dir="auto">Also, I tend <em>not</em> to use the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">ASDF/USER</code> package, but instead be old school and make a package for each <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">.asd</code> file.</p>

<p dir="auto">Best,<br>
r</p>

<p dir="auto">On 6 Jun 2018, at 13:45, Mark Evenson wrote:</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">On Jun 6, 2018, at 19:14, Robert Goldman <a href="mailto:rpgoldman@sift.info" style="color:#999">rpgoldman@sift.info</a> wrote:</p>
</blockquote>

<p dir="auto">[…]</p>

<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">If you get a chance, can you eyeball [my example code to try to use FIVEAM-ASDF][2] to tell me if that looks like the correct usage?</p>

<p dir="auto">[2]: <a href="https://github.com/emotiq/asdf-test-harness/blob/master/eg/fiveam-asdf-example.asd" style="color:#999">https://github.com/emotiq/asdf-test-harness/blob/master/eg/fiveam-asdf-example.asd</a></p>

<p dir="auto">Various versions of ASDF-3.1.x (SBCL, CCL, ABCL) are failing with problems about symbols:</p>

<p dir="auto">Error while trying to load definition for system<br>
fiveam-asdf-example from pathname<br>
/Users/evenson/work/asdf-test-harness/eg/fiveam-asdf-example.asd:</p>

<p dir="auto">EXPORT ASDF/INTERFACE::FIVEAM-TESTER-SYSTEM causes<br>
name-conflicts in #<PACKAGE "ASDF/USER"> between the<br>
following symbols:<br>
ASDF/INTERFACE::FIVEAM-TESTER-SYSTEM,<br>
ASDF/USER::FIVEAM-TESTER-SYSTEM<br>
[Condition of type ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR]</p>

<p dir="auto">I had problems like this, too -- it's because of the fact that when the defsystem form is first read, before the :defsystem-depends-on is loaded, the symbol named "FIVEAM-TESTER-SYSTEM" gets interned in ASDF/USER and then when it's later exported from ASDF/INTERFACE (used by ASDF/USER) it collides with the earlier-read symbol.</p>

<p dir="auto">I believe that the correct fix for this is to use any new symbols (like fiveam-tester-system) in the keyword package, so</p>

<p dir="auto">:class :fiveam-tester-system</p>

<p dir="auto">and then when the defsystem form is processed after the defsystem dependencies (in this case, fiveam-asdf), ASDF will look for keyword symbols in the current package.</p>

<p dir="auto">Give that a try and see if it fixes your problem.</p>
</blockquote>

<p dir="auto">Unfortunately, it doesn’t help to specify a keyword, but one gets a new error:</p>

<p dir="auto">Error while trying to load definition for system<br>
asdf-test-harness-example from pathname<br>
/Users/evenson/work/asdf-test-harness/eg/asdf-test-harness-example.asd:</p>

<p dir="auto">The following symbols need to be imported to #<Package "ASDF/INTERFACE"> before they can be exported<br>
 from that package:<br>
(:HARNESS-TEST):</p>

<p dir="auto">I think with some futzing around with EVAL-WHEN around EXPORT statements we can get this to work.</p>

<p dir="auto">I’m coming to the end of my day with a Common Lisp Foundation board meeting, so I will probably get back to this tomorrow.</p>

<p dir="auto">best,<br>
Mark</p>

<p dir="auto">-- <br>
"A screaming comes across the sky.  It has happened before but there is nothing<br>
to compare to it now."</p>
</blockquote>
</div>
</div>
</body>
</html>