WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> 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.7
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> 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
===> 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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/libyang/patches/patch-compat_compat.h.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/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 /Users/pbulk/build/devel/libyang/work/libyang-1.0.240/_build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/devel/libyang/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at CMakeModules/UseCompat.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  CMakeLists.txt:15 (include)


-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "2.3")
-- Looking for vdprintf
-- Looking for vdprintf - found
-- Looking for asprintf
-- Looking for asprintf - not found
-- Looking for vasprintf
-- Looking for vasprintf - not found
-- Looking for get_current_dir_name
-- Looking for get_current_dir_name - not found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for getline
-- Looking for getline - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PCRE: /opt/pkg/lib/libpcre.dylib
-- Found PkgConfig: /Users/pbulk/build/devel/libyang/work/.tools/bin/pkg-config (found version "2.3.0")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Missing tools (devscripts, debhelper package) for building DEB package.
-- Missing tools (rpm package) for building RPM package.
-- Configuring done (7.4s)
-- Generating done (0.2s)
-- Build files have been written to: /Users/pbulk/build/devel/libyang/work/libyang-1.0.240/_build
=> Rewrite cmake Dependencies files