Hi,
We updated from ocaml 3.11 to 4.01 and I'm now seeing weird piqi test failures on our build machines as part of the piqi RPM package build.
Unfortunately, I can *not* reproduce this locally with exactly the same versions of ocaml / camlp4, so I have no idea what is actually going wrong.
All tests seem to pass, except for the ones that need to parse piq data without "constructors", e.g. these are the failures:
From test_getopt:
+ piqi getopt --type bool -- true
argv:0:1: a scalar value expected for type "bool"
+ piqi getopt --type int -- -10
argv:0:1: int constant expected
+ piqi getopt --type complex/t -- 0 0
argv:0:1: missing field "im"
and possibly more, but I disabled test_getopt completely at this point.
Then got failures from test_piqi_server:
+ piqi call 'piqi server/add-piqi' -- --format pb --data @t.piqi.pb
argv:0:1: missing field "format"
All the other tests pass. The tests fail with both a version of piqi that used to build fine and the latest master and the only thing that changed are the ocaml versions.
Any clue what could be happening here? Something I could try to further debug this? I'm kind of in the dark, because I can't reproduce it locally.
The only difference is that my env is Debian and the build env is RPM based. Though the ocaml versions are identical.