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
Touch seeded packages, which is subscribed to capnproto in Ubuntu.
https://bugs.launchpad.net/bugs/1870055

Title:
  capnproto ftbfs in focal on s390x

Status in capnproto package in Ubuntu:
  Confirmed

Bug description:
  second focal test rebuild
  
https://launchpadlibrarian.net/471777379/buildlog_ubuntu-focal-s390x.capnproto_0.7.0-5build1_BUILDING.txt.gz

  make  check-TESTS
  make[4]: Entering directory '/<<PKGBUILDDIR>>'
  make[5]: Entering directory '/<<PKGBUILDDIR>>'
  FAIL: src/capnp/compiler/capnp-test.sh
  PASS: capnp-evolution-test
  PASS: capnp-test
  ========================================
     Capn Proto 0.7.0: ./test-suite.log
  ========================================

  # TOTAL: 3
  # PASS:  2
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: src/capnp/compiler/capnp-test.sh
  ======================================

  /<<PKGBUILDDIR>>/.libs/capnp convert: The input is not in "json" format. It 
looks like it is in "json" format. Try that instead.
  Try '/<<PKGBUILDDIR>>/.libs/capnp convert --help' for more information.
  cmp: EOF on - which is empty
  FAILED: annotated json to binary
  FAIL src/capnp/compiler/capnp-test.sh (exit status: 1)

  ============================================================================
  Testsuite summary for Capn Proto 0.7.0
  ============================================================================
  # TOTAL: 3
  # PASS:  2
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0
  ============================================================================
  See ./test-suite.log
  Please report to capnpr...@googlegroups.com
  ============================================================================

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/capnproto/+bug/1870055/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to