Package: enigma Version: 1.20-dfsg.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 ... > g++ -DHAVE_CONFIG_H -I. -DENABLE_ASSERT -O2 -ffast-math > -fomit-frame-pointer -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" > -DDOCDIR=\"/usr/share/doc/enigma-doc\" -DLOCALEDIR=\"/usr/share/locale\" > -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src/enet/include > -I../lib-src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Proxy.o > `test -f 'lev/Proxy.cc' || echo './'`lev/Proxy.cc > In file included from ./enigma.hh:30:0, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > ./file.hh:118:22: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > std::auto_ptr<std::istream> &isptr) const; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from ./file.hh:28, > from ./enigma.hh:30, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from ./enigma.hh:30:0, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > ./file.hh:167:14: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > std::auto_ptr<std::istream> &isresult); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from ./file.hh:28, > from ./enigma.hh:30, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > lev/Proxy.cc: In member function 'virtual enigma::lev::Proxy* > enigma::lev::Proxy::copy(std::__cxx11::string, std::__cxx11::string, bool)': > lev/Proxy.cc:397:14: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > std::auto_ptr<std::istream> isptr; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from ./file.hh:28, > from ./enigma.hh:30, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > lev/Proxy.cc: In member function 'void enigma::lev::Proxy::load(bool, bool)': > lev/Proxy.cc:496:14: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > std::auto_ptr<std::istream> isptr; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from ./file.hh:28, > from ./enigma.hh:30, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > lev/Proxy.cc:653:22: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > std::auto_ptr<DOMLSInput> domInputLevelSource ( new > Wrapper4InputSource( > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from ./file.hh:28, > from ./enigma.hh:30, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > lev/Proxy.cc: In member function 'void > enigma::lev::Proxy::processExternaldata()': > lev/Proxy.cc:895:26: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > std::auto_ptr<std::istream> isptr; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from ./file.hh:28, > from ./enigma.hh:30, > from ./lev/Proxy.hh:22, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > lev/Proxy.cc:936:33: error: no match for 'operator!=' (operand types are > 'std::basic_ifstream<char>' and 'long int') > if (ifs != NULL) > ~~~~^~~~ -> error > > lev/Proxy.cc:936:33: note: candidate: operator!=(int, long int) <built-in> > lev/Proxy.cc:936:33: note: no known conversion for argument 1 from > 'std::basic_ifstream<char>' to 'int' > In file included from ./lev/Proxy.hh:22:0, > from lev/Proxy.cc:19: > ./enigma.hh:355:17: note: candidate: bool enigma::operator!=(enigma::GridPos, > enigma::GridPos) > inline bool operator != (GridPos a, GridPos b) { > ^~~~~~~~ > > ./enigma.hh:355:17: note: no known conversion for argument 1 from > 'std::basic_ifstream<char>' to 'enigma::GridPos' > In file included from /usr/include/c++/6/bits/locale_facets.h:48:0, > from /usr/include/c++/6/bits/basic_ios.h:37, > from /usr/include/c++/6/ios:44, > from /usr/include/c++/6/ostream:38, > from ./DOMErrorReporter.hh:23, > from ./main.hh:32, > from lev/Proxy.cc:27: > /usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: candidate: > template<class _CharT, class _Traits> bool std::operator!=(const > std::istreambuf_iterator<_CharT, _Traits>&, const > std::istreambuf_iterator<_CharT, _Traits>&) > operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, > ^~~~~~~~ > > /usr/include/c++/6/bits/streambuf_iterator.h:210:5: note: template argument > deduction/substitution failed: > In file included from /usr/include/iconv.h:23:0, > from /usr/include/SDL/SDL_stdinc.h:74, > from /usr/include/SDL/SDL_main.h:26, > from /usr/include/SDL/SDL.h:30, > from ./gui/widgets.hh:24, > from ./gui/Menu.hh:22, > from ./gui/ErrorMenu.hh:24, > from lev/Proxy.cc:24: > lev/Proxy.cc:936:36: note: 'std::basic_ifstream<char>' is not derived from > 'const std::istreambuf_iterator<_CharT, _Traits>' > if (ifs != NULL) > ^ > > In file included from /usr/include/c++/6/bits/ios_base.h:46:0, > from /usr/include/c++/6/ios:42, > from /usr/include/c++/6/ostream:38, > from ./DOMErrorReporter.hh:23, > from ./main.hh:32, > from lev/Proxy.cc:27: > /usr/include/c++/6/system_error:323:3: note: candidate: bool > std::operator!=(const std::error_condition&, const std::error_condition&) > operator!=(const error_condition& __lhs, > ^~~~~~~~ > > /usr/include/c++/6/system_error:323:3: note: no known conversion for > argument 1 from 'std::basic_ifstream<char>' to 'const std::error_condition&' > /usr/include/c++/6/system_error:319:3: note: candidate: bool > std::operator!=(const std::error_condition&, const std::error_code&) > operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept > ^~~~~~~~ > > /usr/include/c++/6/system_error:319:3: note: no known conversion for > argument 1 from 'std::basic_ifstream<char>' to 'const std::error_condition&' > /usr/include/c++/6/system_error:315:3: note: candidate: bool > std::operator!=(const std::error_code&, const std::error_condition&) > operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept > ^~~~~~~~ > > /usr/include/c++/6/system_error:315:3: note: no known conversion for > argument 1 from 'std::basic_ifstream<char>' to 'const std::error_code&' > /usr/include/c++/6/system_error:311:3: note: candidate: bool > std::operator!=(const std::error_code&, const std::error_code&) > operator!=(const error_code& __lhs, const error_code& __rhs) noexcept > ^~~~~~~~ > > /usr/include/c++/6/system_error:311:3: note: no known conversion for > argument 1 from 'std::basic_ifstream<char>' to 'const std::error_code&' > In file included from /usr/include/c++/6/set:62:0, > from ./lev/Proxy.hh:25, > from lev/Proxy.cc:19: > /usr/include/c++/6/bits/stl_multiset.h:847:5: note: candidate: template<class > _Key, class _Compare, class _Alloc> bool std::operator!=(const > std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, > _Alloc>&) -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

