Bug#835722: python-pgmagick: FTBFS

2016-10-05 Thread W. Martin Borgert
close 835722
thanks

I cannot reproduce this build error.
Maybe a temporary problem?
Feel free to open again, if I'm mistaken.



Bug#835722: python-pgmagick: FTBFS: ./src/_Image.cpp:68:116: error: no matching function for call to 'boost::python::class_::def(const char [18], ,

2016-08-28 Thread Lucas Nussbaum
Source: python-pgmagick
Version: 0.6.2-1
Severity: serious
Tags: stretch sid
User: debian...@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_::def(const char [18],  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 Derived> boost::python::class_::self& boost::python::class_ X1, X2, X3>::def(const boost::python::def_visitor&) [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 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' 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 F> boost::python::class_::self& boost::python::class_ 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 A1, class A2> boost::python::class_::self& 
> boost::python::class_::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 Fn, class A1, class A2> boost::python::class_::self& 
> boost::python::class_::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 a