=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libyang/v1.0.240.tar.gz => Checksum SHA512 OK for libyang/v1.0.240.tar.gz ===> Installing dependencies for libyang-1.0.240 => Tool dependency cmocka>=1.1.5: found cmocka-1.1.5 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=2.8.1nb1: found cmake-3.26.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.4nb1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency pcre>=8.30nb1: found pcre-8.45 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for libyang-1.0.240 ===> Extracting for libyang-1.0.240 ===> Patching for libyang-1.0.240 => Applying pkgsrc patches for libyang-1.0.240 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libyang/patches/patch-compat_compat.h.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libyang/patches/patch-compat_compat.h.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compat_compat.h.in,v 1.1 2020/12/10 16:25:19 kardel Exp $ | | NetBSD already defines bswap64. | |--- compat/compat.h.in.orig 2020-10-10 06:19:45.124141482 +0000 |+++ compat/compat.h.in -------------------------- Patching file compat/compat.h.in using Plan A... Hunk #1 succeeded at 44. Hunk #2 succeeded at 63. done ===> Creating toolchain wrappers for libyang-1.0.240 ===> Configuring for libyang-1.0.240 /bin/mkdir -p /tmp/devel/libyang/work/libyang-1.0.240/_build => Adding run-time search paths to pkg-config files. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files -- The C compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/devel/libyang/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Warning at CMakeLists.txt:173 (find_package): By not providing "FindFLEX.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "FLEX", but CMake did not find one. Could not find a package configuration file provided by "FLEX" with any of the following names: FLEXConfig.cmake flex-config.cmake Add the installation prefix of "FLEX" to CMAKE_PREFIX_PATH or set "FLEX_DIR" to a directory containing one of the above files. If "FLEX" provides a separate development package or SDK, be sure it has been installed. CMake Warning at CMakeLists.txt:174 (find_package): By not providing "FindBISON.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "BISON", but CMake did not find one. Could not find a package configuration file provided by "BISON" with any of the following names: BISONConfig.cmake bison-config.cmake Add the installation prefix of "BISON" to CMAKE_PREFIX_PATH or set "BISON_DIR" to a directory containing one of the above files. If "BISON" provides a separate development package or SDK, be sure it has been installed. CMake Warning at CMakeLists.txt:178 (message): Missing Bison. You won't be able to generate source codes from changed flex/bison files. Compiling libyang should still works fine. -- Looking for vdprintf CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/pkg/share/cmake-3.26 CMake Error: Could not find cmake module file: CMakeSystemSpecificInitialize.cmake CMake Error: Could not find cmake module file: CMakeSystemSpecificInformation.cmake CMake Error: Could not find cmake module file: CMakeCInformation.cmake CMake Error at /tmp/devel/libyang/work/libyang-1.0.240/_build/CMakeFiles/CMakeScratch/TryCompile-EZJFcS/CMakeLists.txt:16 (include): include could not find requested file: /Modules/Internal/HeaderpadWorkaround.cmake CMake Error at /usr/pkg/share/cmake-3.26/Modules/CheckSymbolExists.cmake:145 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): /usr/pkg/share/cmake-3.26/Modules/CheckSymbolExists.cmake:71 (__CHECK_SYMBOL_EXISTS_IMPL) CMakeModules/UseCompat.cmake:11 (check_symbol_exists) CMakeLists.txt:201 (use_compat) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libyang *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libyang