Inside of autopack/src/b/c.ml, place the following line:
And observe the error when compiling:
[1 of 7] Compiling B.A
[2 of 7] Compiling B.C
File "src/b/C.ml", line 2, characters 11-16:
Error: Unbound module A
Then build a second time, and it works!
Then inside of autopack/src/b/a.ml, place the following line, and see that it compiles.
There's clearly something going on here, where two builds are required for one direction of the dependency and one build is required for the other direction. I'm guessing it's because the correct ordering isn't determined by something like ocamldep for the files wihin a pack. Is this correct?