+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcsxr-1.9.95.20190306nb8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcsxr-1.9.95.20190306nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pcsxr-1.9.95.20190306-62467b86871aee3d70c7445f3cb79f0858ec566e.tar.gz
=> Checksum SHA512 OK for pcsxr-1.9.95.20190306-62467b86871aee3d70c7445f3cb79f0858ec566e.tar.gz
===> Installing dependencies for pcsxr-1.9.95.20190306nb8
==========================================================================
The following variables will affect the build process of this package,
pcsxr-1.9.95.20190306nb8.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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.74.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.26.5nb1
=> Full dependency libXext>=1.1: found libXext-1.3.5
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb2
=> Full dependency gtk3+>=3.24.36nb2: found gtk3+-3.24.37
=> Full dependency libXv>=1.0.1: found libXv-1.0.12
===> Overriding tools for pcsxr-1.9.95.20190306nb8
===> Extracting for pcsxr-1.9.95.20190306nb8
===> Patching for pcsxr-1.9.95.20190306nb8
=> Applying pkgsrc patches for pcsxr-1.9.95.20190306nb8
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/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 2020/09/29 12:23:03 nia Exp $
|
|Do not strip executables, let pkgsrc handle that.
|
|--- CMakeLists.txt.orig	2019-03-06 11:37:17.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-doc_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-doc_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_CMakeLists.txt,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Respect PKGMANDIR
|
|--- doc/CMakeLists.txt.orig	2019-03-06 11:37:17.000000000 +0000
|+++ doc/CMakeLists.txt
--------------------------
Patching file doc/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-libpcsxcore_ix86__64_ix86__cpudetect.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-libpcsxcore_ix86__64_ix86__cpudetect.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libpcsxcore_ix86__64_ix86__cpudetect.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Make this more generic.
|
|--- libpcsxcore/ix86_64/ix86_cpudetect.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ libpcsxcore/ix86_64/ix86_cpudetect.c
--------------------------
Patching file libpcsxcore/ix86_64/ix86_cpudetect.c using Plan A...
Hunk #1 succeeded at 145.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-libpcsxcore_misc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-libpcsxcore_misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libpcsxcore_misc.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Portability.
|
|--- libpcsxcore/misc.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ libpcsxcore/misc.c
--------------------------
Patching file libpcsxcore/misc.c using Plan A...
Hunk #1 succeeded at 124.
Hunk #2 succeeded at 135.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_bladesio1_gui.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_bladesio1_gui.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_bladesio1_gui.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Portability.
|
|--- plugins/bladesio1/gui.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ plugins/bladesio1/gui.c
--------------------------
Patching file plugins/bladesio1/gui.c using Plan A...
Hunk #1 succeeded at 27.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfcdrom_cdr.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfcdrom_cdr.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_dfcdrom_cdr.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Make this more generic.
|
|--- plugins/dfcdrom/cdr.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ plugins/dfcdrom/cdr.c
--------------------------
Patching file plugins/dfcdrom/cdr.c using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfinput_pad.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfinput_pad.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_dfinput_pad.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Make the code more generic.
|
|--- plugins/dfinput/pad.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ plugins/dfinput/pad.c
--------------------------
Patching file plugins/dfinput/pad.c using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfsound_cfg.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfsound_cfg.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_dfsound_cfg.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|waitpid code is compiled unconditionally.
|
|--- plugins/dfsound/cfg.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ plugins/dfsound/cfg.c
--------------------------
Patching file plugins/dfsound/cfg.c using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfxvideo_cfg.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pcsxr/patches/patch-plugins_dfxvideo_cfg.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_dfxvideo_cfg.c,v 1.1 2020/09/29 12:23:03 nia Exp $
|
|Make the code more generic.
|
|--- plugins/dfxvideo/cfg.c.orig	2019-03-06 11:37:17.000000000 +0000
|+++ plugins/dfxvideo/cfg.c
--------------------------
Patching file plugins/dfxvideo/cfg.c using Plan A...
Hunk #1 succeeded at 20.
done
===> Creating toolchain wrappers for pcsxr-1.9.95.20190306nb8
===> Configuring for pcsxr-1.9.95.20190306nb8
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/emulators/pcsxr/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/emulators/pcsxr/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test NO_PIE_UPSTREAM
-- Performing Test NO_PIE_UPSTREAM - Success
-- Performing Test NO_PIE_PATCHED
-- Performing Test NO_PIE_PATCHED - Failed
-- * Configuring Core
-- Building PCSXr on arch i386
-- Targeting arch x86_64
-- Autodetected x86_64 dynarec.
-- * Configuring UI
-- Found PkgConfig: /home/pbulk/build/emulators/pcsxr/work/.tools/bin/pkg-config (found version "1.9.5") 
-- Checking for one of the modules 'glib-2.0'
-- Found GLib: /opt/pkg/lib/libglib-2.0.so (found version "2.74.6") 
-- Checking for one of the modules 'gio-2.0'
-- Checking for one of the modules 'gobject-2.0'
-- Found GObject: /opt/pkg/lib/libgobject-2.0.so (found version "2.74.6") 
-- Found GIO: /opt/pkg/lib/libgio-2.0.so (found version "2.74.6") 
-- Checking for one of the modules 'atk'
-- Found ATK: /opt/pkg/lib/libatk-1.0.so (found version "2.38.0") 
-- Checking for one of the modules 'gdk-3.0'
-- Checking for one of the modules 'pango'
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found GDK3: /opt/pkg/lib/libgdk-3.so (found version "3.24.37") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Checking for one of the modules 'cairo'
-- Found Cairo: /opt/pkg/lib/libcairo.so (found version "1.16.0") 
-- Checking for one of the modules 'gdk-pixbuf-2.0'
-- Found GDKPixbuf: /opt/pkg/lib/libgdk_pixbuf-2.0.so (found version "") 
-- Found GTK3: /opt/pkg/lib/libgtk-3.so (found suitable version "3.24.37", minimum required is "3.14.0") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.13")  
-- Found X11: /opt/pkg/include   
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - 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 - not found
-- * Configuring translations
-- * Configuring BladeSio1
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found GTK3: /opt/pkg/lib/libgtk-3.so (found version "3.24.37") 
-- * Configuring NullSio1
-- * Configuring DFCdrom
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- * Configuring DFInput
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found SDL2: /opt/pkg/lib/libSDL2main.a;/opt/pkg/lib/libSDL2.so  
-- Using SDL2
-- * Configuring DFNet
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- * Configuring DFSound
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Using SDL2
-- * Configuring DFXVideo
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- * Configuring peopsxgl
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found Pango: /opt/pkg/lib/libpango-1.0.so (found version "1.50.12") 
-- Found OpenGL: /opt/pkg/lib/libGL.so   
-- Configuring done (13.8s)
-- Generating done (0.2s)
-- Build files have been written to: /home/pbulk/build/emulators/pcsxr/work/pcsxr-62467b86871aee3d70c7445f3cb79f0858ec566e
=> Rewrite cmake Dependencies files