Bug#624950: sikuli: FTBFS: cxcore.hpp:177:13: error: 'ptrdiff_t' does not name a type
Lucas Nussbaum
lucas at lucas-nussbaum.net
Mon May 2 12:38:19 UTC 2011
Source: sikuli
Version: 1.0~x~rc2-dfsg1-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[4]: Entering directory `/build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/build'
> [ 14%] Building CXX object src/main/native/CMakeFiles/VisionProxy.dir/visionJAVA_wrap.cxx.o
> In file included from /usr/include/opencv/cxcore.h:1826:0,
> from /usr/include/opencv/cv.h:58,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/src/main/native/opencv.hpp:4,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/src/main/native/vision.h:14,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/build/src/main/native/visionJAVA_wrap.cxx:214:
> /usr/include/opencv/cxcore.hpp:177:13: error: 'ptrdiff_t' does not name a type
> In file included from /usr/include/opencv/cxcore.hpp:2307:0,
> from /usr/include/opencv/cxcore.h:1826,
> from /usr/include/opencv/cv.h:58,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/src/main/native/opencv.hpp:4,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/src/main/native/vision.h:14,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/build/src/main/native/visionJAVA_wrap.cxx:214:
> /usr/include/opencv/cxoperations.hpp:2043:15: error: 'ptrdiff_t' does not name a type
> /usr/include/opencv/cxoperations.hpp:2591:31: error: 'ptrdiff_t' does not name a type
> In file included from /usr/include/opencv/cxcore.hpp:2308:0,
> from /usr/include/opencv/cxcore.h:1826,
> from /usr/include/opencv/cv.h:58,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/src/main/native/opencv.hpp:4,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/src/main/native/vision.h:14,
> from /build/user-sikuli_1.0~x~rc2-dfsg1-2-amd64-rJpnkf/sikuli-1.0~x~rc2-dfsg1/sikuli-script/build/src/main/native/visionJAVA_wrap.cxx:214:
> /usr/include/opencv/cxmat.hpp: In member function 'void cv::Mat::locateROI(cv::Size&, cv::Point&) const':
> /usr/include/opencv/cxmat.hpp:387:5: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/opencv/cxmat.hpp:387:5: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
> /usr/include/opencv/cxmat.hpp:387:15: error: expected ';' before 'delta1'
> /usr/include/opencv/cxmat.hpp:389:9: error: 'delta1' was not declared in this scope
> /usr/include/opencv/cxmat.hpp:398:31: error: 'delta2' was not declared in this scope
> /usr/include/opencv/cxmat.hpp: In member function 'cv::Point cv::MatConstIterator_<_Tp>::pos() const':
> /usr/include/opencv/cxmat.hpp:3459:9: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/opencv/cxmat.hpp:3459:9: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
> /usr/include/opencv/cxmat.hpp:3459:19: error: expected ';' before 'ofs'
> /usr/include/opencv/cxmat.hpp:3460:23: error: 'ofs' was not declared in this scope
> /usr/include/opencv/cxmat.hpp:3460:66: error: expected ')' before 'y'
> /usr/include/opencv/cxmat.hpp:3465:9: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/opencv/cxmat.hpp:3465:9: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
> /usr/include/opencv/cxmat.hpp:3465:19: error: expected ';' before 'ofs'
> /usr/include/opencv/cxmat.hpp:3466:23: error: 'ofs' was not declared in this scope
> make[4]: *** [src/main/native/CMakeFiles/VisionProxy.dir/visionJAVA_wrap.cxx.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2011/05/02/sikuli_1.0~x~rc2-dfsg1-2_lsid64.buildlog
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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-java-maintainers
mailing list