=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for flann-1.9.1.tar.gz => Checksum SHA512 OK for flann-1.9.1.tar.gz ===> Installing dependencies for flann-lib-1.9.1 => Tool dependency cmake>=2.8.1nb1: found cmake-3.22.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency hdf5-c++>=1.8.14: found hdf5-c++-1.10.7 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for flann-lib-1.9.1 ===> Extracting for flann-lib-1.9.1 ===> Patching for flann-lib-1.9.1 => Applying pkgsrc patches for flann-lib-1.9.1 => Verifying /usr/pkgsrc/math/flann-lib/patches/patch-src_cpp_CMAkeLists.txt => Applying pkgsrc patch /usr/pkgsrc/math/flann-lib/patches/patch-src_cpp_CMAkeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_cpp_CMAkeLists.txt,v 1.1 2021/04/27 15:16:46 thor Exp $ | |See https://github.com/mariusmuja/flann/issues/443 . | |--- src/cpp/CMakeLists.txt.orig 2016-08-05 01:20:50.000000000 +0200 |+++ src/cpp/CMakeLists.txt 2020-04-15 21:19:33.106219724 +0200 -------------------------- Patching file src/cpp/CMakeLists.txt using Plan A... Hunk #1 succeeded at 29. Hunk #2 succeeded at 83. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/cpp/empty.cpp 1970-01-01 01:00:00.000000000 +0100 |+++ src/cpp/empty.cpp 2020-04-15 21:46:36.507084559 +0200 -------------------------- (Creating file src/cpp/empty.cpp...) Patching file src/cpp/empty.cpp using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done ===> Creating toolchain wrappers for flann-lib-1.9.1 ===> Configuring for flann-lib-1.9.1 => 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 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 CMake Warning (dev) at /usr/pkg/share/cmake-3.22/Modules/Platform/NetBSD.cmake:15 (include): File /usr/pkg/share/cmake-3.22/Modules/Platform/NetBSD.cmake includes /tmp/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.22/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.22/Modules/CMakeSystemSpecificInformation.cmake:27 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/share/cmake-3.22/Modules/Platform/NetBSD.cmake:15 (include): File /usr/pkg/share/cmake-3.22/Modules/Platform/NetBSD.cmake includes /tmp/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.22/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.22/Modules/CMakeCInformation.cmake:66 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/pkg/share/cmake-3.22/Modules/Platform/NetBSD.cmake:15 (include): File /usr/pkg/share/cmake-3.22/Modules/Platform/NetBSD.cmake includes /tmp/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.22/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.22/Modules/CMakeCXXInformation.cmake:65 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /tmp/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/pkg/bin/python3.10 (found version "3.10.1") -- Found HDF5: /usr/pkg/lib/libhdf5.so;/usr/pkg/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libm.so (found version "1.10.7") -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) CMake Warning at CMakeLists.txt:117 (message): gtest library not found, some tests will not be run -- Could NOT find OpenMP_C (missing: OpenMP_gomp_LIBRARY OpenMP_pthread_LIBRARY) (found version "4.5") -- Could NOT find OpenMP_CXX (missing: OpenMP_gomp_LIBRARY OpenMP_pthread_LIBRARY) (found version "4.5") -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) CMake Warning at CMakeLists.txt:128 (message): OpenMP NOT found -- Install prefix: /usr/pkg -- Build type: RelWithDebInfo -- Building C bindings: ON -- Building examples: ON -- Building tests: ON -- Building documentation: OFF -- Building python bindings: OFF -- Building matlab bindings: OFF -- Building CUDA library: OFF -- Using OpenMP support: ON -- Using MPI support: OFF -- 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: /tmp/work/flann-1.9.1 => Rewrite cmake Dependencies files