Package: apvlv Version: 0.1.1-1.2 Severity: important User: [email protected] 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 ... > /<<PKGBUILDDIR>>/src/ApvlvFile.cpp:812:5: warning: narrowing conversion of > 'iy' from 'int' to 'unsigned int' inside { } [-Wnarrowing] > [ 46%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvInfo.cpp.o > [ 53%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvMenu.cpp.o > [ 61%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvParams.cpp.o > /<<PKGBUILDDIR>>/src/ApvlvParams.cpp: In member function 'bool > apvlv::ApvlvParams::loadfile(const char*)': > /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:93:32: error: no match for 'operator!=' > (operand types are 'std::basic_istream<char>' and 'long int') > while ((getline (os, str)) != NULL) > ~~~~~~~~~~~~~~~~~~~~^~~~ > > /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:93:32: note: candidate: operator!=(int, > long int) <built-in> > /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:93:32: note: no known conversion for > argument 1 from 'std::basic_istream<char>' to 'int' > In file included from /usr/include/c++/6/iosfwd:40:0, > from /usr/include/c++/6/ios:38, > from /usr/include/c++/6/ostream:38, > from /usr/include/c++/6/iostream:39, > from /<<PKGBUILDDIR>>/src/ApvlvUtil.hpp:40, > from /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:29: > /usr/include/c++/6/bits/postypes.h:221:5: note: candidate: template<class > _StateT> bool std::operator!=(const std::fpos<_StateT>&, const > std::fpos<_StateT>&) > operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) > ^~~~~~~~ > > /usr/include/c++/6/bits/postypes.h:221:5: note: template argument > deduction/substitution failed: > In file included from /usr/include/locale.h:28:0, > from /usr/include/c++/6/clocale:42, > from /usr/include/x86_64-linux-gnu/c++/6/bits/c++locale.h:41, > from /usr/include/c++/6/bits/localefwd.h:40, > from /usr/include/c++/6/ios:41, > from /usr/include/c++/6/ostream:38, > from /usr/include/c++/6/iostream:39, > from /<<PKGBUILDDIR>>/src/ApvlvUtil.hpp:40, > from /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:29: > /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:93:35: note: > 'std::basic_istream<char>' is not derived from 'const std::fpos<_StateT>' > while ((getline (os, str)) != NULL) > ^ > > 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/ios:40, > from /usr/include/c++/6/ostream:38, > from /usr/include/c++/6/iostream:39, > from /<<PKGBUILDDIR>>/src/ApvlvUtil.hpp:40, > from /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:29: > /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/locale.h:28:0, > from /usr/include/c++/6/clocale:42, > from /usr/include/x86_64-linux-gnu/c++/6/bits/c++locale.h:41, > from /usr/include/c++/6/bits/localefwd.h:40, > from /usr/include/c++/6/ios:41, > from /usr/include/c++/6/ostream:38, > from /usr/include/c++/6/iostream:39, > from /<<PKGBUILDDIR>>/src/ApvlvUtil.hpp:40, > from /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:29: > /<<PKGBUILDDIR>>/src/ApvlvParams.cpp:93:35: note: > 'std::basic_istream<char>' is not derived from 'const std::pair<_T1, _T2>' > while ((getline (os, str)) != NULL)

