[Python-modules-team] Bug#758001: [pythonmagick] FTBFS with new (experimental) imagemagick version

bastien ROUCARIES roucaries.bastien at gmail.com
Wed Aug 13 10:27:57 UTC 2014


Package: pythonmagick
Severity: important
control: tag -1 +upstream
control: forwarded -1 http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26088
control: block 740495 by -1


Hi,

Your package FTBFS with imagemagick experimental

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../pythonmagick_src
-I../config -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7
-I/usr/include -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6 -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-DBOOST_PYTHON_DYNAMIC_LIB -c ../../../pythonmagick_src/_Image.cpp
-fPIC -DPIC -o .libs/libpymagick_la-_Image.o
../../../pythonmagick_src/_Image.cpp: In function 'void
Export_pyste_src_Image()':
../../../pythonmagick_src/_Image.cpp:96:48: error: no matching
function for call to 'boost::python::class_<Magick::Image>::def(const
char [8], <unresolved overloaded function type>)'
         .def("compare", &Magick::Image::compare)
                                                ^
../../../pythonmagick_src/_Image.cpp:96:48: note: candidates are:
In file included from /usr/include/boost/python.hpp:18:0,
                 from ../../../pythonmagick_src/_Image.cpp:3:
/usr/include/boost/python/class.hpp:224:11: note: template<class
Derived> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_<T, X1, X2, X3>::def(const
boost::python::def_visitor<Derived>&) [with Derived = Derived; W =
Magick::Image; X1 = boost::python::detail::not_specified; X2 =
boost::python::detail::not_specified; X3 =
boost::python::detail::not_specified]
     self& def(def_visitor<Derived> const& visitor)
           ^
/usr/include/boost/python/class.hpp:224:11: note:   template argument
deduction/substitution failed:
../../../pythonmagick_src/_Image.cpp:96:48: note:   mismatched types
'const boost::python::def_visitor<U>' and 'const char [8]'
         .def("compare", &Magick::Image::compare)
                                                ^
In file included from /usr/include/boost/python.hpp:18:0,
                 from ../../../pythonmagick_src/_Image.cpp:3:
/usr/include/boost/python/class.hpp:234:11: note: template<class F>
boost::python::class_<T, X1, X2, X3>::self& boost::python::class_<T,
X1, X2, X3>::def(const char*, F) [with F = F; W = Magick::Image; X1 =
boost::python::detail::not_specified; X2 =
boost::python::detail::not_specified; X3 =
boost::python::detail::not_specified]
     self& def(char const* name, F f)
           ^
/usr/include/boost/python/class.hpp:234:11: note:   template argument
deduction/substitution failed:
../../../pythonmagick_src/_Image.cpp:96:48: note:   couldn't deduce
template parameter 'F'
         .def("compare", &Magick::Image::compare)
                                                ^
In file included from /usr/include/boost/python.hpp:18:0,
                 from ../../../pythonmagick_src/_Image.cpp:3:
/usr/include/boost/python/class.hpp:243:11: note: template<class A1,
class A2> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_<T, X1, X2, X3>::def(const char*, A1, const A2&)
[with A1 = A1; A2 = A2; W = Magick::Image; X1 =
boost::python::detail::not_specified; X2 =
boost::python::detail::not_specified; X3 =
boost::python::detail::not_specified]
     self& def(char const* name, A1 a1, A2 const& a2)
           ^
/usr/include/boost/python/class.hpp:243:11: note:   template argument
deduction/substitution failed:
../../../pythonmagick_src/_Image.cpp:96:48: note:   candidate expects
3 arguments, 2 provided
         .def("compare", &Magick::Image::compare)
                                                ^
In file included from /usr/include/boost/python.hpp:18:0,
                 from ../../../pythonmagick_src/_Image.cpp:3:
/usr/include/boost/python/class.hpp:250:11: note: template<class Fn,
class A1, class A2> boost::python::class_<T, X1, X2, X3>::self&
boost::python::class_<T, X1, X2, X3>::def(const char*, Fn, const A1&,
const A2&) [with Fn = Fn; A1 = A1; A2 = A2; W = Magick::Image; X1 =
boost::python::detail::not_specified; X2 =
boost::python::detail::not_specified; X3 =
boost::python::detail::not_specified]
     self& def(char const* name, Fn fn, A1 const& a1, A2 const& a2)
           ^
/usr/include/boost/python/class.hpp:250:11: note:   template argument
deduction/substitution failed:
../../../pythonmagick_src/_Image.cpp:96:48: note:   candidate expects
4 arguments, 2 provided
         .def("compare", &Magick::Image::compare)
                                                ^
In file included from /usr/include/boost/python.hpp:18:0,
                 from ../../../pythonmagick_src/_Image.cpp:3:
/usr/include/boost/python/class.hpp:266:11: note: template<class Fn,
class A1, class A2, class A3> boost::python::class_<T, X1, X2,
X3>::self& boost::python::class_<T, X1, X2, X3>::def(const char*, Fn,
const A1&, const A2&, const A3&) [with Fn = Fn; A1 = A1; A2 = A2; A3 =
A3; W = Magick::Image; X1 = boost::python::detail::not_specified; X2 =
boost::python::detail::not_specified; X3 =
boost::python::detail::not_specified]
     self& def(char const* name, Fn fn, A1 const& a1, A2 const& a2, A3
const& a3)
           ^
/usr/include/boost/python/class.hpp:266:11: note:   template argument
deduction/substitution failed:
../../../pythonmagick_src/_Image.cpp:96:48: note:   candidate expects
5 arguments, 2 provided
         .def("compare", &Magick::Image::compare)



More information about the Python-modules-team mailing list