I managed to reproduce this, but have no real solution just yet… The error is quite unhelpful:
$ ./capnp convert json:binary src/capnp/compiler/../compat/json-test.capnp TestJsonAnnotations -Isrc/capnp/compiler/../.. < ./src/capnp/testdata/annotated.json /root/capnproto-0.7.0/.libs/capnp convert: The input is not in "json" format. It looks like it is in "json" format. Try that instead. Try '/root/capnproto-0.7.0/.libs/capnp convert --help' for more information. It's complaining about https://github.com/capnproto/capnproto/blob/master/c%2B%2B/src/capnp/testdata/annotated.json, which is obviously valid json, and the "reverse" test works fine: ./capnp convert binary:json src/capnp/compiler/../compat/json-test.capnp TestJsonAnnotations -Isrc/capnp/compiler/../.. < ./src/capnp/testdata /annotated-json.binary -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870055 Title: capnproto ftbfs in focal on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/capnproto/+bug/1870055/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs