=> Bootstrap dependency digest>=20010302: found digest-20180917
=> Checksum SHA1 OK for opencv-2.4.11.zip
=> Checksum RMD160 OK for opencv-2.4.11.zip
=> Checksum SHA512 OK for opencv-2.4.11.zip
===> Installing dependencies for opencv-2.4.11nb12
==========================================================================
The supported build options for opencv are:

	ffmpeg python

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.opencv (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
opencv-2.4.11nb12.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.13.2
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.12: found x11-links-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency jasper>=1.900.1nb7: found jasper-2.0.14
=> Full dependency openexr>=2.2.0nb3: found openexr-2.3.0
=> Full dependency png>=1.6.0nb1: found png-1.6.36
=> Full dependency tiff>=4.0.3nb5: found tiff-4.0.10
=> Full dependency gtk2+>=2.24.32nb7: found gtk2+-2.24.32nb7
===> Overriding tools for opencv-2.4.11nb12
===> Extracting for opencv-2.4.11nb12
===> Patching for opencv-2.4.11nb12
=> Applying pkgsrc patches for opencv-2.4.11nb12
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_contrib_src_chamfermatching.cpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_contrib_src_chamfermatching.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_contrib_src_chamfermatching.cpp,v 1.1 2018/02/16 17:13:58 wiz Exp $
|
|Address of variable is never NULL; some compilers error out about this.
|
|--- modules/contrib/src/chamfermatching.cpp.orig	2015-02-25 12:10:31.000000000 +0000
|+++ modules/contrib/src/chamfermatching.cpp
--------------------------
Patching file modules/contrib/src/chamfermatching.cpp using Plan A...
Hunk #1 succeeded at 966.
Hunk #2 succeeded at 1011.
Hunk #3 succeeded at 1104.
Hunk #4 succeeded at 1122.
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_contrib_src_inputoutput.cpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_contrib_src_inputoutput.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_contrib_src_inputoutput.cpp,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|SunOS does not have dirent d_type.
|
|--- modules/contrib/src/inputoutput.cpp.orig	2015-02-25 12:10:31.000000000 +0000
|+++ modules/contrib/src/inputoutput.cpp
--------------------------
Patching file modules/contrib/src/inputoutput.cpp using Plan A...
Hunk #1 succeeded at 6.
Hunk #2 succeeded at 75.
Hunk #3 succeeded at 103.
Hunk #4 succeeded at 192.
Hunk #5 succeeded at 221.
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_contrib_src_spinimages.cpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_contrib_src_spinimages.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_contrib_src_spinimages.cpp,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|--- modules/contrib/src/spinimages.cpp.orig	2013-05-05 18:32:00.000000000 +0000
|+++ modules/contrib/src/spinimages.cpp
--------------------------
Patching file modules/contrib/src/spinimages.cpp using Plan A...
Hunk #1 succeeded at 46.
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_core_include_opencv2_core_types_c.h
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_core_include_opencv2_core_types_c.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_core_include_opencv2_core_types_c.h,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|Define 'depth' as unsigned int, or IPL_DEPTH_SIGN=0x8000000 won't fit in int.
|
|--- modules/core/include/opencv2/core/types_c.h.orig	2012-12-07 21:15:58.000000000 +0000
|+++ modules/core/include/opencv2/core/types_c.h
--------------------------
Patching file modules/core/include/opencv2/core/types_c.h using Plan A...
Hunk #1 succeeded at 468 (offset -5 lines).
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_core_src_system.cpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_core_src_system.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_core_src_system.cpp,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|--- modules/core/src/system.cpp.orig	2013-04-28 15:15:06.000000000 +0000
|+++ modules/core/src/system.cpp
--------------------------
Patching file modules/core/src/system.cpp using Plan A...
Hunk #1 succeeded at 143 (offset 64 lines).
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_flann_include_opencv2_flann_defines.h
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_flann_include_opencv2_flann_defines.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_flann_include_opencv2_flann_defines.h,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|Avoid CS conflict on SunOS.
|
|--- modules/flann/include/opencv2/flann/defines.h.orig	2012-09-27 22:55:06.000000000 +0000
|+++ modules/flann/include/opencv2/flann/defines.h
--------------------------
Patching file modules/flann/include/opencv2/flann/defines.h using Plan A...
Hunk #1 succeeded at 71.
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_ocl_src_gftt.cpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_ocl_src_gftt.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_ocl_src_gftt.cpp,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|Avoid GS define from sys/regset.h on SunOS.
|
|--- modules/ocl/src/gftt.cpp.orig	2014-04-11 10:15:26.000000000 +0000
|+++ modules/ocl/src/gftt.cpp
--------------------------
Patching file modules/ocl/src/gftt.cpp using Plan A...
Hunk #1 succeeded at 69.
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_python_src2_cv2.cv.hpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_python_src2_cv2.cv.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_python_src2_cv2.cv.hpp,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|Fix build under clang.
|"error: C-style cast from 'nullprt_t' to 'CvNextEdgeType' is not allowed."
|
|--- modules/python/src2/cv2.cv.hpp.orig	2014-04-11 10:15:26.000000000 +0000
|+++ modules/python/src2/cv2.cv.hpp
--------------------------
Patching file modules/python/src2/cv2.cv.hpp using Plan A...
Hunk #1 succeeded at 2155.
done
=> Verifying /usr/pkgsrc/graphics/opencv2/patches/patch-modules_ts_src_ts.cpp
=> Applying pkgsrc patch /usr/pkgsrc/graphics/opencv2/patches/patch-modules_ts_src_ts.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modules_ts_src_ts.cpp,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|Avoid std::foo conflict.
|
|--- modules/ts/src/ts.cpp.orig	2013-04-05 09:00:20.000000000 +0000
|+++ modules/ts/src/ts.cpp
--------------------------
Patching file modules/ts/src/ts.cpp using Plan A...
Hunk #1 succeeded at 561 (offset -1 lines).
Hunk #2 succeeded at 616 (offset -1 lines).
done
===> Creating toolchain wrappers for opencv-2.4.11nb12
===> Configuring for opencv-2.4.11nb12
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config file for builtin expat package.
=> Adding run-time search paths to pkg-config files.
WARNING: [subst.mk:_pkgconfig] Ignoring non-existent file "./opencv.pc.cmake.in".
=> Fixing locale directory references.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:47 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:52 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The CXX compiler identification is GNU 5.5.0
-- The C compiler identification is GNU 5.5.0
-- Check for working CXX compiler: /tmp/pkgbuild/graphics/opencv2/work/.cwrapper/bin/c++
-- Check for working CXX compiler: /tmp/pkgbuild/graphics/opencv2/work/.cwrapper/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /tmp/pkgbuild/graphics/opencv2/work/.cwrapper/bin/gcc
-- Check for working C compiler: /tmp/pkgbuild/graphics/opencv2/work/.cwrapper/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected version of GNU GCC: 55 (505)
-- 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 - Success
-- 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 - Success
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Success
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- 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_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_MCPU_G3_MTUNE_G5
-- Performing Test HAVE_CXX_MCPU_G3_MTUNE_G5 - Success
-- Performing Test HAVE_C_MCPU_G3_MTUNE_G5
-- Performing Test HAVE_C_MCPU_G3_MTUNE_G5 - 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 - big endian
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") 
-- Found TIFF: /usr/pkg/lib/libtiff.so (found version "4.0.10") 
-- Found JPEG: /usr/pkg/lib/libjpeg.so (found version "90") 
-- Found Jasper: /usr/pkg/lib/libjasper.so (found version "2.0.14") 
CMake Warning (dev) at /usr/pkg/share/cmake-3.13/Modules/FindPNG.cmake:51 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable ZLIB_ROOT is set to:

    /usr

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  cmake/OpenCVFindLibsGrfmt.cmake:121 (include)
  CMakeLists.txt:480 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.36") 
-- Looking for /usr/pkg/include/libpng/png.h
-- Looking for /usr/pkg/include/libpng/png.h - not found
-- Found OpenEXR: /usr/pkg/lib/libIlmImf.so
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.32
-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.56.2
-- checking for module 'gstreamer-base-1.0'
--   package 'gstreamer-base-1.0' not found
-- checking for module 'gstreamer-video-1.0'
--   package 'gstreamer-video-1.0' not found
-- checking for module 'gstreamer-app-1.0'
--   package 'gstreamer-app-1.0' not found
-- checking for module 'gstreamer-riff-1.0'
--   package 'gstreamer-riff-1.0' not found
-- checking for module 'gstreamer-pbutils-1.0'
--   package 'gstreamer-pbutils-1.0' not found
-- checking for module 'gstreamer-base-0.10'
--   package 'gstreamer-base-0.10' not found
-- checking for module 'gstreamer-video-0.10'
--   package 'gstreamer-video-0.10' not found
-- checking for module 'gstreamer-app-0.10'
--   package 'gstreamer-app-0.10' not found
-- checking for module 'gstreamer-riff-0.10'
--   package 'gstreamer-riff-0.10' not found
-- checking for module 'gstreamer-pbutils-0.10'
--   package 'gstreamer-pbutils-0.10' not found
-- checking for module 'libdc1394-2'
--   package 'libdc1394-2' not found
-- checking for module 'libdc1394'
--   package 'libdc1394' not found
-- checking for module 'libv4l1'
--   package 'libv4l1' not found
-- checking for module 'libv4l2'
--   package 'libv4l2' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - not found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - found
-- Found PythonInterp: /usr/pkg/bin/python2.7 (found suitable version "2.7.15", minimum required is "2.0") 
-- Found PythonLibs: /usr/pkg/lib/libpython2.7.so (found suitable exact version "2.7.15") 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named numpy.distutils
-- 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
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
-- 
-- General configuration for OpenCV 2.4.11 =====================================
--   Version control:               unknown
-- 
--   Platform:
--     Host:                        NetBSD 8.0 powerpc
--     CMake:                       3.13.2
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /tmp/pkgbuild/graphics/opencv2/work/.tools/bin/gmake
--     Configuration:               Release
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /tmp/pkgbuild/graphics/opencv2/work/.cwrapper/bin/c++  (ver 5.5.0)
--     C++ flags (Release):         -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -D__STDC_LIMIT_MACROS   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -mcpu=G3 -mtune=G5 -ffunction-sections -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -D__STDC_LIMIT_MACROS   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -mcpu=G3 -mtune=G5 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /tmp/pkgbuild/graphics/opencv2/work/.cwrapper/bin/gcc
--     C flags (Release):           -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm   -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 -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -mcpu=G3 -mtune=G5 -ffunction-sections -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm   -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 -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -mcpu=G3 -mtune=G5 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
--     Linker flags (Debug):        -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
--     Precompiled headers:         NO
-- 
--   OpenCV modules:
--     To be built:                 core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts videostab
--     Disabled:                    world
--     Disabled by dependency:      -
--     Unavailable:                 androidcamera dynamicuda java python viz
-- 
--   GUI: 
--     QT:                          NO
--     GTK+ 2.x:                    YES (ver 2.24.32)
--     GThread :                    YES (ver 2.56.2)
--     GtkGlExt:                    NO
--     OpenGL support:              NO
--     VTK support:                 NO
-- 
--   Media I/O: 
--     ZLib:                        /usr/lib/libz.so (ver 1.2.10)
--     JPEG:                        /usr/pkg/lib/libjpeg.so (ver 90)
--     PNG:                         /usr/pkg/lib/libpng16.so (ver 1.6.36)
--     TIFF:                        /usr/pkg/lib/libtiff.so (ver 42 - 4.0.10)
--     JPEG 2000:                   /usr/pkg/lib/libjasper.so (ver 2.0.14)
--     OpenEXR:                     /usr/pkg/lib/libImath.so /usr/pkg/lib/libIlmImf.so /usr/pkg/lib/libIex.so /usr/pkg/lib/libHalf.so /usr/pkg/lib/libIlmThread.so (ver 2.3.0)
-- 
--   Video I/O:
--     DC1394 1.x:                  NO
--     DC1394 2.x:                  NO
--     FFMPEG:                      NO
--       codec:                     NO
--       format:                    NO
--       util:                      NO
--       swscale:                   NO
--       gentoo-style:              NO
--     GStreamer:                   NO
--     OpenNI:                      NO
--     OpenNI PrimeSensor Modules:  NO
--     PvAPI:                       NO
--     GigEVisionSDK:               NO
--     UniCap:                      NO
--     UniCap ucil:                 NO
--     V4L/V4L2:                    NO/YES(videoio)
--     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:                /tmp/pkgbuild/graphics/opencv2/work/opencv-2.4.11/3rdparty/include/opencl/1.2
--     Use AMD FFT:                 NO
--     Use AMD BLAS:                NO
-- 
--   Python:
--     Interpreter:                 /usr/pkg/bin/python2.7 (ver 2.7.15)
-- 
--   Java:
--     ant:                         NO
--     JNI:                         NO
--     Java tests:                  NO
-- 
--   Tests and samples:
--     Tests:                       YES
--     Performance tests:           YES
--     C/C++ Examples:              NO
-- 
--   Install path:                  /usr/pkg
-- 
--   cvconfig.h is in:              /tmp/pkgbuild/graphics/opencv2/work/opencv-2.4.11
-- -----------------------------------------------------------------
-- 
CMake Warning at CMakeLists.txt:1086 (message):
  The source directory is the same as binary directory.  "make clean" may
  damage the source tree


-- Configuring done
CMake Warning (dev) at apps/haartraining/CMakeLists.txt:37 (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:37 (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.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /tmp/pkgbuild/graphics/opencv2/work/opencv-2.4.11
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Rewrite cmake Dependencies files