Source: sikulix
Version: 1.1.1-1
Severity: important
Control: block 841733 by -1

Dear maintainer,

sikulix fails to build with OpenCV 3.2 (as found in experimental).
Note that the previous version of sikulix (1.1.0-2) builds just fine
with OpenCV 3.2.

[INFO] --- exec-maven-plugin:1.6.0:exec (make-all) @ sikulixlibslux ---
make[1]: Entering directory 
'/build/sikulix-1.1.1/Libslux/src/main/resources/srcnativelibs/Vision'
/bin/bash ./libtool  --tag=CXX   --mode=compile x86_64-linux-gnu-g++ 
-DPACKAGE_NAME=\"sikulix-vision-proxy\" 
-DPACKAGE_TARNAME=\"sikulix-vision-proxy\" -DPACKAGE_VERSION=\"1.0.1\" 
-DPACKAGE_STRING=\"sikulix-vision-proxy\ 1.0.1\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DPACKAGE=\"sikulix-vision-proxy\" -DVERSION=\"1.0.1\" 
-DHAVE_TESSERACT_CAPI_H=1 -DHAVE_LIBTESSERACT=1 -I.  
-I"/usr/lib/jvm/java-8-openjdk-amd64"/include -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/lib/jvm/default-java/include/linux  -g -O2 
-fdebug-prefix-map=/build/sikulix-1.1.1=. -fstack-protector-strong -Wformat 
-Werror=format-security -MT libVisionProxy_la-cvgui.lo -MD -MP -MF 
.deps/libVisionProxy_la-cvgui.Tpo -c -o libVisionProxy_la-cvgui.lo `test -f 
'cvgui.cpp' || echo './'`cvgui.cpp
libtool: compile:  x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"sikulix-vision-proxy\" 
-DPACKAGE_TARNAME=\"sikulix-vision-proxy\" -DPACKAGE_VERSION=\"1.0.1\" 
"-DPACKAGE_STRING=\"sikulix-vision-proxy 1.0.1\"" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DPACKAGE=\"sikulix-vision-proxy\" -DVERSION=\"1.0.1\" 
-DHAVE_TESSERACT_CAPI_H=1 -DHAVE_LIBTESSERACT=1 -I. 
-I/usr/lib/jvm/java-8-openjdk-amd64/include -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/lib/jvm/default-java/include/linux -g -O2 
-fdebug-prefix-map=/build/sikulix-1.1.1=. -fstack-protector-strong -Wformat 
-Werror=format-security -MT libVisionProxy_la-cvgui.lo -MD -MP -MF 
.deps/libVisionProxy_la-cvgui.Tpo -c cvgui.cpp  -fPIC -DPIC -o 
.libs/libVisionProxy_la-cvgui.o
cvgui.cpp: In static member function 'static void 
cvgui::linkLineBlobsIntoPagagraphBlobs(std::vector<LineBlob>&, 
std::vector<ParagraphBlob>&)':
cvgui.cpp:392:30: error: no matching function for call to 
'sort(std::vector<LineBlob>&, bool (&)(Blob, Blob))'
    sort(blobs, sort_blob_by_y);
                              ^
In file included from /usr/include/opencv2/core/core.hpp:48:0,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/opencv2/core.hpp:1823:19: note: candidate: void 
cv::sort(cv::InputArray, cv::OutputArray, int)
 CV_EXPORTS_W void sort(InputArray src, OutputArray dst, int flags);
                   ^~~~
/usr/include/opencv2/core.hpp:1823:19: note:   candidate expects 3 arguments, 2 
provided
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4856:5: note: candidate: template<class 
_RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4856:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:392:30: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<LineBlob>' and 'bool (*)(Blob, Blob)')
    sort(blobs, sort_blob_by_y);
                              ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4826:5: note: candidate: template<class 
_RAIter> void std::sort(_RAIter, _RAIter)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4826:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:392:30: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<LineBlob>' and 'bool (*)(Blob, Blob)')
    sort(blobs, sort_blob_by_y);
                              ^
cvgui.cpp: In static member function 'static void 
cvgui::mergeLineBlobs(std::vector<LineBlob>&, std::vector<LineBlob>&)':
cvgui.cpp:427:30: error: no matching function for call to 
'sort(std::vector<LineBlob>&, bool (&)(Blob, Blob))'
    sort(blobs, sort_blob_by_x);
                              ^
