=> Checksum BLAKE2s OK for xnp2-0.86.tar.bz2
=> Checksum SHA512 OK for xnp2-0.86.tar.bz2
=> Checksum BLAKE2s OK for xnp2-r2805.patch
=> Checksum SHA512 OK for xnp2-r2805.patch
=> Checksum BLAKE2s OK for xnp2-r2846.patch
=> Checksum SHA512 OK for xnp2-r2846.patch
===> Installing dependencies for xnp2-0.86nb28
==========================================================================
The following variables will affect the build process of this package,
xnp2-0.86nb28.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * TERMCAP_TYPE = curses

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 glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> 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 SDL2>=2.30.2nb1: found SDL2-2.30.10
=> Full dependency SDL2_mixer>=2.0.0: found SDL2_mixer-2.0.4nb15
=> Full dependency gtk2+>=2.24.33nb25: found gtk2+-2.24.33nb25
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.27
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency at-spi2-core>=2.3.2: found at-spi2-core-2.54.0nb4
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency cairo>=1.0.0nb2: found cairo-1.18.2
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.16
=> Full dependency gdk-pixbuf2>=2.22.0: found gdk-pixbuf2-2.42.12
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency jack>=1.9.19: found jack-1.9.21nb3
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency jpeg>=8nb1: found jpeg-9f
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb6
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXft>=2.1.10: found libXft-2.3.8nb1
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libopus>=1.1: found libopus-1.5.2
=> Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb4
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb1
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency pango>=1.6.0: found pango-1.54.0
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency pixman>=0.40.0: found pixman-0.44.2
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency shared-mime-info>=0.15: found shared-mime-info-2.4nb4
=> Full dependency tiff>=3.6.1: found tiff-4.7.0
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for xnp2-0.86nb28
===> Extracting for xnp2-0.86nb28
===> Patching for xnp2-0.86nb28
=> Applying distribution patches for xnp2-0.86nb28
=> Applying distribution patch xnp2-r2805.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|protect max/min macro for C++.
|
|fix build failure with gcc 6.1.1.
|
|Index: x11/compiler.h
|===================================================================
|--- x11/compiler.h
|+++ x11/compiler.h
--------------------------
Patching file x11/compiler.h using Plan A...
Hunk #1 succeeded at 117.
Hunk #2 succeeded at 124.
done
=> Applying distribution patch xnp2-r2846.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|x11: Use new SDL2 Audio APIs.
|
|Fix no sound with many audio devices on Ubuntu Desktop 22.04.
|
|Index: x11/soundmng.c
|===================================================================
|--- x11/soundmng.c
|+++ x11/soundmng.c
--------------------------
Patching file x11/soundmng.c using Plan A...
Hunk #1 succeeded at 918.
Hunk #2 succeeded at 936.
Hunk #3 succeeded at 958.
Hunk #4 succeeded at 973.
Hunk #5 succeeded at 984.
Hunk #6 succeeded at 995.
Hunk #7 succeeded at 1006.
Hunk #8 succeeded at 1054.
Hunk #9 succeeded at 1213.
Hunk #10 succeeded at 1238.
done
===> Creating toolchain wrappers for xnp2-0.86nb28
===> Configuring for xnp2-0.86nb28
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-apple-darwin23
checking host system type... x86_64-apple-darwin23
checking for x86_64-apple-darwin23-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... none
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... none
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking whether clang needs -traditional... no
checking for x86_64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether char is unsigned... no
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for mkdir... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for floor... yes
checking for pow... yes
checking for sqrt... yes
checking for pthread_join in LIBS=-lpthread with CFLAGS= -D_REENTRANT... yes
checking if compiler needs -Werror to reject unknown flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking pkg-config is at least version 0.9.0... yes
checking for X11... yes
checking for XEXT... no
configure: error: Package requirements (xext) were not met:

Package 'xext' not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XEXT_CFLAGS
and XEXT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error code 1

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

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/xnp2