and then the dependencies are apparently wrong, leading to unpredictable followup errors (e.g. "the file is not a bytecode file", or just exception: End_of_file).
The root cause is a problem in OCamlScannerPostproc where it is now tried to take the table of vmounts into account. However, there is a simple programming error in this function, as you cannot sort the vmount map directly, but only the array of the keys of the map. (NB. not all platforms are affected, but only those where the builtin ocamldep-postproc is unavailable - we are seeing this on Mac but not on Linux.)
On some platforms
omake
outputs a message likeand then the dependencies are apparently wrong, leading to unpredictable followup errors (e.g. "the file is not a bytecode file", or just
exception: End_of_file
).The root cause is a problem in
OCamlScannerPostproc
where it is now tried to take the table of vmounts into account. However, there is a simple programming error in this function, as you cannot sort the vmount map directly, but only the array of the keys of the map. (NB. not all platforms are affected, but only those where the builtinocamldep-postproc
is unavailable - we are seeing this on Mac but not on Linux.)