Package: linuxdcpp Version: 1.1.0-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 ... > g++ -o build/release/libdcpp/BufferedSocket.o -c -O3 -fomit-frame-pointer > -pthread -DHAVE_IFADDRS_H -DHAVE_LIBNOTIFY -DHAVE_LIBNOTIFY_0_7 -D_GNU_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG > -D_DATADIR='"/usr/share"' -DBUILDING_DCPP -I. dcpp/BufferedSocket.cpp > In file included from dcpp/BufferedSocket.cpp:22:0: > dcpp/BufferedSocket.h:135:7: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > std::auto_ptr<UnZFilter> filterIn; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from dcpp/BufferedSocket.cpp:22:0: > dcpp/BufferedSocket.h:143:7: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > std::auto_ptr<Socket> sock; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from dcpp/BufferedSocket.cpp:22:0: > dcpp/BufferedSocket.h:161:22: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > void setSocket(std::auto_ptr<Socket> s); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > dcpp/BufferedSocket.cpp: In member function 'void > dcpp::BufferedSocket::setMode(dcpp::BufferedSocket::Modes, size_t)': > dcpp/BufferedSocket.cpp:63:20: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > filterIn = std::auto_ptr<UnZFilter>(new UnZFilter); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > dcpp/BufferedSocket.cpp: At global scope: > dcpp/BufferedSocket.cpp:71:37: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > void BufferedSocket::setSocket(std::auto_ptr<Socket> s) { > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > dcpp/BufferedSocket.cpp: In member function 'void > dcpp::BufferedSocket::accept(const dcpp::Socket&, bool, bool)': > dcpp/BufferedSocket.cpp:86:7: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > std::auto_ptr<Socket> s(secure ? > CryptoManager::getInstance()->getServerSocket(allowUntrusted) : new Socket); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > dcpp/BufferedSocket.cpp: In member function 'void > dcpp::BufferedSocket::connect(const string&, uint16_t, bool, bool, bool)': > dcpp/BufferedSocket.cpp:98:7: warning: 'template<class> class std::auto_ptr' > is deprecated [-Wdeprecated-declarations] > std::auto_ptr<Socket> s(secure ? > CryptoManager::getInstance()->getClientSocket(allowUntrusted) : new Socket); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from dcpp/stdinc.h:117, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > dcpp/BufferedSocket.cpp: In member function 'void > dcpp::BufferedSocket::addTask(dcpp::BufferedSocket::Tasks, > dcpp::BufferedSocket::TaskData*)': > dcpp/BufferedSocket.cpp:481:39: error: no matching function for call to > 'std::deque<std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> > > >::push_back(std::pair<dcpp::BufferedSocket::Tasks, > dcpp::BufferedSocket::TaskData*>)' > tasks.push_back(make_pair(task, data)); taskSem.signal(); > ^ > > In file included from /usr/include/c++/6/deque:64:0, > from dcpp/stdinc.h:113, > from dcpp/BufferedSocket.cpp:19: > /usr/include/c++/6/bits/stl_deque.h:1517:7: note: candidate: void > std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = > std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> >; _Alloc = > std::allocator<std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >; std::deque<_Tp, > _Alloc>::value_type = std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> >] > push_back(const value_type& __x) > ^~~~~~~~~ > > /usr/include/c++/6/bits/stl_deque.h:1517:7: note: no known conversion for > argument 1 from 'std::pair<dcpp::BufferedSocket::Tasks, > dcpp::BufferedSocket::TaskData*>' to 'const value_type& {aka const > std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> >&}' > /usr/include/c++/6/bits/stl_deque.h:1532:7: note: candidate: void > std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) > [with _Tp = std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> >; _Alloc = > std::allocator<std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >; std::deque<_Tp, > _Alloc>::value_type = std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> >] > push_back(value_type&& __x) > ^~~~~~~~~ > > /usr/include/c++/6/bits/stl_deque.h:1532:7: note: no known conversion for > argument 1 from 'std::pair<dcpp::BufferedSocket::Tasks, > dcpp::BufferedSocket::TaskData*>' to > 'std::deque<std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> > >::value_type&& {aka > std::pair<dcpp::BufferedSocket::Tasks, > boost::shared_ptr<dcpp::BufferedSocket::TaskData> >&&}' > scons: *** [build/release/libdcpp/BufferedSocket.o] Error 1 > scons: building terminated because of errors. > /usr/share/cdbs/1/class/scons.mk:36: recipe for target > 'debian/stamp-scons-build' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

