[Python-modules-team] Bug#835722: python-pgmagick: FTBFS: ./src/_Image.cpp:68:116: error: no matching function for call to 'boost::python::class_<Magick::Image>::def(const char [18], <unresolved overloaded function type>, {anonymous}::Magick_Image_adaptiveThreshold_overloads_2_3)'
Lucas Nussbaum
lucas at debian.org
Sun Aug 28 09:17:09 UTC 2016
Source: python-pgmagick
Version: 0.6.2-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160828 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-oH9M6v/python2.7-2.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/usr/include/GraphicsMagick/ -I/usr/include/python2.7 -c ./src/_Image.cpp -o build/temp.linux-x86_64-2.7/./src/_Image.o -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_x -D_LIBRARY_VERSION="1.4"
> cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
> ./src/_Image.cpp: In function 'void __Image()':
> ./src/_Image.cpp:68:116: error: no matching function for call to 'boost::python::class_<Magick::Image>::def(const char [18], <unresolved overloaded function type>, {anonymous}::Magick_Image_adaptiveThreshold_overloads_2_3)'
> .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
> ^
> In file included from /usr/include/boost/python.hpp:18:0,
> from ./src/_Image.cpp:1:
> /usr/include/boost/python/class.hpp:223:11: note: candidate: 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:223:11: note: template argument deduction/substitution failed:
> ./src/_Image.cpp:68:116: note: mismatched types 'const boost::python::def_visitor<U>' and 'const char [18]'
> .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
> ^
> In file included from /usr/include/boost/python.hpp:18:0,
> from ./src/_Image.cpp:1:
> /usr/include/boost/python/class.hpp:233:11: note: candidate: 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:233:11: note: template argument deduction/substitution failed:
> ./src/_Image.cpp:68:116: note: candidate expects 2 arguments, 3 provided
> .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
> ^
> In file included from /usr/include/boost/python.hpp:18:0,
> from ./src/_Image.cpp:1:
> /usr/include/boost/python/class.hpp:242:11: note: candidate: 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:242:11: note: template argument deduction/substitution failed:
> ./src/_Image.cpp:68:116: note: couldn't deduce template parameter 'A1'
> .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
> ^
> In file included from /usr/include/boost/python.hpp:18:0,
> from ./src/_Image.cpp:1:
> /usr/include/boost/python/class.hpp:249:11: note: candidate: 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:249:11: note: template argument deduction/substitution failed:
> ./src/_Image.cpp:68:116: note: candidate expects 4 arguments, 3 provided
> .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
> ^
> In file included from /usr/include/boost/python.hpp:18:0,
> from ./src/_Image.cpp:1:
> /usr/include/boost/python/class.hpp:265:11: note: candidate: 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:265:11: note: template argument deduction/substitution failed:
> ./src/_Image.cpp:68:116: note: candidate expects 5 arguments, 3 provided
> .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
> ^
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> E: pybuild pybuild:276: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
> dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
> debian/rules:8: recipe for target 'build' failed
> make: *** [build] Error 25
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/08/28/python-pgmagick_0.6.2-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list