=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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
=> Checksum SHA512 OK for OpenSceneGraph-3.0.1.zip
===> Installing dependencies for osg-3.0.1nb54
==========================================================================
The following variables will affect the build process of this package,
osg-3.0.1nb54.  Their current value is shown below:

        * 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.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.54.2
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.10.0
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency dri2proto>=2.1: found dri2proto-2.8
=> Build dependency dri3proto>=1.0: found dri3proto-1.0
=> Build dependency xproto>=7.0.9: found xproto-7.0.31
=> Build dependency presentproto>=1.0: found presentproto-1.1
=> Build dependency glproto>=1.4.11: found glproto-1.4.17
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency fixesproto>=4.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0
=> Build dependency inputproto>=1.4: found inputproto-2.3.2
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.7
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.12
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency randrproto>=1.4: found randrproto-1.5.0
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
=> Full dependency MesaLib>=10.5.3: found MesaLib-11.2.2nb6
=> Full dependency libX11>=1.1: found libX11-1.6.5
=> Full dependency glu>=7.11.2: found glu-9.0.0nb2
=> Full dependency png>=1.6.0nb1: found png-1.6.34
=> Full dependency tiff>=4.0.3nb5: found tiff-4.0.9nb1
=> Full dependency xine-lib>=1.2.6nb9: found xine-lib-1.2.6nb9
=> Full dependency freetype2>=2.4.11: found freetype2-2.8.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.1
=> Full dependency giflib>=5.1.0: found giflib-5.1.4
=> Full dependency gdal-lib>=2.0.3nb4: found gdal-lib-2.0.3nb7
=> Full dependency curl>=7.55.1nb1: found curl-7.57.0
=> Full dependency jasper>=1.900.1nb7: found jasper-2.0.14
=> Full dependency cairo>=1.14.2nb1: found cairo-1.14.10nb1
=> Full dependency librsvg>=2.40.15nb4: found librsvg-2.40.19
=> Full dependency openexr>=2.2.0nb3: found openexr-2.2.0nb3
=> Full dependency libVNCServer>=0.9.11: found libVNCServer-0.9.11
===> Overriding tools for osg-3.0.1nb54
===> Extracting for osg-3.0.1nb54
unzip: OpenSceneGraph-3.0.1/src/osgDB/Registry.cpp may be corrupted due to weak text file detection heuristic
===> Patching for osg-3.0.1nb54
=> Applying pkgsrc patches for osg-3.0.1nb54
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.3 2012/03/07 16:27:35 adam Exp $
|
|--- src/osgDB/FileUtils.cpp.orig	2009-01-12 17:28:37.000000000 +0200
|+++ src/osgDB/FileUtils.cpp	2009-01-12 17:30:14.000000000 +0200
--------------------------
Patching file src/osgDB/FileUtils.cpp using Plan A...
Hunk #1 succeeded at 76.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2012/03/07 16:27:35 adam Exp $
|
|--- include/osg/Math.orig	2008-11-23 13:35:43.000000000 +0200
|+++ include/osg/Math	2009-01-14 09:49:00.000000000 +0200
--------------------------
Patching file include/osg/Math using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 207.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.2 2012/03/07 16:27:35 adam Exp $
|
|--- src/OpenThreads/pthreads/PThread.cpp.orig	2011-06-23 20:09:26.000000000 +0000
|+++ src/OpenThreads/pthreads/PThread.cpp
--------------------------
Patching file src/OpenThreads/pthreads/PThread.cpp using Plan A...
Hunk #1 succeeded at 135.
Hunk #2 succeeded at 574.
Hunk #3 succeeded at 1051.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.2 2012/03/07 16:27:35 adam Exp $
|
|PkgSrc does not use lib64.
|
|--- CMakeLists.txt.orig	2011-07-31 07:50:34.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 586.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-af
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2012/03/26 12:00:33 drochner Exp $
|
|--- src/osgPlugins/xine/video_out_rgb.c.orig	2009-11-20 11:46:20.000000000 +0000
|+++ src/osgPlugins/xine/video_out_rgb.c
--------------------------
Patching file src/osgPlugins/xine/video_out_rgb.c using Plan A...
Hunk #1 succeeded at 2769.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-applications_present3D_Cluster.cpp
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-applications_present3D_Cluster.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-applications_present3D_Cluster.cpp,v 1.2 2012/05/20 19:28:19 marino Exp $
|
|Support more platforms.
|
|--- applications/present3D/Cluster.cpp.orig	2012-03-05 16:33:33.000000000 +0000
|+++ applications/present3D/Cluster.cpp
--------------------------
Patching file applications/present3D/Cluster.cpp using Plan A...
Hunk #1 succeeded at 33.
Hunk #2 succeeded at 339.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-include_OpenThreads_Atomic
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-include_OpenThreads_Atomic
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_OpenThreads_Atomic,v 1.1 2012/03/07 16:27:35 adam Exp $
|
|Fix C error.
|
|--- include/OpenThreads/Atomic.orig	2012-03-06 16:27:45.000000000 +0000
|+++ include/OpenThreads/Atomic
--------------------------
Patching file include/OpenThreads/Atomic using Plan A...
Hunk #1 succeeded at 241.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-src_OpenThreads_common_Atomic.cpp
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-src_OpenThreads_common_Atomic.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OpenThreads_common_Atomic.cpp,v 1.1 2012/03/07 16:27:35 adam Exp $
|
|Fix C error.
|
|--- src/OpenThreads/common/Atomic.cpp.orig	2012-03-05 21:26:31.000000000 +0000
|+++ src/OpenThreads/common/Atomic.cpp
--------------------------
Patching file src/OpenThreads/common/Atomic.cpp using Plan A...
Hunk #1 succeeded at 143.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-src_osgPlugins_gif_ReaderWriterGIF.cpp
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-src_osgPlugins_gif_ReaderWriterGIF.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_osgPlugins_gif_ReaderWriterGIF.cpp,v 1.2 2014/05/23 13:45:07 obache Exp $
|
|* GIFLIB 5.x API change 
|
|--- src/osgPlugins/gif/ReaderWriterGIF.cpp.orig	2011-05-05 12:39:35.000000000 +0000
|+++ src/osgPlugins/gif/ReaderWriterGIF.cpp
--------------------------
Patching file src/osgPlugins/gif/ReaderWriterGIF.cpp using Plan A...
Hunk #1 succeeded at 370.
Hunk #2 succeeded at 561.
done
=> Verifying /data/pkgsrc/graphics/osg/patches/patch-src_osgViewer_DarwinUtils.mm
=> Applying pkgsrc patch /data/pkgsrc/graphics/osg/patches/patch-src_osgViewer_DarwinUtils.mm
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_osgViewer_DarwinUtils.mm,v 1.1 2012/03/07 16:27:35 adam Exp $
|
|Work around depreciated API.
|
|--- src/osgViewer/DarwinUtils.mm.orig	2012-03-06 14:49:28.000000000 +0000
|+++ src/osgViewer/DarwinUtils.mm
--------------------------
Patching file src/osgViewer/DarwinUtils.mm using Plan A...
Hunk #1 succeeded at 313.
Hunk #2 succeeded at 406.
Hunk #3 succeeded at 436.
done
===> Creating toolchain wrappers for osg-3.0.1nb54
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/graphics/osg/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/graphics/osg/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for osg-3.0.1nb54
=> Generating pkg-config file for builtin expat package.
=> 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 5.0.5
-- The CXX compiler identification is Clang 5.0.5
CMake Warning (dev) at /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake includes
  /data/scratch/graphics/osg/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.10/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-3.10/Modules/CMakeSystemSpecificInformation.cmake:26 (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-3.10/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake includes
  /data/scratch/graphics/osg/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.10/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-3.10/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:30 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/graphics/osg/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/graphics/osg/work/.cwrapper/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake includes
  /data/scratch/graphics/osg/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.10/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-3.10/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:30 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /data/scratch/graphics/osg/work/.cwrapper/bin/clang++
-- Check for working CXX compiler: /data/scratch/graphics/osg/work/.cwrapper/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for 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  
-- Found OpenGL: /data/scratch/graphics/osg/work/.buildlink/lib/libGL.so   
-- Looking for XOpenDisplay in /data/scratch/graphics/osg/work/.buildlink/lib/libX11.so;/data/scratch/graphics/osg/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /data/scratch/graphics/osg/work/.buildlink/lib/libX11.so;/data/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: /data/scratch/graphics/osg/work/.buildlink/lib/libX11.so
-- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.9.7") 
-- Found CURL: /data/scratch/graphics/osg/work/.buildlink/lib/libcurl.so (found version "7.57.0") 
CMake Warning at CMakeLists.txt:465 (FIND_PACKAGE):
  By not providing "FindITK.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ITK", but
  CMake did not find one.

  Could not find a package configuration file provided by "ITK" with any of
  the following names:

    ITKConfig.cmake
    itk-config.cmake

  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.


-- Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 
-- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) 
-- Found PkgConfig: /data/scratch/graphics/osg/work/.tools/bin/pkg-config (found version "1.3.5") 
-- Checking for module 'cairo'
--   Found cairo, version 1.14.10
-- Checking for module 'poppler-glib'
--   Package 'poppler-glib', required by 'virtual:world', not found
-- Checking for module 'librsvg-2.0'
--   Found librsvg-2.0, version 2.40.19
-- Checking for module 'gtk+-2.0'
--   Package 'gtk+-2.0', required by 'virtual:world', not found
-- Checking for module 'gtkglext-x11-1.0'
--   Package 'gtkglext-x11-1.0', required by 'virtual:world', not found
-- Found unsuitable Qt version "" from NOTFOUND
-- Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) 
-- Found JPEG: /data/scratch/graphics/osg/work/.buildlink/lib/libjpeg.so  
CMake Warning (dev) at /usr/pkg/share/cmake-3.10/Modules/FindPNG.cmake:51 (find_package):
  File /usr/pkg/share/cmake-3.10/Modules/FindPNG.cmake includes
  /data/scratch/graphics/osg/work/OpenSceneGraph-3.0.1/CMakeModules/FindZLIB.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.10/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: /data/scratch/graphics/osg/work/.buildlink/lib/libpng16.so (found version "1.6.34") 
-- Found TIFF: /data/scratch/graphics/osg/work/.buildlink/lib/libtiff.so (found version "4.0.9") 
-- 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.5.1
-- 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
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /data/scratch/graphics/osg/work/OpenSceneGraph-3.0.1
=> Rewrite cmake Dependencies files