ports/158525: cannot portupgrade graphics/opencv to version 2.3.0.r
Andrei Lavreniyuk
andy.lavr at gmail.com
Thu Jun 30 12:24:45 UTC 2011
> Please try do deinstall the old opencv port first (see UPDATING).
# pkg_info -E opencv\*
opencv-core-2.3.0.r
# cd /usr/ports/graphics/opencv
/usr/ports/graphics/opencv# make clean
===> Cleaning for opencv-2.3.0.r
/usr/ports/graphics/opencv# make
===> Vulnerability check disabled, database not found
===> License BSD accepted by the user
===> Found saved configuration for opencv-2.3.0.r
===> Extracting for opencv-2.3.0.r
=> SHA256 Checksum OK for OpenCV-2.3.0rc.tar.bz2.
===> Patching for opencv-2.3.0.r
===> Applying extra patch
/usr/ports/graphics/opencv/files/extra-patch-opencv
===> Applying FreeBSD patches for opencv-2.3.0.r
===> opencv-2.3.0.r depends on file: /usr/local/include/eigen2/Eigen/Eigen
- found
===> opencv-2.3.0.r depends on file:
/usr/local/lib/python2.7/site-packages/numpy/core/numeric.py - found
===> opencv-2.3.0.r depends on file: /usr/local/include/linux/videodev2.h
- found
===> opencv-2.3.0.r depends on file: /usr/local/bin/python2.7 - found
===> opencv-2.3.0.r depends on package: gstreamer-plugins>=0.10.0 - found
===> opencv-2.3.0.r depends on executable: pkg-config - found
===> opencv-2.3.0.r depends on file: /usr/local/bin/cmake - found
===> opencv-2.3.0.r depends on shared library: opencv_core.2 - found
===> opencv-2.3.0.r depends on shared library: jasper.4 - found
===> opencv-2.3.0.r depends on shared library: jpeg.11 - found
===> opencv-2.3.0.r depends on shared library: png.6 - found
===> opencv-2.3.0.r depends on shared library: tiff.4 - found
===> opencv-2.3.0.r depends on shared library: v4l2.0 - found
===> opencv-2.3.0.r depends on shared library: xine.1 - found
===> Configuring for opencv-2.3.0.r
/bin/mkdir -p /usr/ports/graphics/opencv/work/OpenCV-2.3.0
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Extracting svn version, please wait...
-- SVNVERSION:
-- Detected version of GNU GCC: 42 (402)
-- checking for module 'gstreamer-base-0.10'
-- found gstreamer-base-0.10, version 0.10.35
-- checking for module 'gstreamer-app-0.10'
-- found gstreamer-app-0.10, version 0.10.35
-- checking for module 'gstreamer-video-0.10'
-- found gstreamer-video-0.10, version 0.10.35
-- checking for module 'libdc1394-2'
gnome-config: not found
-- package 'libdc1394-2' not found
-- checking for module 'libdc1394'
gnome-config: not found
-- package 'libdc1394' not found
-- Found ZLIB: /usr/include (found version "1.2.3")
-- Found PNG: /usr/local/lib/libpng.so
-- Looking for /usr/local/include/png.h
-- Looking for /usr/local/include/png.h - found
-- Looking for /usr/local/include/libpng/png.h
-- Looking for /usr/local/include/libpng/png.h - found
-- Found TIFF: /usr/local/lib/libtiff.so
-- Found JPEG: /usr/local/lib/libjpeg.so
-- Found Jasper: /usr/local/lib/libjasper.so
-- Looking for alloca.h
-- Looking for alloca.h - not found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- checking for module 'libxine'
-- found libxine, version 1.1.19
-- checking for module 'libv4l1'
-- found libv4l1, version 0.8.4
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Found PythonInterp: /usr/local/bin/python2.7
-- Found PythonLibs: /usr/local/lib/libpython2.7.so
-- Use INCLUDE:
/usr/local/lib/python2.7/site-packages/numpy/core/include
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named sphinx
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE
CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "4.0")
-- Parsing 'cvconfig.h.cmake'
-- PDF LaTeX found!
--
-- General configuration for opencv 2.3.0
=====================================
--
-- Built as dynamic libs?: ON
-- Compiler:
-- C++ flags (Release): -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe
-march=native -mtune=native -fno-delete-null-pointer-checks
-fstack-protector -fno-strict-aliasing -Wformat -Wformat-security
-fno-omit-frame-pointer -s -fconserve-space -Wall -Wno-long-long -pthread
-ffunction-sections -fomit-frame-pointer -ffast-math -msse -msse2
-DNDEBUG
-- C++ flags (Debug): -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe
-march=native -mtune=native -fno-delete-null-pointer-checks
-fstack-protector -fno-strict-aliasing -Wformat -Wformat-security
-fno-omit-frame-pointer -s -fconserve-space -Wall -Wno-long-long -pthread
-ffunction-sections -O0 -ggdb3 -DDEBUG -D_DEBUG
-- Linker flags (Release): -L/usr/local/lib
-- Linker flags (Debug): -L/usr/local/lib
--
-- GUI:
-- GTK+ 2.x: FALSE
-- GThread: FALSE
--
-- Media I/O:
-- ZLib: TRUE
-- JPEG: TRUE
-- PNG: TRUE
-- TIFF: TRUE
-- JPEG 2000: TRUE
-- OpenEXR: NO
-- OpenNI: FALSE
--
-- Video I/O:
-- DC1394 1.x: 0
-- DC1394 2.x: 0
-- FFMPEG: 0
-- codec:
-- format:
-- util:
-- swscale:
-- gentoo-style:
-- GStreamer: 1
-- UniCap: FALSE
-- PvAPI:
-- V4L/V4L2: Using libv4l
-- Xine: 1
--
-- Interfaces:
-- Python: On
-- Python interpreter: /usr/local/bin/python2.7
-- Python numpy: YES
-- Use IPP: NO
-- Use TBB: NO
-- Use ThreadingFramework: NO
-- Use Cuda: NO
-- Use Eigen: YES
--
-- Documentation:
-- Build Documentation: NO
--
-- Install path: /usr/local
--
-- cvconfig.h is in:
/usr/ports/graphics/opencv/work/OpenCV-2.3.0
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
CMake Warning: The variable, 'CMAKE_THREAD_LIBS', specified manually, was
not used during the generation.
CMake Warning: The variable, 'CMAKE_USE_PTHREADS', specified manually, was
not used during the generation.
CMake Warning: The variable, 'THREADS_HAVE_PTHREAD_ARG', specified manually,
was not used during the generation.
CMake Warning: The variable, 'WITH_EIGEN2', specified manually, was not used
during the generation.
-- Build files have been written to:
/usr/ports/graphics/opencv/work/OpenCV-2.3.0
===> Building for opencv-2.3.0.r
Scanning dependencies of target opencv_test_features2d_pch_dephelp
Scanning dependencies of target opencv_features2d_pch_dephelp
Scanning dependencies of target opencv_calib3d_pch_dephelp
Scanning dependencies of target opencv_test_calib3d_pch_dephelp
[ 0%] Building CXX object
modules/features2d/CMakeFiles/opencv_test_features2d_pch_dephelp.dir/opencv_test_features2d_pch_dephelp.o
[ 1%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.o
[ 1%] Building CXX object
modules/calib3d/CMakeFiles/opencv_calib3d_pch_dephelp.dir/opencv_calib3d_pch_dephelp.o
[ 1%] Building CXX object
modules/calib3d/CMakeFiles/opencv_test_calib3d_pch_dephelp.dir/opencv_test_calib3d_pch_dephelp.o
Linking CXX static library ../../lib/libopencv_calib3d_pch_dephelp.a
Linking CXX static library ../../lib/libopencv_features2d_pch_dephelp.a
[ 1%] Built target opencv_features2d_pch_dephelp
[ 1%] Built target opencv_calib3d_pch_dephelp
Scanning dependencies of target opencv_test_highgui_pch_dephelp
Scanning dependencies of target opencv_highgui_pch_dephelp
[ 1%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/opencv_highgui_pch_dephelp.o
[ 1%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui_pch_dephelp.dir/opencv_test_highgui_pch_dephelp.o
Linking CXX static library ../../lib/libopencv_test_calib3d_pch_dephelp.a
[ 1%] Built target opencv_test_calib3d_pch_dephelp
Linking CXX static library ../../lib/libopencv_test_features2d_pch_dephelp.a
Linking CXX static library ../../lib/libopencv_highgui_pch_dephelp.a
[ 1%] Built target opencv_highgui_pch_dephelp
[ 1%] Built target opencv_test_features2d_pch_dephelp
Scanning dependencies of target opencv_legacy_pch_dephelp
[ 2%] Building CXX object
modules/legacy/CMakeFiles/opencv_legacy_pch_dephelp.dir/opencv_legacy_pch_dephelp.o
Scanning dependencies of target opencv_contrib_pch_dephelp
[ 2%] Building CXX object
modules/contrib/CMakeFiles/opencv_contrib_pch_dephelp.dir/opencv_contrib_pch_dephelp.o
Scanning dependencies of target opencv_objdetect_pch_dephelp
[ 2%] Building CXX object
modules/objdetect/CMakeFiles/opencv_objdetect_pch_dephelp.dir/opencv_objdetect_pch_dephelp.o
Linking CXX static library ../../lib/libopencv_test_highgui_pch_dephelp.a
[ 2%] Built target opencv_test_highgui_pch_dephelp
Linking CXX static library ../../lib/libopencv_legacy_pch_dephelp.a
[ 2%] Built target opencv_legacy_pch_dephelp
Scanning dependencies of target opencv_gpu_pch_dephelp
[ 2%] Building CXX object
modules/gpu/CMakeFiles/opencv_gpu_pch_dephelp.dir/opencv_gpu_pch_dephelp.o
Linking CXX static library ../../lib/libopencv_objdetect_pch_dephelp.a
Scanning dependencies of target opencv_test_objdetect_pch_dephelp
[ 2%] Building CXX object
modules/objdetect/CMakeFiles/opencv_test_objdetect_pch_dephelp.dir/opencv_test_objdetect_pch_dephelp.o
[ 2%] Built target opencv_objdetect_pch_dephelp
Linking CXX static library ../../lib/libopencv_contrib_pch_dephelp.a
Scanning dependencies of target opencv_test_gpu_pch_dephelp
[ 2%] Built target opencv_contrib_pch_dephelp
Scanning dependencies of target pch_Generate_opencv_calib3d
[ 2%] Generating precomp.hpp
[ 2%] Building CXX object
modules/gpu/CMakeFiles/opencv_test_gpu_pch_dephelp.dir/opencv_test_gpu_pch_dephelp.o
[ 2%] Generating precomp.hpp.gch/opencv_calib3d_Release.gch
Linking CXX static library ../../lib/libopencv_gpu_pch_dephelp.a
[ 2%] Built target opencv_gpu_pch_dephelp
Scanning dependencies of target pch_Generate_opencv_features2d
[ 2%] Generating precomp.hpp
[ 2%] Generating precomp.hpp.gch/opencv_features2d_Release.gch
Linking CXX static library ../../lib/libopencv_test_objdetect_pch_dephelp.a
[ 2%] Built target opencv_test_objdetect_pch_dephelp
Linking CXX static library ../../lib/libopencv_test_gpu_pch_dephelp.a
Scanning dependencies of target pch_Generate_opencv_test_calib3d
[ 2%] Generating test_precomp.hpp
[ 2%] Built target opencv_test_gpu_pch_dephelp
[ 2%] Generating test_precomp.hpp.gch/opencv_test_calib3d_Release.gch
Scanning dependencies of target pch_Generate_opencv_highgui
[ 2%] Generating precomp.hpp
[ 2%] Generating precomp.hpp.gch/opencv_highgui_Release.gch
[ 3%] Built target pch_Generate_opencv_calib3d
Scanning dependencies of target pch_Generate_opencv_test_features2d
[ 3%] Generating test_precomp.hpp
[ 3%] Generating test_precomp.hpp.gch/opencv_test_features2d_Release.gch
[ 4%] Built target pch_Generate_opencv_features2d
Scanning dependencies of target pch_Generate_opencv_test_highgui
[ 4%] Generating test_precomp.hpp
[ 4%] Generating test_precomp.hpp.gch/opencv_test_highgui_Release.gch
[ 5%] Built target pch_Generate_opencv_highgui
Scanning dependencies of target pch_Generate_opencv_legacy
[ 5%] Generating precomp.hpp
[ 5%] Generating precomp.hpp.gch/opencv_legacy_Release.gch
[ 5%] Built target pch_Generate_opencv_legacy
Scanning dependencies of target pch_Generate_opencv_objdetect
[ 5%] Generating precomp.hpp
[ 5%] Generating precomp.hpp.gch/opencv_objdetect_Release.gch
[ 6%] Built target pch_Generate_opencv_test_features2d
Scanning dependencies of target pch_Generate_opencv_contrib
[ 6%] Generating precomp.hpp
[ 6%] Generating precomp.hpp.gch/opencv_contrib_Release.gch
[ 7%] Built target pch_Generate_opencv_test_highgui
Scanning dependencies of target pch_Generate_opencv_gpu
[ 7%] Generating precomp.hpp
[ 7%] Generating precomp.hpp.gch/opencv_gpu_Release.gch
[ 8%] Built target pch_Generate_opencv_objdetect
Scanning dependencies of target pch_Generate_opencv_test_objdetect
[ 8%] Generating test_precomp.hpp
[ 8%] Generating test_precomp.hpp.gch/opencv_test_objdetect_Release.gch
[ 8%] Built target pch_Generate_opencv_test_calib3d
Scanning dependencies of target pch_Generate_opencv_test_gpu
[ 8%] Generating test_precomp.hpp
[ 8%] Generating test_precomp.hpp.gch/opencv_test_gpu_Release.gch
[ 8%] Built target pch_Generate_opencv_contrib
Scanning dependencies of target opencv_highgui
[ 9%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.o
[ 9%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_images.o
[ 9%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/loadsave.o
[ 9%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/precomp.o
[ 9%] Built target pch_Generate_opencv_gpu
[ 10%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/utils.o
[ 10%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.o
[ 10%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_xine.o
[ 11%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_gstreamer.o
[ 11%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_libv4l.o
[ 11%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/bitstrm.o
[ 11%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_base.o
[ 12%] Built target pch_Generate_opencv_test_objdetect
[ 13%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_jpeg2000.o
[ 13%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_png.o
[ 13%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_jpeg.o
[ 13%] Built target pch_Generate_opencv_test_gpu
[ 13%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_sunras.o
[ 14%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_imageio.o
[ 14%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_pxm.o
[ 14%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_tiff.o
[ 14%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_exr.o
[ 15%] Building CXX object
modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_bmp.o
Linking CXX shared library ../../lib/libopencv_highgui.so
[ 15%] Built target opencv_highgui
Scanning dependencies of target opencv_test_highgui
[ 15%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_precomp.o
[ 16%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_gui.o
[ 16%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_main.o
Scanning dependencies of target opencv_features2d
[ 16%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.o
[ 17%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/planardetect.o
[ 17%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.o
[ 17%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_video_io.o
[ 17%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_drawing.o
/usr/ports/graphics/opencv/work/OpenCV-2.3.0/modules/highgui/test/test_drawing.cpp:409:87:
warning: no newline at end of file
[ 18%] Building CXX object
modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_ffmpeg.o
[ 18%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/surf.o
Linking CXX executable ../../bin/opencv_test_highgui
[ 18%] Built target opencv_test_highgui
[ 18%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.o
[ 19%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/stardetector.o
[ 19%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.o
{standard input}: Assembler messages:
{standard input}:17269: Error: no such instruction: `palignr $8,%xmm6,%xmm0'
{standard input}:17274: Error: no such instruction: `palignr
$12,%xmm8,%xmm0'
{standard input}:17277: Error: no such instruction: `palignr $4,%xmm9,%xmm1'
{standard input}:17285: Error: no such instruction: `palignr $4,%xmm2,%xmm5'
{standard input}:17296: Error: no such instruction: `palignr $8,%xmm4,%xmm1'
{standard input}:17306: Error: no such instruction: `palignr
$12,%xmm7,%xmm2'
[ 19%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/dynamic.o
[ 19%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/detectors.o
[ 20%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/descriptors.o
[ 20%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.o
[ 20%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/brief.o
[ 21%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.o
[ 21%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/blobdetector.o
[ 21%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/bagofwords.o
[ 21%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/precomp.o
[ 22%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/draw.o
[ 22%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/sift.o
[ 22%] Building CXX object
modules/features2d/CMakeFiles/opencv_features2d.dir/src/oneway.o
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1
Stop in /usr/ports/graphics/opencv.
*** Error code 1
Stop in /usr/ports/graphics/opencv.
More information about the freebsd-ports-bugs
mailing list