=> 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 ptex-2.1.28.tar.gz => Checksum RMD160 OK for ptex-2.1.28.tar.gz => Checksum SHA512 OK for ptex-2.1.28.tar.gz ===> Installing dependencies for ptex-2.1.28 => Tool dependency cmake>=2.8.1nb1: found cmake-3.7.2 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency cwrappers>=20150314: found cwrappers-20170112 ===> Overriding tools for ptex-2.1.28 ===> Extracting for ptex-2.1.28 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. ===> Patching for ptex-2.1.28 => Applying pkgsrc patches for ptex-2.1.28 => Verifying /data/pkgsrc/graphics/ptex/patches/patch-src_ptex_PtexPlatform.h => Applying pkgsrc patch /data/pkgsrc/graphics/ptex/patches/patch-src_ptex_PtexPlatform.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_ptex_PtexPlatform.h,v 1.1 2016/10/18 02:47:17 kamil Exp $ | |The alloca(3) function is an extension and place of its definition varies. |The header is required on SunOS and acceptable on other systems, but |unavailable on NetBSD. | |--- src/ptex/PtexPlatform.h.orig 2016-04-04 17:14:05.000000000 +0000 |+++ src/ptex/PtexPlatform.h -------------------------- Patching file src/ptex/PtexPlatform.h using Plan A... Hunk #1 succeeded at 62. done ===> Creating toolchain wrappers for ptex-2.1.28 ===> Configuring for ptex-2.1.28 => 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 4.0.4 -- The CXX compiler identification is Clang 4.0.4 CMake Warning (dev) at /usr/pkg/share/cmake-3.7/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.7/Modules/Platform/NetBSD.cmake includes /data/scratch/graphics/ptex/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.7/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.7/Modules/CMakeSystemSpecificInformation.cmake:26 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/share/cmake-3.7/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.7/Modules/Platform/NetBSD.cmake includes /data/scratch/graphics/ptex/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.7/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.7/Modules/CMakeCInformation.cmake:66 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working C compiler: /data/scratch/graphics/ptex/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/graphics/ptex/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.7/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.7/Modules/Platform/NetBSD.cmake includes /data/scratch/graphics/ptex/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.7/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.7/Modules/CMakeCXXInformation.cmake:65 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working CXX compiler: /data/scratch/graphics/ptex/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/graphics/ptex/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 -- Found ZLIB: /lib/libz.so (found version "1.2.10") -- 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 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /data/scratch/graphics/ptex/work/ptex-2.1.28 => Rewrite cmake Dependencies files