=> 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 luminance-hdr-2.4.0.tar.bz2
=> Checksum RMD160 OK for luminance-hdr-2.4.0.tar.bz2
=> Checksum SHA512 OK for luminance-hdr-2.4.0.tar.bz2
===> Installing dependencies for luminance-hdr-2.4.0nb22
==========================================================================
The following variables will affect the build process of this package,
luminance-hdr-2.4.0nb22.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * JPEG_DEFAULT = jpeg
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * CURSES_TYPE = curses
        * 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.1
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.11.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.67.*: found boost-headers-1.67.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.13
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency boost-libs-1.67.*: found boost-libs-1.67.0nb1
=> Full dependency boost-libs>=1.67.0: found boost-libs-1.67.0nb1
=> Full dependency cfitsio>=3.100: found cfitsio-3.390nb1
=> Full dependency exiv2>=0.24: found exiv2-0.26
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17
=> Full dependency libraw>=0.16.0: found libraw-0.18.8
=> Full dependency openexr>=2.2.0nb3: found openexr-2.2.1
=> Full dependency tiff>=4.0.3nb5: found tiff-4.0.9nb2
=> Full dependency fftwf>=3.0.1nb1: found fftwf-3.3.6pl1
=> Full dependency gsl>=1.5nb1: found gsl-2.4
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23nb1
=> Full dependency qt5-qttools>=5.10.1nb3: found qt5-qttools-5.11.0
=> Full dependency qt5-qtwebkit>=5.212.0.alpha2nb4: found qt5-qtwebkit-5.212.0.alpha2nb4
===> Overriding tools for luminance-hdr-2.4.0nb22
===> Extracting for luminance-hdr-2.4.0nb22
===> Patching for luminance-hdr-2.4.0nb22
=> Applying pkgsrc patches for luminance-hdr-2.4.0nb22
=> Verifying /data/pkgsrc/graphics/luminance-hdr/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/graphics/luminance-hdr/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.2 2017/12/19 09:47:55 markd Exp $
|
|Fix build error with Qt >= 5.3.2
|tests require gtest, so make optional
|
|--- CMakeLists.txt.orig	2015-09-10 04:26:44.095679440 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 166.
done
=> Verifying /data/pkgsrc/graphics/luminance-hdr/patches/patch-src_HelpBrowser_CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/graphics/luminance-hdr/patches/patch-src_HelpBrowser_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_HelpBrowser_CMakeLists.txt,v 1.1 2016/02/07 22:10:47 markd Exp $
|
|Fix build error with Qt >= 5.3.2
|
|--- src/HelpBrowser/CMakeLists.txt.orig	2014-01-27 20:20:46.000000000 +0000
|+++ src/HelpBrowser/CMakeLists.txt
--------------------------
Patching file src/HelpBrowser/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/pkgsrc/graphics/luminance-hdr/patches/patch-src_MainCli_commandline.cpp
=> Applying pkgsrc patch /data/pkgsrc/graphics/luminance-hdr/patches/patch-src_MainCli_commandline.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_MainCli_commandline.cpp,v 1.1 2016/04/03 12:47:45 joerg Exp $
|
|--- src/MainCli/commandline.cpp.orig	2016-04-02 18:17:21.047535103 +0000
|+++ src/MainCli/commandline.cpp
--------------------------
Patching file src/MainCli/commandline.cpp using Plan A...
Hunk #1 succeeded at 47.
done
===> Creating toolchain wrappers for luminance-hdr-2.4.0nb22
===> Configuring for luminance-hdr-2.4.0nb22
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Fixing CMAKE_MODULE_PATH 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.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/graphics/luminance-hdr/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/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.11/Modules/CMakeSystemSpecificInformation.cmake:26 (include)
  CMakeLists.txt:1 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/graphics/luminance-hdr/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/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.11/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:1 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/graphics/luminance-hdr/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/graphics/luminance-hdr/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.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/graphics/luminance-hdr/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/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.11/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:1 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /data/scratch/graphics/luminance-hdr/work/.cwrapper/bin/clang++
-- Check for working CXX compiler: /data/scratch/graphics/luminance-hdr/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
-- C++11 activated for Clang
CMake Warning at CMakeLists.txt:25 (find_package):
  By not providing "FindQt5Declarative.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5Declarative", but CMake did not find one.

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

    Qt5DeclarativeConfig.cmake
    qt5declarative-config.cmake

  Add the installation prefix of "Qt5Declarative" to CMAKE_PREFIX_PATH or set
  "Qt5Declarative_DIR" to a directory containing one of the above files.  If
  "Qt5Declarative" provides a separate development package or SDK, be sure it
  has been installed.


-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Found LIBRAW: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libraw_r.so  
-- Found LibRAW (LIBRAW_INCLUDE_DIR = /data/scratch/graphics/luminance-hdr/work/.buildlink/include)
-- Found LibRAW (LIBRAW_LIBRARIES = /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libraw_r.so)
-- Demosaicing pack GPL2 not found
-- Demosaicing pack GPL3 not found
-- Found FFTW3F (FFTWF_INCLUDE_DIR = /data/scratch/graphics/luminance-hdr/work/.buildlink/include)
-- Found FFTW3F (FFTWF_LIBRARIES = /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libfftw3f.so;/data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libfftw3f_threads.so)
-- Found GNU Scientific Library (GSL_LIBRARY = /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libgsl.so)
-- Found GNU Scientific Library: (GSL_CBLAS_LIBRARY = /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libgslcblas.so)
-- Found GNU Scientific Library: (GSL_INCLUDE_DIR = /data/scratch/graphics/luminance-hdr/work/.buildlink/include)
-- Found JPEGLIB: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libjpeg.so  
-- Found jpeglib (JPEGLIB_LIBRARIES = /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libjpeg.so)
-- Found jpeglib (JPEGLIB_INCLUDE_DIR = /data/scratch/graphics/luminance-hdr/work/.buildlink/include)
-- Found LCMS2: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/liblcms2.so  
-- Found LCMS2 (LCMS2_LIBRARIES = /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/liblcms2.so)
-- Found LCMS2 (LCMS2_INCLUDE_DIR = /data/scratch/graphics/luminance-hdr/work/.buildlink/include)
-- Boost version: 1.67.0
-- Found PkgConfig: /data/scratch/graphics/luminance-hdr/work/.tools/bin/pkg-config (found version "1.4.1") 
-- Checking for module 'exiv2'
--   Found exiv2, version 0.26
-- Found Exiv2: /usr/pkg/lib/libexiv2.so (Required is at least version "0.21") 
-- Found TIFF: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libtiff.so (found version "4.0.9") 
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- Found PNG: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libpng16.so (found version "1.6.34") 
-- Found OpenEXR: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libHalf.so;/data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libIex.so;/data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libIlmImf.so;/data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libIlmThread.so;/data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libImath.so  
-- OpenEXR found
-- found version string 3.39
-- Found CFITSIO 3.39: /data/scratch/graphics/luminance-hdr/work/.buildlink/lib/libcfitsio.so
-- Could NOT find CCFITS (missing: CCFITS_LIBRARY CCFITS_INCLUDE_DIR) 
CMake Warning at CMakeLists.txt:132 (message):
  CCfits not found! Building without FITS support!


CMake Error at src/Libpfs/CMakeLists.txt:15 (qt5_use_modules):
  Unknown CMake command "qt5_use_modules".


-- Configuring incomplete, errors occurred!
See also "/data/scratch/graphics/luminance-hdr/work/luminance-hdr-2.4.0/CMakeFiles/CMakeOutput.log".
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/graphics/luminance-hdr
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/graphics/luminance-hdr