=> Bootstrap dependency digest>=20010302: found digest-20111104 => Checksum SHA1 OK for OpenCV-2.4.2.tar.bz2 => Checksum RMD160 OK for OpenCV-2.4.2.tar.bz2 ===> Installing dependencies for opencv-2.4.2nb4 ========================================================================== The supported build options for opencv are: 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.2nb4. 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/pkg/bin/bmake clean' after the changes. ========================================================================== => Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8 => Build dependency cmake>=2.8.1nb1: found cmake-2.8.9 => Build dependency pkg-config>=0.25: found pkg-config-0.27.1 => Build dependency checkperms>=1.1: found checkperms-1.11 => Full dependency jasper>=1.900.1nb5: found jasper-1.900.1nb6 => Full dependency openexr>=1.6.1: found openexr-1.7.0 => Full dependency png>=1.5.0: found png-1.5.13 => Full dependency tiff>=4.0.0: found tiff-4.0.3 ===> Overriding tools for opencv-2.4.2nb4 ===> Extracting for opencv-2.4.2nb4 ===> Patching for opencv-2.4.2nb4 ===> Creating toolchain wrappers for opencv-2.4.2nb4 ===> Configuring for opencv-2.4.2nb4 => Fixing locale directory references. INFO: [subst.mk:pkglocaledir] Nothing changed in ./android/service/doc/Makefile. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt. => Checking for portability problems in extracted files -- The CXX compiler identification is GNU 4.2.1 -- The C compiler identification is GNU 4.2.1 CMake Warning (dev) at /usr/pkg/share/cmake-2.8/Modules/Platform/Darwin.cmake:264 (INCLUDE): File /usr/pkg/share/cmake-2.8/Modules/Platform/Darwin.cmake includes /Users/kristerw/pbulk/scratch/graphics/opencv/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-2.8/Modules/Platform/UnixPaths.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/pkg/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE) CMakeLists.txt:61 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /Users/kristerw/pbulk/scratch/graphics/opencv/work/.wrapper/bin/g++ -- Check for working CXX compiler: /Users/kristerw/pbulk/scratch/graphics/opencv/work/.wrapper/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /Users/kristerw/pbulk/scratch/graphics/opencv/work/.wrapper/bin/gcc -- Check for working C compiler: /Users/kristerw/pbulk/scratch/graphics/opencv/work/.wrapper/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed CMake Error at CMakeLists.txt:69 (message): CMake fails to deterimine the bitness of target platform. Please check your CMake and compiler installation. If you are crosscompiling then ensure that your CMake toolchain file correctly sets the compiler details. -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake: stopped in /Users/kristerw/pbulk/pkgsrc/graphics/opencv *** Error code 1 Stop. bmake: stopped in /Users/kristerw/pbulk/pkgsrc/graphics/opencv