[Debichem-devel] Bug#853682: tiledarray: ftbfs with GCC-7

Juhani Numminen juhaninumminen0 at gmail.com
Tue Dec 19 17:38:34 UTC 2017


Control: tags -1 patch

Hi,

I'm providing patches to fix tiledarray FTBFS (even though the underlying
causes are not completely clear to me at the moment).

Juhani Numminen kirjoitti 12.12.2017 klo 12:16:

> /usr/include/c++/7/utility:168:12: error: partial specialization of 'struct std::__is_tuple_like_impl<std::pair<_T1, _T2> >' after instantiation of 'struct std::__is_tuple_like_impl<std::pair<long unsigned int, long unsigned int> >' [-fpermissive]

For that, please see specialization-after-instantiation.patch. I suspect
that is something similar to #883987.

Adrian Bunk kirjoitti 28.9.2017 klo 12:02:

> /usr/lib/cmake/tiledarray/tiledarray-targets.cmake needs to be rebuilt 
> with the multiarch libblas.so location.

This also caused the build to fail because of those non-multiarch paths,
and took me some effort to work around. I couldn't understand why the
variable LAPACK_LIBRARIES unconditionally contained /usr/lib/lapack.so and
/usr/lib/blas.so, so in the end I just removed the problematic use of
that variable; see dependencies.patch.


Regards
Juhani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: specialization-after-instantiation.patch
Type: text/x-patch
Size: 1664 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20171219/c62f1c48/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dependencies.patch
Type: text/x-patch
Size: 857 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20171219/c62f1c48/attachment-0001.bin>


More information about the Debichem-devel mailing list