[Debian-med-packaging] Bug#853539: mash: ftbfs with GCC-7

Sascha Steinbiss satta at tetrinetsucht.de
Sat Mar 18 08:05:53 UTC 2017


reassign 853539 src:capnproto
thanks	

> [...]
>  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/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>> {
>                                                                   ^~
> Makefile:44: recipe for target 'src/mash/mash.o' failed
> make[2]: *** [src/mash/mash.o] Error 1
> Makefile:44: recipe for target 'src/mash/sketchParameterSetup.o’ failed

According to upstream [1] this is a result of an issue with Can’n Proto which has already been fixed upstream and will be resolved with a future release of Cap’n Proto. Indeed the error matches the one already reported in #853342 [2]. Reassigning this accordingly.

[1] https://github.com/marbl/Mash/issues/47
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853342


More information about the Debian-med-packaging mailing list