In file included from /usr/include/opencv2/core/core.hpp:48:0,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/opencv2/core.hpp:1823:19: note: candidate: void 
cv::sort(cv::InputArray, cv::OutputArray, int)
 CV_EXPORTS_W void sort(InputArray src, OutputArray dst, int flags);
                   ^~~~
/usr/include/opencv2/core.hpp:1823:19: note:   candidate expects 3 arguments, 2 
provided
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4856:5: note: candidate: template<class 
_RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4856:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:427:30: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<LineBlob>' and 'bool (*)(Blob, Blob)')
    sort(blobs, sort_blob_by_x);
                              ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4826:5: note: candidate: template<class 
_RAIter> void std::sort(_RAIter, _RAIter)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4826:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:427:30: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<LineBlob>' and 'bool (*)(Blob, Blob)')
    sort(blobs, sort_blob_by_x);
                              ^
cvgui.cpp: In static member function 'static void 
cvgui::linkBlobsIntoLineBlobs(std::vector<Blob>&, std::vector<LineBlob>&, int)':
cvgui.cpp:462:30: error: no matching function for call to 
'sort(std::vector<Blob>&, bool (&)(Blob, Blob))'
    sort(blobs, sort_blob_by_x);
                              ^
In file included from /usr/include/opencv2/core/core.hpp:48:0,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/opencv2/core.hpp:1823:19: note: candidate: void 
cv::sort(cv::InputArray, cv::OutputArray, int)
 CV_EXPORTS_W void sort(InputArray src, OutputArray dst, int flags);
                   ^~~~
/usr/include/opencv2/core.hpp:1823:19: note:   candidate expects 3 arguments, 2 
provided
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4856:5: note: candidate: template<class 
_RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4856:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:462:30: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<Blob>' and 'bool (*)(Blob, Blob)')
    sort(blobs, sort_blob_by_x);
                              ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4826:5: note: candidate: template<class 
_RAIter> void std::sort(_RAIter, _RAIter)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4826:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:462:30: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<Blob>' and 'bool (*)(Blob, Blob)')
    sort(blobs, sort_blob_by_x);
                              ^
cvgui.cpp: In static member function 'static bool 
cvgui::areHorizontallyAligned(const std::vector<cv::Rect_<int> >&)':
cvgui.cpp:1783:32: error: no matching function for call to 
'sort(std::vector<cv::Rect_<int> >&, bool (&)(cv::Rect, cv::Rect))'
    sort(sorted_rects, sort_by_x);
                                ^
In file included from /usr/include/opencv2/core/core.hpp:48:0,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/opencv2/core.hpp:1823:19: note: candidate: void 
cv::sort(cv::InputArray, cv::OutputArray, int)
 CV_EXPORTS_W void sort(InputArray src, OutputArray dst, int flags);
                   ^~~~
/usr/include/opencv2/core.hpp:1823:19: note:   candidate expects 3 arguments, 2 
provided
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4856:5: note: candidate: template<class 
_RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4856:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:1783:32: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<cv::Rect_<int> >' and 'bool (*)(cv::Rect, cv::Rect) {aka bool 
(*)(cv::Rect_<int>, cv::Rect_<int>)}')
    sort(sorted_rects, sort_by_x);
                                ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/opencv2/core/base.hpp:55,
                 from /usr/include/opencv2/core.hpp:54,
                 from /usr/include/opencv2/core/core.hpp:48,
                 from opencv.hpp:9,
                 from cvgui.h:9,
                 from cvgui.cpp:6:
/usr/include/c++/7/bits/stl_algo.h:4826:5: note: candidate: template<class 
_RAIter> void std::sort(_RAIter, _RAIter)
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
     ^~~~
/usr/include/c++/7/bits/stl_algo.h:4826:5: note:   template argument 
deduction/substitution failed:
cvgui.cpp:1783:32: note:   deduced conflicting types for parameter '_RAIter' 
('std::vector<cv::Rect_<int> >' and 'bool (*)(cv::Rect, cv::Rect) {aka bool 
(*)(cv::Rect_<int>, cv::Rect_<int>)}')
    sort(sorted_rects, sort_by_x);
                                ^
make[1]: *** [libVisionProxy_la-cvgui.lo] Error 1
Makefile:487: recipe for target 'libVisionProxy_la-cvgui.lo' failed
make[1]: Leaving directory 
'/build/sikulix-1.1.1/Libslux/src/main/resources/srcnativelibs/Vision'
[ERROR] Command execution failed.


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to