Package: esys-particle
Version: 2.3.3+dfsg1-1
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> mpicxx -DHAVE_CONFIG_H -I. -I../..  "-I../.." -I/usr/include 
> -I../../Foundation -I../../Geometry -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g 
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> frame_vtk.o frame_vtk.cpp
> frame_vtk.cpp: In function 'void do_single_frame_sliced_vtk_r(const string&, 
> const string&, int, bool, const string&, double, double)':
> frame_vtk.cpp:1125:8: warning: unused variable 'hasMeshBondedInteractions' 
> [-Wunused-variable]
>    bool hasMeshBondedInteractions=false;
>         ^~~~~~~~~~~~~~~~~~~~~~~~~
> 
> frame_vtk.cpp: In function 'void writeMeshFile(const string&, const string&, 
> int)':
> frame_vtk.cpp:1279:29: error: no match for 'operator!=' (operand types are 
> 'std::basic_istream<char>' and 'long int')
>    while (datafile >> header != NULL){
>           ~~~~~~~~~~~~~~~~~~~^~~~
> 
> frame_vtk.cpp:1279:29: note: candidate: operator!=(int, long int) <built-in>
> frame_vtk.cpp:1279:29: note:   no known conversion for argument 1 from 
> 'std::basic_istream<char>' to 'int'
> In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/string:40,
>                  from frame_vtk.h:17,
>                  from frame_vtk.cpp:13:
> /usr/include/c++/6/bits/stl_pair.h:357:5: note: candidate: template<class 
> _T1, class _T2> constexpr bool std::operator!=(const std::pair<_T1, _T2>&, 
> const std::pair<_T1, _T2>&)
>      operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
>      ^~~~~~~~
> 
> /usr/include/c++/6/bits/stl_pair.h:357:5: note:   template argument 
> deduction/substitution failed:
> In file included from /usr/include/string.h:32:0,
>                  from /usr/include/c++/6/cstring:42,
>                  from /usr/include/boost/filesystem/path.hpp:36,
>                  from /usr/include/boost/filesystem.hpp:16,
>                  from frame_vtk.cpp:28:
> frame_vtk.cpp:1279:32: note:   'std::basic_istream<char>' is not derived from 
> 'const std::pair<_T1, _T2>'
>    while (datafile >> header != NULL){
>                                 ^
> 
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/string:40,
>                  from frame_vtk.h:17,
>                  from frame_vtk.cpp:13:
> /usr/include/c++/6/bits/stl_iterator.h:304:5: note: candidate: template<class 
> _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, 
> const std::reverse_iterator<_Iterator>&)
>      operator!=(const reverse_iterator<_Iterator>& __x,
>      ^~~~~~~~
> 
> /usr/include/c++/6/bits/stl_iterator.h:304:5: note:   template argument 
> deduction/substitution failed:
> In file included from /usr/include/string.h:32:0,
>                  from /usr/include/c++/6/cstring:42,
>                  from /usr/include/boost/filesystem/path.hpp:36,
>                  from /usr/include/boost/filesystem.hpp:16,
>                  from frame_vtk.cpp:28:
> frame_vtk.cpp:1279:32: note:   'std::basic_istream<char>' is not derived from 
> 'const std::reverse_iterator<_Iterator>'
>    while (datafile >> header != NULL){
>                                 ^
> 
> In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
>                  from /usr/include/c++/6/bits/char_traits.h:39,
>                  from /usr/include/c++/6/string:40,
>                  from frame_vtk.h:17,
>                  from frame_vtk.cpp:13:
> /usr/include/c++/6/bits/stl_iterator.h:354:5: note: candidate: template<class 
> _IteratorL, class _IteratorR> bool std::operator!=(const 
> std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
>      operator!=(const reverse_iterator<_IteratorL>& __x,
>      ^~~~~~~~
> 
> /usr/include/c++/6/bits/stl_iterator.h:354:5: note:   template argument 
> deduction/substitution failed:
> In file included from /usr/include/string.h:32:0,
>                  from /usr/include/c++/6/cstring:42,
>                  from /usr/include/boost/filesystem/path.hpp:36,
>                  from /usr/include/boost/filesystem.hpp:16,
>                  from frame_vtk.cpp:28:
> frame_vtk.cpp:1279:32: note:   'std::basic_istream<char>' is not derived from 
> 'const std::reverse_iterator<_Iterator>'
>    while (datafile >> header != NULL){
>                                 ^

Reply via email to