Package: regina-normal
Version: 4.96-2.1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> [ 42%] Building CXX object 
> python/regina/CMakeFiles/engine.dir/__/dim2/dim2triangulation.cpp.o
> cd /<<PKGBUILDDIR>>/builds/debbuild/python/regina && /usr/bin/c++   
> -Dengine_EXPORTS -I/<<PKGBUILDDIR>>/builds/debbuild/python/regina 
> -I/<<PKGBUILDDIR>>/python/regina -I/usr/include/libxml2 
> -I/usr/include/x86_64-linux-gnu -I/<<PKGBUILDDIR>>/engine 
> -I/<<PKGBUILDDIR>>/builds/debbuild/engine -I/usr/include/python2.7  -O3 
> -DNDEBUG -fPIC   -o CMakeFiles/engine.dir/__/dim2/dim2triangulation.cpp.o -c 
> /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp
> In file included from 
> /<<PKGBUILDDIR>>/engine/algebra/ngrouppresentation.h:53:0,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:36:
> /<<PKGBUILDDIR>>/engine/utilities/ptrutils.h:101:31: warning: 
> 'template<class> class std::auto_ptr' is deprecated 
> [-Wdeprecated-declarations]
>  inline T* clonePtr(const std::auto_ptr<T>& cloneMe) {
>                                ^~~~~~~~
> 
> 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/function_template.hpp:13,
>                  from /usr/include/boost/function/detail/maybe_include.hpp:13,
>                  from /usr/include/boost/function/function0.hpp:11,
>                  from /usr/include/boost/python/errors.hpp:13,
>                  from /usr/include/boost/python/handle.hpp:11,
>                  from /usr/include/boost/python/args_fwd.hpp:10,
>                  from /usr/include/boost/python/args.hpp:10,
>                  from /usr/include/boost/python.hpp:11,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:35:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> In file included from /<<PKGBUILDDIR>>/engine/maths/nmatrixint.h:47:0,
>                  from 
> /<<PKGBUILDDIR>>/engine/algebra/nmarkedabeliangroup.h:47,
>                  from /<<PKGBUILDDIR>>/engine/algebra/ngrouppresentation.h:54,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:36:
> /<<PKGBUILDDIR>>/engine/maths/nmatrix.h:543:14: warning: 'template<class> 
> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>          std::auto_ptr<NMatrixRing<T> > operator * (const NMatrixRing<T>& 
> other)
>               ^~~~~~~~
> 
> 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/function_template.hpp:13,
>                  from /usr/include/boost/function/detail/maybe_include.hpp:13,
>                  from /usr/include/boost/function/function0.hpp:11,
>                  from /usr/include/boost/python/errors.hpp:13,
>                  from /usr/include/boost/python/handle.hpp:11,
>                  from /usr/include/boost/python/args_fwd.hpp:10,
>                  from /usr/include/boost/python/args.hpp:10,
>                  from /usr/include/boost/python.hpp:11,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:35:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> In file included from /<<PKGBUILDDIR>>/engine/maths/nmatrixint.h:47:0,
>                  from 
> /<<PKGBUILDDIR>>/engine/algebra/nmarkedabeliangroup.h:47,
>                  from /<<PKGBUILDDIR>>/engine/algebra/ngrouppresentation.h:54,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:36:
> /<<PKGBUILDDIR>>/engine/maths/nmatrix.h:580:14: warning: 'template<class> 
> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>          std::auto_ptr<MatrixClass> multiplyAs(const NMatrixRing<T>& other)
>               ^~~~~~~~
....
>                  from /usr/include/boost/python/handle.hpp:11,
>                  from /usr/include/boost/python/args_fwd.hpp:10,
>                  from /usr/include/boost/python/args.hpp:10,
>                  from /usr/include/boost/python.hpp:11,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:35:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> In file included from /<<PKGBUILDDIR>>/engine/dim2/dim2triangulation.h:48:0,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:38:
> /<<PKGBUILDDIR>>/engine/packet/npacket.h:171:14: warning: 'template<class> 
> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>          std::auto_ptr<std::set<NPacketListener*> > listeners;
>               ^~~~~~~~
> 
> 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/function_template.hpp:13,
>                  from /usr/include/boost/function/detail/maybe_include.hpp:13,
>                  from /usr/include/boost/function/function0.hpp:11,
>                  from /usr/include/boost/python/errors.hpp:13,
>                  from /usr/include/boost/python/handle.hpp:11,
>                  from /usr/include/boost/python/args_fwd.hpp:10,
>                  from /usr/include/boost/python/args.hpp:10,
>                  from /usr/include/boost/python.hpp:11,
>                  from /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:35:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp: In function 
> 'boost::python::tuple {anonymous}::isoSig_relabelling(const 
> regina::Dim2Triangulation&)':
> /<<PKGBUILDDIR>>/python/dim2/dim2triangulation.cpp:112:26: error: could not 
> convert 'std::make_tuple(_Elements&& ...) [with _Elements = 
> {std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> >&, 
> boost::python::api::object}](boost::python::api::object(boost::python::handle<>(boost::python::manage_new_object::apply<regina::Dim2Isomorphism*>::type().boost::python::to_python_indirect<T,
>  MakeHolder>::operator()<regina::Dim2Isomorphism*>(iso))))' from 
> 'std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> >, boost::python::api::object>' to 'boost::python::tuple'
>          return make_tuple(


-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to