<div dir="ltr">ASDF keeps inventing good reasons all the time...<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 18, 2017 at 7:43 PM Faré <<a href="mailto:fahree@gmail.com">fahree@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, is it a case where you're insisting on using a secondary system<br>
name that doesn't follow the convention B/A when the primary system is<br>
B ? That might explain it. There is also a warning against such a<br>
thing, and for good reason.<br>
<br>
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• <a href="http://fare.tunes.org" rel="noreferrer" target="_blank">http://fare.tunes.org</a><br>
Doing well is the result of doing good. That's what capitalism is all about.<br>
— Ralph Waldo Emerson (1803–1882)<br>
<br>
<br>
On Wed, Oct 18, 2017 at 12:15 PM, Stas Boukarev <<a href="mailto:stassats@gmail.com" target="_blank">stassats@gmail.com</a>> wrote:<br>
> cat b.asd<br>
> (defsystem A)<br>
><br>
> (defsystem B<br>
> :depends-on (A))<br>
><br>
> (asdf:load-system 'b) is enough to trigger it.<br>
><br>
> On Wed, Oct 18, 2017 at 6:51 PM Faré <<a href="mailto:fahree@gmail.com" target="_blank">fahree@gmail.com</a>> wrote:<br>
>><br>
>> See section 4 of the ASDF 3.3 paper at ILC 2017 for a quick overview:<br>
>> <a href="https://github.com/fare/asdf2017" rel="noreferrer" target="_blank">https://github.com/fare/asdf2017</a><br>
>><br>
>> To support proper phase separation, ASDF has a new operation,<br>
>> define-op, that tracks the dependencies of loading a .asd file (i.e.<br>
>> other systems you operate on, e.g., via load-system or<br>
>> defsystem-depends-on, etc.)<br>
>><br>
>> I don't know exactly what is your system A and how you use it, but<br>
>> apparently it's unhappy about depending on the primary system for<br>
>> define-op yet being earlier in the .asd file, so the other system<br>
>> hasn't been defined yet.<br>
>><br>
>> Maybe ASDF should refrain from registering a dependency here between<br>
>> sibling systems. Or not. It was quite subtle to debug about a year<br>
>> ago, and it fell out of my working cache.<br>
>><br>
>> Is there anything special you do between A and B except a :depends-on ?<br>
>><br>
>> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics•<br>
>> <a href="http://fare.tunes.org" rel="noreferrer" target="_blank">http://fare.tunes.org</a><br>
>> You think war is economically beneficial? Then why share those benefits<br>
>> with<br>
>> dirty foreigners? Let's have a civil war — A war we're sure to win!<br>
>><br>
>><br>
>> On Wed, Oct 18, 2017 at 11:34 AM, Stas Boukarev <<a href="mailto:stassats@gmail.com" target="_blank">stassats@gmail.com</a>><br>
>> wrote:<br>
>> > It’s a regular depends-on, but why did it work before without problems?<br>
>> ><br>
>> > On Wed, 18 Oct 2017 at 18:32 Faré <<a href="mailto:fahree@gmail.com" target="_blank">fahree@gmail.com</a>> wrote:<br>
>> >><br>
>> >> On Wed, Oct 18, 2017 at 11:25 AM, Stas Boukarev <<a href="mailto:stassats@gmail.com" target="_blank">stassats@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > B is primary, but A has to be loaded before it. It precedes B, and B<br>
>> >> > depends<br>
>> >> > on it.<br>
>> >> ><br>
>> >> If it's a regular :depends-on, then B should be able to appear before<br>
>> >> A, and that should actually work better.<br>
>> >><br>
>> >> If it's a :defsystem-depends-on, it used to be that A must be before<br>
>> >> B, but the new situation is that they have to be in separate files for<br>
>> >> define-op to work at all.<br>
>> >><br>
>> >> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics•<br>
>> >> <a href="http://fare.tunes.org" rel="noreferrer" target="_blank">http://fare.tunes.org</a><br>
>> >> For ultimately, the most visible trait of a just man is to have no<br>
>> >> desire<br>
>> >> at all to rule others, and only want to rule himself. This decides<br>
>> >> everything. In other words, the worst people will rule. — Alain<br>
>> >><br>
>> >><br>
>> >><br>
>> >> > On Wed, Oct 18, 2017 at 6:23 PM Faré <<a href="mailto:fahree@gmail.com" target="_blank">fahree@gmail.com</a>> wrote:<br>
>> >> >><br>
>> >> >> On Wed, Oct 18, 2017 at 11:13 AM, Stas Boukarev <<a href="mailto:stassats@gmail.com" target="_blank">stassats@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >> > Looks like this happens because I have two systems in B.asd, A and<br>
>> >> >> > B,<br>
>> >> >> > and B<br>
>> >> >> > depends on A.<br>
>> >> >> Maybe changing the order of the two systems will help.<br>
>> >> >> Which is primary? Which depends on the other?<br>
>> >> >><br>
>> >> >> —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics•<br>
>> >> >> <a href="http://fare.tunes.org" rel="noreferrer" target="_blank">http://fare.tunes.org</a><br>
>> >> >> All honest people are welcome to come and live here.<br>
>> >> >> All dishonest people are welcome to come and die here.<br>
>> >> >> — Libertarian Open-Borders, Open-Skulls Policy<br>
</blockquote></div></div>