[Pkg-scicomp-devel] sikuli: FTBFS: cxcore.hpp:177:13: error: 'ptrdiff_t' does not name a type
Gilles Filippini
pini at debian.org
Sun May 8 08:14:30 UTC 2011
reassign 624950 libcv-dev
forcemerge 625108 624950
retitle 624950 libcv-dev: error: 'ptrdiff_t' does not name a type
affects 624950 src:sikuli
thanks
Hi,
Lucas Nussbaum a écrit , Le 02/05/2011 14:38:
> 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
This is actually a bug in libcv-dev.
Thanks,
_g.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20110508/c13ec68e/attachment.pgp>
More information about the Pkg-scicomp-devel
mailing list