Mir

zesty clang 4.0 builds fail: /usr/include/capnp/layout.h:129:65: error: value of type 'bool' is not implicitly convertible to 'capnp::Kind'

Bug #1671370 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Invalid
Critical
Unassigned
0.26
Invalid
Critical
Unassigned
capnproto (Ubuntu)
Fix Released
Critical
Unassigned
llvm-defaults (Ubuntu)
Invalid
Critical
Unassigned

Bug Description

06:55:29 In file included from /<<BUILDDIR>>/mir-0.26.0+zesty4262bzr4078/obj-x86_64-linux-gnu/src/capnproto/mir_event.capnp.c++:4:
06:55:29 In file included from /<<BUILDDIR>>/mir-0.26.0+zesty4262bzr4078/obj-x86_64-linux-gnu/src/capnproto/mir_event.capnp.h:7:
06:55:29 In file included from /usr/include/capnp/generated-header-support.h:31:
06:55:29 /usr/include/capnp/layout.h:129:65: error: value of type 'bool' is not implicitly convertible to 'capnp::Kind'
06:55:29 template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
06:55:29 ^

[https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=zesty/4212/console]
[https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=zesty/4211/console]

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like zesty switched to clang 4.0 today, which caused it.

description: updated
summary: - /usr/include/capnp/layout.h:129:65: error: value of type 'bool' is not
- implicitly convertible to 'capnp::Kind'
+ zesty clang (4.0) builds fail: /usr/include/capnp/layout.h:129:65:
+ error: value of type 'bool' is not implicitly convertible to
+ 'capnp::Kind'
Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
status: New → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: zesty clang (4.0) builds fail: /usr/include/capnp/layout.h:129:65: error: value of type 'bool' is not implicitly convertible to 'capnp::Kind'

Looks like a disagreement between fixed capnproto code and clang 4.0. There's possibly nothing Mir can do to fix it.

Changed in mir:
assignee: Daniel van Vugt (vanvugt) → nobody
status: In Progress → New
Changed in capnproto (Ubuntu):
importance: Undecided → Critical
Changed in llvm-defaults (Ubuntu):
importance: Undecided → Critical
tags: added: ci-blocker
Changed in mir:
status: New → Incomplete
summary: - zesty clang (4.0) builds fail: /usr/include/capnp/layout.h:129:65:
- error: value of type 'bool' is not implicitly convertible to
- 'capnp::Kind'
+ zesty clang 4.0 builds fail: /usr/include/capnp/layout.h:129:65: error:
+ value of type 'bool' is not implicitly convertible to 'capnp::Kind'
description: updated
Revision history for this message
Alberto Aguirre (albaguirre) wrote :
Changed in capnproto (Ubuntu):
status: New → Triaged
Changed in llvm-defaults (Ubuntu):
status: New → Invalid
Changed in mir:
status: Incomplete → Invalid
milestone: 1.0.0 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package capnproto - 0.5.3-2ubuntu2

---------------
capnproto (0.5.3-2ubuntu2) zesty; urgency=medium

  * debian/patches/06_fix-clang-build.patch:
    - Cherry-pick upstream commit fixing a build failure with
      Clang 4.0 (LP: #1671370)

 -- Christopher James Halse Rogers <email address hidden> Fri, 10 Mar 2017 10:02:06 +1100

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

Other bug subscribers