[Bug 756154] Re: opencv version 2.1.0-3ubuntu1 failed to build on i386

Gal Shalif 756154 at bugs.launchpad.net
Wed Jun 22 17:25:38 UTC 2011


More notes on testing:

After fixing the above bug - we get more build errors of the OpenCV
package on Ubuntu 11.10 Oneiric because of:


1. The OpenCV 2.1 version is used
2. The new FFmpeg 0.7 version is used
3. OpenCV version 2.1 do not compile against the new FFmpeg version 0.7

AFAIK, the latest SVN version of OpenCV do not either compile against
the new ffmpeg 0.7 and it is likely that the OpenCV developers will have
to modify the OpenCV sources to allow a build against the new ffmpeg
0.7.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/756154

Title:
  opencv version 2.1.0-3ubuntu1 failed to build on i386

Status in “opencv” package in Ubuntu:
  Triaged
Status in “opencv” source package in Oneiric:
  Triaged

Bug description:
  opencv version 2.1.0-3ubuntu1 failed to build on i386
  Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2406153

  Direct link to the build log: https://launchpad.net/ubuntu/+archive
  /test-rebuild-20110329/+buildjob/2406153/+files/buildlog_ubuntu-
  natty-i386.opencv_2.1.0-3ubuntu1_FAILEDTOBUILD.txt.gz

  This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
  Excerpt 3730 lines into the build log:

  cd /build/buildd/opencv-2.1.0/obj-i686-linux-gnu/apps/haartraining && /usr/bin/c++   -DHAVE_CONFIG_H -g -O2   -Wall -pthread -march=i686 -ffunction-sections  -O3 -DNDEBUG  -fomit-frame-pointer -ffast-math -mfpmath=387 -DNDEBUG  -I/usr/lib/pymodules/python2.7/numpy/core/include -I/build/buildd/opencv-2.1.0/. -I/build/buildd/opencv-2.1.0/obj-i686-linux-gnu -I/build/buildd/opencv-2.1.0/include -I/build/buildd/opencv-2.1.0/include/opencv -I/build/buildd/opencv-2.1.0/apps/haartraining   -D PYTHON_USE_NUMPY=1 -o CMakeFiles/createsamples.dir/createsamples.o -c /build/buildd/opencv-2.1.0/apps/haartraining/createsamples.cpp
  Linking CXX executable ../../bin/opencv_createsamples
  cd /build/buildd/opencv-2.1.0/obj-i686-linux-gnu/apps/haartraining && /usr/bin/cmake -E cmake_link_script CMakeFiles/createsamples.dir/link.txt --verbose=1
  /usr/bin/c++   -g -O2   -Wall -pthread -march=i686 -ffunction-sections  -O3 -DNDEBUG  -fomit-frame-pointer -ffast-math -mfpmath=387 -DNDEBUG   -Wl,-Bsymbolic-functions      CMakeFiles/createsamples.dir/createsamples.o  -o ../../bin/opencv_createsamples -rdynamic ../../lib/libcxcore.so.2.1.0 ../../lib/libcv.so.2.1.0 ../../lib/libcvhaartraining.a ../../lib/libhighgui.so.2.1.0 ../../lib/libcv.so.2.1.0 ../../lib/libcxcore.so.2.1.0 -llapack -lz ../../3rdparty/lib/libflann.a -ldl -lm -lpthread -lrt 
  ../../lib/libhighgui.so.2.1.0: undefined reference to `cvCreateCameraCapture_V4L(int)'
  collect2: ld returned 1 exit status
  make[3]: *** [bin/opencv_createsamples] Error 1
  make[3]: Leaving directory `/build/buildd/opencv-2.1.0/obj-i686-linux-gnu'
  make[2]: *** [apps/haartraining/CMakeFiles/createsamples.dir/all] Error 2
  make[2]: Leaving directory `/build/buildd/opencv-2.1.0/obj-i686-linux-gnu'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/build/buildd/opencv-2.1.0/obj-i686-linux-gnu'
  dh_auto_build: make -j1 returned exit code 2
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  ******************************************************************************
  Build finished at 20110408-1536
  FAILED [dpkg-buildpackage died]
  Purging chroot-autobuild/build/buildd/opencv-2.1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/756154/+subscriptions



More information about the Ubuntu-sponsors mailing list