[Debian-med-packaging] Bug#871175: mash: FTBFS: layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’

Lucas Nussbaum lucas at debian.org
Sun Aug 6 21:30:13 UTC 2017


Source: mash
Version: 1.1.1-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c++11 -Isrc -I/usr/include -I /usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -o src/mash/sketchParameterSetup.o src/mash/sketchParameterSetup.cpp
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/Sketch.cpp:7:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c++11 -Isrc -I/usr/include -I /usr/include -Wdate-time -D_FORTIFY_SOURCE=2  -o src/mash/capnp/MinHash.capnp.o src/mash/capnp/MinHash.capnp.c++
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandContain.h:11,
>                  from src/mash/CommandContain.cpp:7:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandDistance.h:11,
>                  from src/mash/CommandDistance.cpp:7:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandFind.h:11,
>                  from src/mash/mash.cpp:10:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/capnp/MinHash.capnp.c++:4:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandSketch.cpp:8:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandPaste.h:11,
>                  from src/mash/CommandPaste.cpp:7:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandFind.h:11,
>                  from src/mash/CommandFind.cpp:7:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> In file included from /usr/include/capnp/generated-header-support.h:31:0,
>                  from src/mash/capnp/MinHash.capnp.h:7,
>                  from src/mash/Sketch.h:10,
>                  from src/mash/CommandInfo.h:11,
>                  from src/mash/CommandInfo.cpp:7:
> /usr/include/capnp/layout.h:129:65: error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                  ^
> /usr/include/capnp/layout.h:129:66: error: template argument 1 is invalid
>  template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
>                                                                   ^~
> Makefile:47: recipe for target 'src/mash/capnp/MinHash.capnp.o' failed
> make[2]: *** [src/mash/capnp/MinHash.capnp.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/mash_1.1.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list