WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for pg_top-4.0.0.tar.xz
=> Checksum SHA512 OK for pg_top-4.0.0.tar.xz
===> Installing dependencies for pg_top-4.0.0
==========================================================================
The following variables will affect the build process of this package,
pg_top-4.0.0.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * KRB5_DEFAULT = mit-krb5
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private

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

        * CURSES_TYPE = ncurses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency xz>=4.999.9betanb1: found xz-5.6.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency postgresql14-client>=14.9nb1: found postgresql14-client-14.15
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency mit-krb5>=1.4: found mit-krb5-1.21.3nb1
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for pg_top-4.0.0
===> Extracting for pg_top-4.0.0
===> Patching for pg_top-4.0.0
=> Applying pkgsrc patches for pg_top-4.0.0
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pg_top/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pg_top/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.1 2023/08/11 09:14:17 nia Exp $
|
|Honour the platform's preferred man page directory.
|
|--- CMakeLists.txt.orig	2020-10-08 19:05:41.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 165.
Hunk #2 succeeded at 289.
done
===> Creating toolchain wrappers for pg_top-4.0.0
===> Configuring for pg_top-4.0.0
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/databases/pg_top/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- machine - darwin
-- arch - arm64
-- pg_config --includedir - /opt/pkg/include
-- pg_config --libdir - /opt/pkg/lib
-- Looking for 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include files sys/time.h, time.h
-- Looking for include files sys/time.h, time.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for setpriority
-- Looking for setpriority - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sighold
-- Looking for sighold - found
-- Looking for sigprocmask
-- Looking for sigprocmask - found
-- Looking for sigrelse
-- Looking for sigrelse - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strerror
-- Looking for strerror - found
-- Performing Test SIGNAL_RETURN
-- Performing Test SIGNAL_RETURN - Failed
-- Performing Test TIME_T_DEFINED
-- Performing Test TIME_T_DEFINED - Success
-- Configuring done (4.7s)
CMake Error at CMakeLists.txt:199 (add_executable):
  Cannot find source file:

    machine/m_darwin.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
  .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
  .f95 .f03 .hip .ispc


CMake Error at CMakeLists.txt:199 (add_executable):
  No SOURCES given to target: pg_top


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pg_top
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pg_top