capnproto ftbfs in focal on s390x

Bug #1870055 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
capnproto (Ubuntu)
Fix Released
High
Michał Sawicz

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 <email address hidden>
============================================================================

Matthias Klose (doko)
Changed in capnproto (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-ff-incoming
Revision history for this message
Michał Sawicz (saviq) wrote :

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

Revision history for this message
Michał Sawicz (saviq) wrote :

Filed an upstream issue.

Revision history for this message
Michał Sawicz (saviq) wrote :
Michał Sawicz (saviq)
Changed in capnproto (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Michał Sawicz (saviq)
Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package capnproto - 0.7.0-6

---------------
capnproto (0.7.0-6) focal; urgency=medium

  * import ce4dd5a1, fixing build issue on s390x LP: #1870055

 -- Michał Sawicz <email address hidden> Wed, 01 Apr 2020 16:12:03 +0200

Changed in capnproto (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.