Package: curlpp Version: 0.7.3-6 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-deprecated-declarations
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 ... > make[4]: Entering directory '/<<PKGBUILDDIR>>/src/curlpp/internal' > /bin/bash ../../../libtool --silent --tag=CXX --mode=compile g++ > -DHAVE_CONFIG_H -I. -I../../../include/curlpp -I../../../include/curlpp > -I../../../include/curlpp/internal -I../../../include -Wdate-time > -D_FORTIFY_SOURCE=2 -I../ -g -fstack-protector-strong -Wformat > -Werror=format-security -W -Wall -Werror -I/usr/include -c -o > CurlHandle.lo CurlHandle.cpp > In file included from ../../../include/utilspp/Functors.hpp:27:0, > from ../../../include/curlpp/internal/../Types.hpp:32, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > ../../../include/utilspp/functor/Functor.hpp:57:18: error: 'template<class> > class std::auto_ptr' is deprecated [-Werror=deprecated-declarations] > Functor(std::auto_ptr<Impl> impl) > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/function/function_base.hpp:16, > from /usr/include/boost/function/detail/prologue.hpp:17, > from /usr/include/boost/function.hpp:24, > from ../../../include/curlpp/internal/../Types.hpp:29, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from ../../../include/utilspp/Functors.hpp:27:0, > from ../../../include/curlpp/internal/../Types.hpp:32, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > ../../../include/utilspp/functor/Functor.hpp:145:10: error: 'template<class> > class std::auto_ptr' is deprecated [-Werror=deprecated-declarations] > std::auto_ptr<Impl> mImpl; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/function/function_base.hpp:16, > from /usr/include/boost/function/detail/prologue.hpp:17, > from /usr/include/boost/function.hpp:24, > from ../../../include/curlpp/internal/../Types.hpp:29, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from ../../../include/utilspp/Functors.hpp:27:0, > from ../../../include/curlpp/internal/../Types.hpp:32, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > ../../../include/utilspp/functor/Functor.hpp: In member function > 'utilspp::Functor<R, TList>& utilspp::Functor<R, TList>::operator=(const > utilspp::Functor<R, TList>&)': > ../../../include/utilspp/functor/Functor.hpp:63:20: error: 'template<class> > class std::auto_ptr' is deprecated [-Werror=deprecated-declarations] > mImpl = std::auto_ptr<Impl>(functor.mImpl->clone()); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/function/function_base.hpp:16, > from /usr/include/boost/function/detail/prologue.hpp:17, > from /usr/include/boost/function.hpp:24, > from ../../../include/curlpp/internal/../Types.hpp:29, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from ../../../include/utilspp/functor/Functor.hpp:166:0, > from ../../../include/utilspp/Functors.hpp:27, > from ../../../include/curlpp/internal/../Types.hpp:32, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > ../../../include/utilspp/functor/Binder.hpp: In function 'utilspp::Functor<R, > typename TList::tail> utilspp::BindFirst(const utilspp::Functor<R, TList>&, > typename TList::head)': > ../../../include/utilspp/functor/Binder.hpp:102:26: error: 'template<class> > class std::auto_ptr' is deprecated [-Werror=deprecated-declarations] > return Outgoing(std::auto_ptr<typename Outgoing::Impl>(new > BinderFirst<Incoming>(fun, bound))); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/function/function_base.hpp:16, > from /usr/include/boost/function/detail/prologue.hpp:17, > from /usr/include/boost/function.hpp:24, > from ../../../include/curlpp/internal/../Types.hpp:29, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from CurlHandle.cpp:25:0: > ../../../include/curlpp/internal/CurlHandle.hpp: At global scope: > ../../../include/curlpp/internal/CurlHandle.hpp:58:8: error: 'template<class> > class std::auto_ptr' is deprecated [-Werror=deprecated-declarations] > std::auto_ptr<CurlHandle> clone() const; > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/function/function_base.hpp:16, > from /usr/include/boost/function/detail/prologue.hpp:17, > from /usr/include/boost/function.hpp:24, > from ../../../include/curlpp/internal/../Types.hpp:29, > from ../../../include/curlpp/internal/CurlHandle.hpp:31, > from CurlHandle.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > CurlHandle.cpp:92:6: error: 'template<class> class std::auto_ptr' is > deprecated [-Werror=deprecated-declarations] > std::auto_ptr<CurlHandle> > ^~~~~~~~

