--- Begin Message ---
Package: src:python-shogun
Version: 3.2.0-1
Severity: important
Tags: sid jessie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.9
The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.
The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/python-shogun_3.2.0-1_unstable_gcc49.log
The last lines of the build log are at the end of this report.
To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++
Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols
files. For other C/C++ related build failures see the porting guide
at http://gcc.gnu.org/gcc-4.9/porting_to.html
[...]
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:16728:84:
note: cannot convert 'arg2' (type
'SwigValueWrapper<__gnu_cxx::__normal_iterator<double*, std::vector<double> >
>') to type 'std::vector<double>::const_iterator {aka
__gnu_cxx::__normal_iterator<const double*, std::vector<double> >}'
result = (arg1)->insert(arg2,(std::vector< double >::value_type const
&)*arg3);
^
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:
In function 'PyObject* _wrap_DoubleStdVector_insert__SWIG_1(PyObject*,
PyObject*)':
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:16809:80:
error: no matching function for call to
'std::vector<double>::insert(SwigValueWrapper<__gnu_cxx::__normal_iterator<double*,
std::vector<double> > >&, std::vector<double>::size_type&, const value_type&)'
(arg1)->insert(arg2,arg3,(std::vector< double >::value_type const
&)*arg4);
^
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:16809:80:
note: candidates are:
In file included from /usr/include/c++/4.9/vector:69:0,
from
/usr/include/shogun/optimization/liblinear/shogun_liblinear.h:42,
from /usr/include/shogun/classifier/svm/LibLinear.h:20,
from
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:5127:
/usr/include/c++/4.9/bits/vector.tcc:107:5: note: std::vector<_Tp,
_Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp,
_Alloc>::const_iterator, const value_type&) [with _Tp = double; _Alloc =
std::allocator<double>; std::vector<_Tp, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<double*, std::vector<double> >; typename
std::_Vector_base<_Tp, _Alloc>::pointer = double*; std::vector<_Tp,
_Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const double*,
std::vector<double> >; typename __gnu_cxx::__alloc_traits<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const double*;
std::vector<_Tp, _Alloc>::value_type = double]
vector<_Tp, _Alloc>::
^
/usr/include/c++/4.9/bits/vector.tcc:107:5: note: candidate expects 2
arguments, 3 provided
In file included from /usr/include/c++/4.9/vector:64:0,
from
/usr/include/shogun/optimization/liblinear/shogun_liblinear.h:42,
from /usr/include/shogun/classifier/svm/LibLinear.h:20,
from
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:5127:
/usr/include/c++/4.9/bits/stl_vector.h:1014:7: note: std::vector<_Tp,
_Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp,
_Alloc>::const_iterator, std::vector<_Tp, _Alloc>::value_type&&) [with _Tp =
double; _Alloc = std::allocator<double>; std::vector<_Tp, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<double*, std::vector<double> >; typename
std::_Vector_base<_Tp, _Alloc>::pointer = double*; std::vector<_Tp,
_Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const double*,
std::vector<double> >; typename __gnu_cxx::__alloc_traits<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const double*;
std::vector<_Tp, _Alloc>::value_type = double]
insert(const_iterator __position, value_type&& __x)
^
/usr/include/c++/4.9/bits/stl_vector.h:1014:7: note: candidate expects 2
arguments, 3 provided
/usr/include/c++/4.9/bits/stl_vector.h:1031:7: note: std::vector<_Tp,
_Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp,
_Alloc>::const_iterator, std::initializer_list<_Tp>) [with _Tp = double; _Alloc
= std::allocator<double>; std::vector<_Tp, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<double*, std::vector<double> >; typename
std::_Vector_base<_Tp, _Alloc>::pointer = double*; std::vector<_Tp,
_Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const double*,
std::vector<double> >; typename __gnu_cxx::__alloc_traits<typename
std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const double*]
insert(const_iterator __position, initializer_list<value_type> __l)
^
/usr/include/c++/4.9/bits/stl_vector.h:1031:7: note: candidate expects 2
arguments, 3 provided
/usr/include/c++/4.9/bits/stl_vector.h:1051:7: note: std::vector<_Tp,
_Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp,
_Alloc>::const_iterator, std::vector<_Tp, _Alloc>::size_type, const
value_type&) [with _Tp = double; _Alloc = std::allocator<double>;
std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<double*,
std::vector<double> >; typename std::_Vector_base<_Tp, _Alloc>::pointer =
double*; std::vector<_Tp, _Alloc>::const_iterator =
__gnu_cxx::__normal_iterator<const double*, std::vector<double> >; typename
__gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp,
_Alloc>::_Tp_alloc_type>::const_pointer = const double*; std::vector<_Tp,
_Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type =
double]
insert(const_iterator __position, size_type __n, const value_type& __x)
^
/usr/include/c++/4.9/bits/stl_vector.h:1051:7: note: no known conversion for
argument 1 from 'SwigValueWrapper<__gnu_cxx::__normal_iterator<double*,
std::vector<double> > >' to 'std::vector<double>::const_iterator {aka
__gnu_cxx::__normal_iterator<const double*, std::vector<double> >}'
/usr/include/c++/4.9/bits/stl_vector.h:1095:9: note: template<class
_InputIterator, class> std::vector<_Tp, _Alloc>::iterator std::vector<_Tp,
_Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator,
_InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2>
= <template-parameter-1-2>; _Tp = double; _Alloc = std::allocator<double>]
insert(const_iterator __position, _InputIterator __first,
^
/usr/include/c++/4.9/bits/stl_vector.h:1095:9: note: template argument
deduction/substitution failed:
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:16809:80:
note: cannot convert 'arg2' (type
'SwigValueWrapper<__gnu_cxx::__normal_iterator<double*, std::vector<double> >
>') to type 'std::vector<double>::const_iterator {aka
__gnu_cxx::__normal_iterator<const double*, std::vector<double> >}'
(arg1)->insert(arg2,arg3,(std::vector< double >::value_type const
&)*arg4);
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-c++11-narrowing"
make[3]: ***
[src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o]
Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all]
Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--- End Message ---