2014-09-16 21:22 GMT+04:00 Stuart Henderson <st...@openbsd.org>: > Previous working build was done on cmake-2.8.12.2p4, current build > with cmake-3.0.2 fails: > > Loaded symbols for /usr/libexec/ld.so > #0 0x05dca225 in strlen (str=0x7ea9efec "\200\213珮211L~>|", ' <repeats 12 > times> <Address 0x7ea9f000 out of bounds>) at > /usr/src/lib/libc/string/strlen.c:39 > 39 for (s = str; *s; ++s) > (gdb) bt > #0 0x05dca225 in strlen (str=0x7ea9efec "\200\213珮211L~>|", ' <repeats 12 > times> <Address 0x7ea9f000 out of bounds>) at > /usr/src/lib/libc/string/strlen.c:39 > #1 0x08f3249b in basic_string (this=0xcfbdb280, __s=0x7ea9efec > "\200\213珮211L~>|", ' <repeats 12 times> <Address 0x7ea9f000 out of bounds>, > __a=@0xcfbdb287) at char_traits.h:258 > #2 0x1a6362d5 in cmTarget::GetLinkClosure () from /usr/local/bin/cmake > #3 0x1a73f20a in cmComputeLinkInformation::GetRPath () from > /usr/local/bin/cmake > #4 0x1a5aff00 in cmLocalGenerator::OutputLinkLibraries () from > /usr/local/bin/cmake > #5 0x1a5ad702 in cmLocalGenerator::GetTargetFlags () from > /usr/local/bin/cmake > #6 0x1a694d76 in cmNinjaNormalTargetGenerator::WriteLinkStatement () from > /usr/local/bin/cmake > #7 0x1a68711d in cmLocalNinjaGenerator::Generate () from /usr/local/bin/cmake > #8 0x1a7bfbd8 in cmGlobalGenerator::Generate () from /usr/local/bin/cmake > #9 0x1a6807ce in cmGlobalNinjaGenerator::Generate () from > /usr/local/bin/cmake > #10 0x1a660a1b in cmake::Generate () from /usr/local/bin/cmake > #11 0x1a66983e in cmake::Run () from /usr/local/bin/cmake > #12 0x1a56c09d in do_cmake () from /usr/local/bin/cmake > #13 0x1a56cf22 in main () from /usr/local/bin/cmake > >>>> Building on localhost under graphics/opencv > BDEPENDS = > [devel/ninja;x11/gtk+2;devel/gettext;multimedia/gstreamer-0.10/plugins-base;graphics/tiff;graphics/openexr;archivers/unzip;graphics/ffmpeg;textproc/py-sphinx;devel/doxygen;graphics/ilmbase;graphics/jpeg;converters/libiconv;graphics/png;devel/cmake;math/py-numpy;lang/python/2.7] > FULLPKGNAME = opencv-2.4.9 > RDEPENDS = > [multimedia/gstreamer-0.10/plugins-base;converters/libiconv;graphics/ilmbase;graphics/jpeg;x11/gtk+2;devel/gettext;graphics/openexr;graphics/png;graphics/tiff;graphics/ffmpeg;lang/python/2.7;math/py-numpy] > Woken up audio/ksmp3play > (Junk lock failure for localhost at 1410887072) > Received IO > (Junk lock obtained for localhost at 1410887095) > Woken up graphics/opencv > Woken up graphics/opencv >>>> Running show-prepare-results in graphics/opencv at 1410887096 > ===> graphics/opencv > ===> opencv-2.4.9 depends on: doxygen-* -> doxygen-1.8.2p0 > ===> opencv-2.4.9 depends on: py-numpy-* -> py-numpy-1.6.0p4 > ===> opencv-2.4.9 depends on: py-sphinx-* -> py-sphinx-1.1.3p1 > ===> opencv-2.4.9 depends on: cmake->=3.0.2 -> cmake-3.0.2 > ===> opencv-2.4.9 depends on: ninja->=1.5.1 -> ninja-1.5.1 > ===> opencv-2.4.9 depends on: gettext->=0.10.38 -> gettext-0.19.1p0 > ===> opencv-2.4.9 depends on: python->=2.7,<2.8 -> python-2.7.8 > ===> opencv-2.4.9 depends on: unzip-* -> unzip-6.0p4 > ===> opencv-2.4.9 depends on: libiconv-* -> libiconv-1.14p1 > ===> opencv-2.4.9 depends on: gstreamer-plugins-base-* -> > gstreamer-plugins-base-0.10.36p11 > ===> opencv-2.4.9 depends on: gtk+2-* -> gtk+2-2.24.24 > ===> opencv-2.4.9 depends on: ffmpeg-* -> ffmpeg-20140810p0 > ===> opencv-2.4.9 depends on: ilmbase-* -> ilmbase-1.0.1p2 > ===> opencv-2.4.9 depends on: jpeg-* -> jpeg-9a > ===> opencv-2.4.9 depends on: OpenEXR-* -> OpenEXR-1.6.1p2 > ===> opencv-2.4.9 depends on: png-* -> png-1.6.12 > ===> opencv-2.4.9 depends on: tiff-* -> tiff-4.0.3p2 > ===> Verifying specs: Half Iex IlmImf IlmThread Imath X11 Xcomposite > Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 avcodec > avformat avutil bz2 c cairo fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 > gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gstapp-0.10 gstbase-0.10 > gstreamer-0.10 gstvideo-0.10 gthread-2.0 gtk-x11-2.0 jasper jpeg m pango-1.0 > pangocairo-1.0 pangoft2-1.0 png pthread stdc++ swscale tiff xml2 z intl>=5 > iconv>=6 python2.7 > ===> found Half.4.0 Iex.4.0 IlmImf.4.0 IlmThread.4.0 Imath.4.0 X11.16.0 > Xcomposite.4.0 Xcursor.5.0 Xdamage.4.0 Xext.13.0 Xfixes.6.0 Xi.12.1 > Xinerama.6.0 Xrandr.7.0 Xrender.6.0 atk-1.0.21209.1 avcodec.21.0 > avformat.19.0 avutil.12.0 bz2.10.4 c.77.2 cairo.12.2 fontconfig.9.1 > freetype.22.0 gdk-x11-2.0.2400.0 gdk_pixbuf-2.0.3000.0 gio-2.0.4000.0 > glib-2.0.4000.0 gmodule-2.0.4000.0 gobject-2.0.4000.0 gstapp-0.10.2.6 > gstbase-0.10.3.0 gstreamer-0.10.3.0 gstvideo-0.10.2.6 gthread-2.0.4000.0 > gtk-x11-2.0.2400.0 jasper.2.1 jpeg.67.0 m.9.0 pango-1.0.3600.0 > pangocairo-1.0.3600.0 pangoft2-1.0.3600.0 png.17.2 pthread.18.1 stdc++.57.0 > swscale.6.0 tiff.39.2 xml2.15.1 z.5.0 intl.6.0 iconv.6.0 python2.7.0.0 > OpenEXR-1.6.1p2 > cmake-3.0.2 > doxygen-1.8.2p0 > ffmpeg-20140810p0 > gettext-0.19.1p0 > gstreamer-plugins-base-0.10.36p11 > gtk+2-2.24.24 > ilmbase-1.0.1p2 > jpeg-9a > libiconv-1.14p1 > ninja-1.5.1 > png-1.6.12 > py-numpy-1.6.0p4 > py-sphinx-1.1.3p1 > python-2.7.8 > tiff-4.0.3p2 > unzip-6.0p4 > (Junk lock released for localhost at 1410887100) >>>> Running fetch in graphics/opencv at 1410887100 > ===> graphics/opencv > ===> Checking files for opencv-2.4.9 > `/usr/ports/distfiles/opencv-2.4.9.zip' is up to date. >>>> Running patch in graphics/opencv at 1410887100 > ===> graphics/opencv > ===> Checking files for opencv-2.4.9 > `/usr/ports/distfiles/opencv-2.4.9.zip' is up to date. >>> (SHA256) opencv-2.4.9.zip: OK > ===> Extracting for opencv-2.4.9 > ===> Patching for opencv-2.4.9 > perl -pi -e 's@^.*(#\s*include)@$1@' > /usr/obj/ports/opencv-2.4.9/opencv-2.4.9/samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp >>>> Running configure in graphics/opencv at 1410887187 > ===> graphics/opencv > ===> Configuring for opencv-2.4.9 > -- The CXX compiler identification is GNU 4.2.1 > -- The C compiler identification is GNU 4.2.1 > -- Check for working CXX compiler using: Ninja > -- Check for working CXX compiler using: Ninja -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Check for working C compiler using: Ninja > -- Check for working C compiler using: Ninja -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detected version of GNU GCC: 42 (402) > -- Performing Test HAVE_CXX_FSIGNED_CHAR > -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success > -- Performing Test HAVE_C_FSIGNED_CHAR > -- Performing Test HAVE_C_FSIGNED_CHAR - Success > -- Performing Test HAVE_CXX_W > -- Performing Test HAVE_CXX_W - Success > -- Performing Test HAVE_C_W > -- Performing Test HAVE_C_W - Success > -- Performing Test HAVE_CXX_WALL > -- Performing Test HAVE_CXX_WALL - Success > -- Performing Test HAVE_C_WALL > -- Performing Test HAVE_C_WALL - Success > -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE > -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success > -- Performing Test HAVE_C_WERROR_RETURN_TYPE > -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success > -- Performing Test HAVE_CXX_WERROR_ADDRESS > -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success > -- Performing Test HAVE_C_WERROR_ADDRESS > -- Performing Test HAVE_C_WERROR_ADDRESS - Success > -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT > -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success > -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT > -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success > -- Performing Test HAVE_CXX_WFORMAT > -- Performing Test HAVE_CXX_WFORMAT - Success > -- Performing Test HAVE_C_WFORMAT > -- Performing Test HAVE_C_WFORMAT - Success > -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY > -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success > -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY > -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success > -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS > -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Failed > -- Performing Test HAVE_C_WMISSING_DECLARATIONS > -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success > -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES > -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed > -- Performing Test HAVE_C_WMISSING_PROTOTYPES > -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success > -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES > -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed > -- Performing Test HAVE_C_WSTRICT_PROTOTYPES > -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success > -- Performing Test HAVE_CXX_WUNDEF > -- Performing Test HAVE_CXX_WUNDEF - Success > -- Performing Test HAVE_C_WUNDEF > -- Performing Test HAVE_C_WUNDEF - Success > -- Performing Test HAVE_CXX_WINIT_SELF > -- Performing Test HAVE_CXX_WINIT_SELF - Success > -- Performing Test HAVE_C_WINIT_SELF > -- Performing Test HAVE_C_WINIT_SELF - Success > -- Performing Test HAVE_CXX_WPOINTER_ARITH > -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success > -- Performing Test HAVE_C_WPOINTER_ARITH > -- Performing Test HAVE_C_WPOINTER_ARITH - Success > -- Performing Test HAVE_CXX_WSHADOW > -- Performing Test HAVE_CXX_WSHADOW - Success > -- Performing Test HAVE_C_WSHADOW > -- Performing Test HAVE_C_WSHADOW - Success > -- Performing Test HAVE_CXX_WSIGN_PROMO > -- Performing Test HAVE_CXX_WSIGN_PROMO - Success > -- Performing Test HAVE_C_WSIGN_PROMO > -- Performing Test HAVE_C_WSIGN_PROMO - Failed > -- Performing Test HAVE_CXX_WNO_NARROWING > -- Performing Test HAVE_CXX_WNO_NARROWING - Failed > -- Performing Test HAVE_C_WNO_NARROWING > -- Performing Test HAVE_C_WNO_NARROWING - Failed > -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR > -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed > -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR > -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed > -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS > -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed > -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS > -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed > -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION > -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success > -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION > -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success > -- Performing Test HAVE_CXX_PTHREAD > -- Performing Test HAVE_CXX_PTHREAD - Success > -- Performing Test HAVE_C_PTHREAD > -- Performing Test HAVE_C_PTHREAD - Success > -- Performing Test HAVE_CXX_MARCH_I686 > -- Performing Test HAVE_CXX_MARCH_I686 - Success > -- Performing Test HAVE_C_MARCH_I686 > -- Performing Test HAVE_C_MARCH_I686 - Success > -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER > -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success > -- Performing Test HAVE_C_FOMIT_FRAME_POINTER > -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success > -- Performing Test HAVE_CXX_MSSE > -- Performing Test HAVE_CXX_MSSE - Success > -- Performing Test HAVE_C_MSSE > -- Performing Test HAVE_C_MSSE - Success > -- Performing Test HAVE_CXX_MSSE2 > -- Performing Test HAVE_CXX_MSSE2 - Success > -- Performing Test HAVE_C_MSSE2 > -- Performing Test HAVE_C_MSSE2 - Success > -- Performing Test HAVE_CXX_MSSE3 > -- Performing Test HAVE_CXX_MSSE3 - Success > -- Performing Test HAVE_C_MSSE3 > -- Performing Test HAVE_C_MSSE3 - Success > -- Performing Test HAVE_CXX_MFPMATH_SSE > -- Performing Test HAVE_CXX_MFPMATH_SSE - Success > -- Performing Test HAVE_C_MFPMATH_SSE > -- Performing Test HAVE_C_MFPMATH_SSE - Success > -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS > -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success > -- Performing Test HAVE_C_FFUNCTION_SECTIONS > -- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success > -- Looking for pthread.h > -- Looking for pthread.h - found > -- Check if the system is big endian > -- Searching 16 bit integer > -- Looking for sys/types.h > -- Looking for sys/types.h - found > -- Looking for stdint.h > -- Looking for stdint.h - found > -- Looking for stddef.h > -- Looking for stddef.h - found > -- Check size of unsigned short > -- Check size of unsigned short - done > -- Using unsigned short > -- Check if the system is big endian - little endian > -- Found ZLIB: /usr/lib/libz.so.5.0 (found version "1.2.3") > -- Found TIFF: /usr/local/lib/libtiff.so.39.2 (found version "4.0.3") > -- Found JPEG: /usr/local/lib/libjpeg.so.67.0 > -- Found Jasper: /usr/local/lib/libjasper.so.2.1 (found version "1.900.1") > -- Found PNG: /usr/local/lib/libpng.so.17.2 (found version "1.6.12") > -- Looking for /usr/local/include/libpng/png.h > -- Looking for /usr/local/include/libpng/png.h - not found > -- Found OpenEXR: /usr/local/lib/libIlmImf.so.4.0 > -- checking for module 'gtk+-2.0' > -- found gtk+-2.0, version 2.24.24 > -- checking for module 'gthread-2.0' > -- found gthread-2.0, version 2.40.0 > -- checking for module 'gstreamer-base-0.10' > -- found gstreamer-base-0.10, version 0.10.36 > -- checking for module 'gstreamer-app-0.10' > -- found gstreamer-app-0.10, version 0.10.36 > -- checking for module 'gstreamer-video-0.10' > -- found gstreamer-video-0.10, version 0.10.36 > -- checking for module 'libavcodec' > -- found libavcodec, version 56.0.100 > -- checking for module 'libavformat' > -- found libavformat, version 56.0.100 > -- checking for module 'libavutil' > -- found libavutil, version 54.1.100 > -- checking for module 'libswscale' > -- found libswscale, version 3.0.100 > -- Looking for libavformat/avformat.h > -- Looking for libavformat/avformat.h - not found > -- Looking for ffmpeg/avformat.h > -- Looking for ffmpeg/avformat.h - not found > -- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version > "2.7.8", minimum required is "2.0") > -- Found PythonLibs: /usr/local/lib/libpython2.7.so.0.0 (found suitable exact > version "2.7.8") > -- Found Sphinx 1.1.3: /usr/local/bin/sphinx-build > -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY > JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) > -- Performing Test HAVE_CXX_WNO_UNDEF > -- Performing Test HAVE_CXX_WNO_UNDEF - Success > -- Performing Test HAVE_CXX_WNO_SHADOW > -- Performing Test HAVE_CXX_WNO_SHADOW - Success > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_core". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > modules/core/CMakeLists.txt:58 (ocv_add_accuracy_tests) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_flann". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/flann/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_imgproc". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/imgproc/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS > -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_highgui". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > modules/highgui/CMakeLists.txt:321 (ocv_add_accuracy_tests) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target > "opencv_test_features2d". Use the target name directly with > add_custom_command, or use the generator expression $<TARGET_FILE>, as > appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/features2d/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_calib3d". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/calib3d/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_ml". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/ml/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_video". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/video/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_legacy". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/legacy/CMakeLists.txt:1 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target > "opencv_test_objdetect". Use the target name directly with > add_custom_command, or use the generator expression $<TARGET_FILE>, as > appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/objdetect/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_photo". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/photo/CMakeLists.txt:2 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_gpu". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > modules/gpu/CMakeLists.txt:102 (ocv_add_accuracy_tests) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_ocl". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/ocl/CMakeLists.txt:7 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_nonfree". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/nonfree/CMakeLists.txt:11 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_test_contrib". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/contrib/CMakeLists.txt:1 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target > "opencv_test_stitching". Use the target name directly with > add_custom_command, or use the generator expression $<TARGET_FILE>, as > appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/stitching/CMakeLists.txt:6 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVModule.cmake:789 (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target > "opencv_test_superres". Use the target name directly with > add_custom_command, or use the generator expression $<TARGET_FILE>, as > appropriate. > > Call Stack (most recent call first): > cmake/OpenCVModule.cmake:649 (ocv_add_accuracy_tests) > modules/superres/CMakeLists.txt:11 (ocv_define_module) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_calib3d". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_contrib". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_core". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_features2d". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_flann". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_gpu". Use the > target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_highgui". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_imgproc". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_legacy". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_ml". Use the > target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_nonfree". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_objdetect". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_ocl". Use the > target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_photo". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_stitching". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_superres". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_ts". Use the > target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_video". Use > the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at cmake/OpenCVGenPkgconfig.cmake:40 > (get_target_property): > Policy CMP0026 is not set: Disallow use of the LOCATION target property. > Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > The LOCATION property should not be read from target "opencv_videostab". > Use the target name directly with add_custom_command, or use the generator > expression $<TARGET_FILE>, as appropriate. > > Call Stack (most recent call first): > CMakeLists.txt:584 (include) > This warning is for project developers. Use -Wno-dev to suppress it. > > -- > -- General configuration for OpenCV 2.4.9 > ===================================== > -- Version control: unknown > -- > -- Platform: > -- Host: OpenBSD 5.6 i386 > -- CMake: 3.0.2 > -- CMake generator: Ninja > -- CMake build tool: /usr/local/bin/ninja > -- Configuration: Release > -- > -- C/C++: > -- Built as dynamic libs?: YES > -- C++ Compiler: /usr/bin/c++ (ver 4.2.1) > -- C++ flags (Release): -O2 -pipe -fsigned-char -W -Wall > -Werror=return-type -Werror=address -Werror=sequence-point -Wformat > -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow > -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 > -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections > -DNDEBUG -DNDEBUG > -- C++ flags (Debug): -O2 -pipe -fsigned-char -W -Wall > -Werror=return-type -Werror=address -Werror=sequence-point -Wformat > -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow > -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 > -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -g > -O0 -DDEBUG -D_DEBUG > -- C Compiler: /usr/bin/cc > -- C flags (Release): -O2 -pipe -fsigned-char -W -Wall > -Werror=return-type -Werror=address -Werror=sequence-point -Wformat > -Werror=format-security -Wmissing-declarations -Wmissing-prototypes > -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow > -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse > -msse2 -msse3 -mfpmath=sse -ffunction-sections -DNDEBUG -DNDEBUG > -- C flags (Debug): -O2 -pipe -fsigned-char -W -Wall > -Werror=return-type -Werror=address -Werror=sequence-point -Wformat > -Werror=format-security -Wmissing-declarations -Wmissing-prototypes > -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow > -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse > -msse2 -msse3 -mfpmath=sse -ffunction-sections -g -O0 -DDEBUG -D_DEBUG > -- Linker flags (Release): > -- Linker flags (Debug): > -- Precompiled headers: NO > -- > -- OpenCV modules: > -- To be built: core flann imgproc highgui features2d > calib3d ml video legacy objdetect photo gpu ocl nonfree contrib python > stitching superres ts videostab > -- Disabled: world > -- Disabled by dependency: - > -- Unavailable: androidcamera dynamicuda java viz > -- > -- GUI: > -- QT: NO > -- GTK+ 2.x: YES (ver 2.24.24) > -- GThread : YES (ver 2.40.0) > -- GtkGlExt: NO > -- OpenGL support: NO > -- VTK support: NO > -- > -- Media I/O: > -- ZLib: /usr/lib/libz.so.5.0 (ver 1.2.3) > -- JPEG: /usr/local/lib/libjpeg.so.67.0 (ver 90) > -- PNG: /usr/local/lib/libpng.so.17.2 (ver 1.6.12) > -- TIFF: /usr/local/lib/libtiff.so.39.2 (ver 42 - > 4.0.3) > -- JPEG 2000: /usr/local/lib/libjasper.so.2.1 (ver > 1.900.1) > -- OpenEXR: /usr/local/lib/libImath.so.4.0 > /usr/local/lib/libIlmImf.so.4.0 /usr/local/lib/libIex.so.4.0 > /usr/local/lib/libHalf.so.4.0 /usr/local/lib/libIlmThread.so.4.0 (ver 1.6.1) > -- > -- Video I/O: > -- DC1394 1.x: NO > -- DC1394 2.x: NO > -- FFMPEG: YES > -- codec: YES (ver 56.0.100) > -- format: YES (ver 56.0.100) > -- util: YES (ver 54.1.100) > -- swscale: YES (ver 3.0.100) > -- gentoo-style: YES > -- GStreamer: > -- base: YES (ver 0.10.36) > -- app: YES (ver 0.10.36) > -- video: YES (ver 0.10.36) > -- OpenNI: NO > -- OpenNI PrimeSensor Modules: NO > -- PvAPI: NO > -- GigEVisionSDK: NO > -- UniCap: NO > -- UniCap ucil: NO > -- V4L/V4L2: NO/NO > -- XIMEA: NO > -- Xine: NO > -- > -- Other third-party libraries: > -- Use IPP: NO > -- Use Eigen: NO > -- Use TBB: NO > -- Use OpenMP: NO > -- Use GCD NO > -- Use Concurrency NO > -- Use C=: NO > -- Use Cuda: NO > -- Use OpenCL: YES > -- > -- OpenCL: > -- Version: dynamic > -- Include path: > /usr/obj/ports/opencv-2.4.9/opencv-2.4.9/3rdparty/include/opencl/1.2 > -- Use AMD FFT: NO > -- Use AMD BLAS: NO > -- > -- Python: > -- Interpreter: /usr/local/bin/python2.7 (ver 2.7.8) > -- Libraries: /usr/local/lib/libpython2.7.so.0.0 (ver > 2.7.8) > -- numpy: > /usr/local/lib/python2.7/site-packages/numpy/core/include (ver 1.6.0) > -- packages path: lib/python2.7/site-packages > -- > -- Java: > -- ant: NO > -- JNI: NO > -- Java tests: NO > -- > -- Documentation: > -- Build Documentation: YES (only HTML and without math > expressions) > -- Sphinx: /usr/local/bin/sphinx-build (ver 1.1.3) > -- PdfLaTeX compiler: NO > -- > -- Tests and samples: > -- Tests: YES > -- Performance tests: YES > -- C/C++ Examples: YES > -- > -- Install path: /usr/local > -- > -- cvconfig.h is in: /usr/obj/ports/opencv-2.4.9/build-i386 > -- ----------------------------------------------------------------- > -- > -- Configuring done > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at apps/haartraining/CMakeLists.txt:34 (add_library): > Policy CMP0038 is not set: Targets may not link directly to themselves. > Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > > Target "opencv_haartraining_engine" links to itself. > This warning is for project developers. Use -Wno-dev to suppress it. > > Segmentation fault (core dumped) > *** Error 139 in graphics/opencv > (/usr/ports/infrastructure/mk/bsd.port.mk:2744 > '/usr/obj/ports/opencv-2.4.9/build-i386/.configure_done') > *** Error 1 in graphics/opencv (/usr/ports/infrastructure/mk/bsd.port.mk:2492 > 'configure') > ===> Exiting graphics/opencv with an error > /bin/sh: exit 1: not found > *** Error 127 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147 > 'configure') > Error: job failed 256
CMake could be blamed for crash... But actual problem lies in OpenCV itself. Hope to be fixed in a minute. -- WBR, Vadim Zhukov