Closed kohlhase closed 4 years ago
I am not sure why mmt make alltex
checks dependencies at all, it really shounldn't.
It seems that alltex
depends on sms
as a build target, and the latter checks dependencies.
Calling mmt make sms
on MiKoMH/GenCS/logic/en
does not lead to a cycle for me though (even though the above error message seems to clearly occur in the sms
generation). Can you try doing mmt make sms MiKoMH/GenCS/logic/en/logical-system.tex
directly? I could imagine that possibly your sms
for that file is outdated and contains a spurious dependency to entailment
...?
It seems that
alltex
depends onsms
as a build target, and the latter checks dependencies.
I do not think that it should. alltex
is a pure convenience target that should be purely syntactic.
Can you try doing
mmt make sms MiKoMH/GenCS/logic/en/logical-system.tex
directly?
I tried that, and no error.
I could imagine that possibly your
sms
for that file is outdated and contains a spurious dependency toentailment
...?
No, I checked manually.
Wow, I just re-checked mmt make alltex
in prolog/en
, and the problem went away. I have no idea why. And I promise I did not change the inclusions.
But I still maintain that alltex
should not depend on sms
.
Okay, these spurious dependency cycles should be gone now. Here's the visualisation of (the remaining cyclic part of) the dependency tree from MiKoCourses/IWGS/souse/SS20
.
What fixed the issue was to focus only on the tex dependencies and forget about sms dependencies. As you can see above, only the sms parts have cycles.
Another problem was that it wasn't the cyclic part that was being reported, but some sort of closure of that, which lead to the impression like in the OP that there were things depending in themselves. That wasn't actually the case, but confusing.
I'll close this for now. Please reopen/let me know if this crops up again.
When we run
mmt make alltex
inMathHub/MiKoProblems/AI/source/prolog/en
then I geteven though there does not seem to be a cyclic dependency that involves these files. But I have to say I find it difficult to read what this error message wants to tell me. This happens in other places as well but the cycles are much bigger.
Apparently though this error message does not affenct what
mmt make alltex
is supposed to do: just generate a fileall.tex
(andall.<lang>.tex
for SMGloM) that simply inputs the relevantpre.tex
, all the*.tex
files in the directory, and thenpost.tex
(pre/post.tex
are in../../lib/
and../../../meta-inf/lib
).