=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for hatari-2.3.1.tar.bz2
=> Checksum RMD160 OK for hatari-2.3.1.tar.bz2
=> Checksum SHA512 OK for hatari-2.3.1.tar.bz2
===> Installing dependencies for hatari-2.3.1
==========================================================================
The following variables will affect the build process of this package,
hatari-2.3.1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 38
        * READLINE_DEFAULT = editline

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

        * PYPACKAGE = python38
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.19.7
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.32: found x11-links-1.32
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency portaudio>=190600.20161030nb6: found portaudio-190600.20161030nb7
=> Full dependency SDL2>=2.0.12nb5: found SDL2-2.0.14nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.37
=> Full dependency python38>=3.8.0: found python38-3.8.8
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for hatari-2.3.1
===> Extracting for hatari-2.3.1
===> Patching for hatari-2.3.1
=> Applying pkgsrc patches for hatari-2.3.1
=> Verifying /tree/pkgsrc/emulators/hatari/patches/patch-src_cpu_fpp__native.c
=> Applying pkgsrc patch /tree/pkgsrc/emulators/hatari/patches/patch-src_cpu_fpp__native.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_cpu_fpp__native.c,v 1.1 2020/07/10 19:33:30 adam Exp $
|
|Build on system without lrintl, remainderl, log1pl, expm1l, log2l.
|
|--- src/cpu/fpp_native.c.orig	2020-07-10 19:16:32.000000000 +0000
|+++ src/cpu/fpp_native.c
--------------------------
Patching file src/cpu/fpp_native.c using Plan A...
Hunk #1 succeeded at 507.
Hunk #2 succeeded at 760 (offset -2 lines).
Hunk #3 succeeded at 797 (offset -2 lines).
Hunk #4 succeeded at 888 (offset -2 lines).
done
=> Verifying /tree/pkgsrc/emulators/hatari/patches/patch-src_paths.c
=> Applying pkgsrc patch /tree/pkgsrc/emulators/hatari/patches/patch-src_paths.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_paths.c,v 1.1 2020/07/10 19:33:30 adam Exp $
|
|Fix building on Darwin.
|
|--- src/paths.c.orig	2020-07-10 17:57:53.000000000 +0000
|+++ src/paths.c
--------------------------
Patching file src/paths.c using Plan A...
Hunk #1 succeeded at 305 (offset 8 lines).
done
===> Creating toolchain wrappers for hatari-2.3.1
===> Configuring for hatari-2.3.1
=> Replacing python interpreter in python-ui/config.py python-ui/debugui.py python-ui/dialogs.py python-ui/gentypes.py python-ui/hatari.py python-ui/hatariui.py python-ui/uihelpers.py tests/tosboot/tos_tester.py tools/atari-convert-dir.py tools/debugger/hatari_profile.py tools/debugger/hatari_spinloop.py tools/hconsole/example.py tools/hconsole/hconsole.py.
INFO: [replace-interpreter] Nothing changed in python-ui/config.py.
INFO: [replace-interpreter] Nothing changed in python-ui/dialogs.py.
INFO: [replace-interpreter] Nothing changed in python-ui/hatari.py.
INFO: [replace-interpreter] Nothing changed in python-ui/uihelpers.py.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 5.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /scratch/work/emulators/hatari/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test ASAN_AVAILABLE
-- Performing Test ASAN_AVAILABLE - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL2: /usr/pkg/lib/libSDL2main.a;/usr/pkg/lib/libSDL2.so;-lpthread  
-- Found Math: /usr/lib/libm.so  
-- Could NOT find Readline (missing: READLINE_LIBRARY) 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") 
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.37") 
-- Found X11: /usr/X11R7/include   
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Could NOT find PortAudio (missing: PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR) 
-- Could NOT find PortMidi (missing: PORTMIDI_LIBRARY PORTMIDI_INCLUDE_DIR) 
-- Could NOT find CapsImage (missing: CAPSIMAGE_LIBRARY CAPSIMAGE_INCLUDE_DIR) 
-- Could NOT find Udev (missing: UDEV_LIBRARY UDEV_INCLUDE_DIR) 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off_t
-- Check size of off_t - done
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file /usr/pkg/include/SDL2/SDL_config.h
-- Looking for include file /usr/pkg/include/SDL2/SDL_config.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file sys/utime.h
-- Looking for include file sys/utime.h - not found
-- Looking for include files sys/socket.h, sys/un.h
-- Looking for include files sys/socket.h, sys/un.h - found
-- Looking for cfmakeraw
-- Looking for cfmakeraw - found
-- Looking for tcsetattr
-- Looking for tcsetattr - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for select
-- Looking for select - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for alphasort
-- Looking for alphasort - found
-- Looking for scandir
-- Looking for scandir - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftello
-- Looking for ftello - found
-- Looking for flock
-- Looking for flock - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Performing Test HAVE_DIRENT_D_TYPE
-- Performing Test HAVE_DIRENT_D_TYPE - Success
-- Found PythonInterp: /usr/pkg/bin/python3.8 (found version "3.8.8") 

Libraries summary :
-------------------

  - sdl :	using SDL2 v2.0.14
  - readline :	not found, install it to enable debugger history/completion
  - zlib :	found, allows to use zip/gz files directly
  - png :	found, allows to compress screenshot/avi files using png
  - portaudio :	not found, install it to enable the Falcon microphone input
  - portmidi :	not found, install it for MIDI support on Windows / OSX
  - capsimage :	v5 not found, install it to use .IPF, .RAW and .CTR disk images
  - udev :	not found, install it to enable media change detection in
          	NatFeats SCSI devices on udev-based systems (Linux)
  - LFS :	Large File Support is available (size of off_t = 8),
         	AVI recording and HD image files can be bigger than 2 GB

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH


-- Build files have been written to: /scratch/work/emulators/hatari/work/hatari-2.3.1
=> Rewrite cmake Dependencies files