=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for OpenSceneGraph-3.0.1.zip
=> Checksum RMD160 OK for OpenSceneGraph-3.0.1.zip
===> Installing dependencies for osg-3.0.1nb11
==========================================================================
The following variables will affect the build process of this package,
osg-3.0.1nb11.  Their current value is shown below:

        * GIFLIB_IMPLEMENTATION = giflib
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

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.
==========================================================================
=> Build dependency cmake>=2.8.1nb1: found cmake-2.8.10nb1
=> Build dependency pkg-config>=0.25: found pkg-config-0.27.1
=> Build dependency dri2proto>=2.0: found dri2proto-2.8
=> Build dependency glproto>=1.4.6: found glproto-1.4.16
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency xproto>=7.0.9: found xproto-7.0.23nb2
=> Build dependency fixesproto>=3.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0: found xextproto-7.2.1
=> Build dependency inputproto>=1.4: found inputproto-2.2
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.6
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.8
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency randrproto>=1.2.0: found randrproto-1.4.0
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency MesaLib>=7.0.3: found MesaLib-7.4.4nb6
=> Full dependency libX11>=1.1: found libX11-1.5.0nb1
=> Full dependency glu>=7.0.3: found glu-7.4.4nb2
=> Full dependency png>=1.5.0: found png-1.5.13
=> Full dependency tiff>=4.0.0: found tiff-4.0.3nb1
=> Full dependency xine-lib>=1.2.2nb1: found xine-lib-1.2.2nb4
=> Full dependency ffmpeg>=20120919.0.10.5: found ffmpeg-20121209.1.0.1nb1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.4.0
=> Full dependency giflib>=4.1.6: found giflib-4.1.6nb2
=> Full dependency gdal-lib>=1.9.1nb3: found gdal-lib-1.9.1nb3
=> Full dependency jasper>=1.900.1nb5: found jasper-1.900.1nb6
=> Full dependency curl>=7.28.1nb1: found curl-7.28.1nb1
=> Full dependency cairo>=1.12.2nb2: found cairo-1.12.8
=> Full dependency freetype2>=2.4.7nb2: found freetype2-2.4.10
=> Full dependency librsvg>=2.36.2nb4: found librsvg-2.36.4
=> Full dependency openexr>=1.6.1: found openexr-1.7.0
===> Overriding tools for osg-3.0.1nb11
===> Extracting for osg-3.0.1nb11
unzip: OpenSceneGraph-3.0.1/src/osgDB/Registry.cpp may be corrupted due to weak text file detection heuristic
===> Patching for osg-3.0.1nb11
=> Applying pkgsrc patches for osg-3.0.1nb11
===> Creating toolchain wrappers for osg-3.0.1nb11
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/scratch/graphics/osg/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /scratch/graphics/osg/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for osg-3.0.1nb11
=> Adding run-time search paths to pkg-config files.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
=> Checking for portability problems in extracted files
-- The C compiler identification is Clang 3.2.0
-- The CXX compiler identification is Clang 3.2.0
CMake Warning (dev) at /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake includes
  /scratch/graphics/osg/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:30 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake includes
  /scratch/graphics/osg/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/CMakeCInformation.cmake:68 (include)
  CMakeLists.txt:30 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /scratch/graphics/osg/work/.wrapper/bin/gcc
-- Check for working C compiler: /scratch/graphics/osg/work/.wrapper/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Warning (dev) at /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake includes
  /scratch/graphics/osg/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/CMakeCXXInformation.cmake:67 (include)
  CMakeLists.txt:30 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /scratch/graphics/osg/work/.wrapper/bin/c++
-- Check for working CXX compiler: /scratch/graphics/osg/work/.wrapper/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /scratch/graphics/osg/work/.buildlink/lib/libX11.so;/scratch/graphics/osg/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /scratch/graphics/osg/work/.buildlink/lib/libX11.so;/scratch/graphics/osg/work/.buildlink/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - not found
-- Found X11: /scratch/graphics/osg/work/.buildlink/lib/libX11.so
-- Found OpenGL: /scratch/graphics/osg/work/.buildlink/lib/libGL.so  
-- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.9.0") 
-- Found CURL: /scratch/graphics/osg/work/.buildlink/lib/libcurl.so (found version "7.28.1") 
CMake Warning at /usr/pkg/share/cmake-2.8/Modules/FindITK.cmake:48 (find_package):
  Could not find a package configuration file named "ITKConfig.cmake"
  provided by package "ITK".

  Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
  to a directory containing one of the above files.  If "ITK" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:465 (FIND_PACKAGE)


-- Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR) 
-- Found PkgConfig: /scratch/graphics/osg/work/.tools/bin/pkg-config (found version "0.27.1") 
-- checking for module 'cairo'
--   found cairo, version 1.12.8
-- checking for module 'poppler-glib'
--   package 'poppler-glib' not found
-- checking for module 'librsvg-2.0'
--   found librsvg-2.0, version 2.36.4
-- checking for module 'gtk+-2.0'
--   package 'gtk+-2.0' not found
-- checking for module 'gtkglext-x11-1.0'
--   package 'gtkglext-x11-1.0' not found
-- Could NOT find Qt4 (missing:  QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) 
-- Could NOT find Qt3 (missing:  QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) 
-- Found JPEG: /scratch/graphics/osg/work/.buildlink/lib/libjpeg.so  
CMake Warning (dev) at /usr/pkg/share/cmake-2.8/Modules/FindPNG.cmake:34 (find_package):
  File /usr/pkg/share/cmake-2.8/Modules/FindPNG.cmake includes
  /scratch/graphics/osg/work/OpenSceneGraph-3.0.1/CMakeModules/FindZLIB.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-2.8/Modules/FindZLIB.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):
  CMakeLists.txt:535 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PNG: /scratch/graphics/osg/work/.buildlink/lib/libpng15.so (found version "1.5.13") 
-- Found TIFF: /scratch/graphics/osg/work/.buildlink/lib/libtiff.so (found version "4.0.3") 
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed
-- Looking for pthread_yield
-- Looking for pthread_yield - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for pthread_setconcurrency
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_getconcurrency
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_setaffinity_np
-- Looking for pthread_setaffinity_np - not found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Failed
-- Performing Test HAVE_TWO_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_TWO_PARAM_SCHED_SETAFFINITY - Failed
-- checking for module 'xrandr'
--   found xrandr, version 1.4.0
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - not found
-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /scratch/graphics/osg/work/OpenSceneGraph-3.0.1
=> Rewrite cmake Dependencies files
