Package: liborigin2 Version: 2:20110117-1.1 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 ... > In file included from OriginFile.cpp:30:0: > OriginFile.h: At global scope: > OriginFile.h:72:2: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > auto_ptr<OriginParser> parser; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/move/algorithm.hpp:32, > from /usr/include/boost/move/move.hpp:32, > from /usr/include/boost/variant/detail/move.hpp:28, > from /usr/include/boost/variant/detail/initializer.hpp:23, > from /usr/include/boost/variant/variant.hpp:30, > from /usr/include/boost/variant.hpp:17, > from OriginObj.h:36, > from OriginFile.h:37, > from OriginFile.cpp:30: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from OriginFile.cpp:35:0: > ./logging.hpp: In member function 'virtual bool > boost::logging::qualifier::operator==(const boost::logging::qualifier&)': > ./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] > virtual bool operator==(const qualifier &q) { return false; } > ^ > > ./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, > boost::logging::level_t)': > ./logging.hpp:350:18: error: no match for 'operator==' (operand types are > 'std::ostream {aka std::basic_ostream<char>}' and 'std::ostream {aka > std::basic_ostream<char>}') > if (*s == std::cout || *s == std::cerr || *s == std::clog) > ~~~^~~~~~ > > ./logging.hpp:350:18: note: candidate: operator==(int, int) <built-in> > ./logging.hpp:350:18: note: no known conversion for argument 2 from > 'std::ostream {aka std::basic_ostream<char>}' to 'int' > In file included from /usr/include/boost/variant/variant.hpp:42:0, > from /usr/include/boost/variant.hpp:17, > from OriginObj.h:36, > from OriginFile.h:37, > from OriginFile.cpp:30: > /usr/include/boost/blank.hpp:58:13: note: candidate: bool > boost::operator==(const boost::blank&, const boost::blank&) > inline bool operator==(const blank&, const blank&) > ^~~~~~~~ > > /usr/include/boost/blank.hpp:58:13: note: no known conversion for argument > 1 from 'std::ostream {aka std::basic_ostream<char>}' to 'const boost::blank&' > In file included from /usr/include/boost/bind/bind.hpp:29:0, > from /usr/include/boost/bind.hpp:22, > from OriginObj.h:37, > from OriginFile.h:37, > from OriginFile.cpp:30: > /usr/include/boost/bind/arg.hpp:41:24: note: candidate: template<int I> bool > boost::operator==(const boost::arg<I>&, const boost::arg<I>&) > template< int I > bool operator==( arg<I> const &, arg<I> const & ) > ^~~~~~~~ > > /usr/include/boost/bind/arg.hpp:41:24: note: template argument > deduction/substitution failed: > In file included from OriginFile.cpp:35:0: > ./logging.hpp:350:26: note: 'std::ostream {aka std::basic_ostream<char>}' > is not derived from 'const boost::arg<I>' > if (*s == std::cout || *s == std::cerr || *s == std::clog) > ^~~~ > > In file included from /usr/include/boost/shared_ptr.hpp:17:0, > from > /usr/include/boost/date_time/gregorian/greg_month.hpp:14, > from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, > from > /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, > from > /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, > from > /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, > from > /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, > from /usr/include/boost/date_time/posix_time/ptime.hpp:12, > from OriginObj.h:38, > from OriginFile.h:37,

