+ 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/gpac-1.0.1nb19/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gpac-1.0.1nb19/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gpac-1.0.1.tar.gz
=> Checksum SHA512 OK for gpac-1.0.1.tar.gz
===> Installing dependencies for gpac-1.0.1nb19
==========================================================================
The supported build options for gpac are:

	alsa jack pulseaudio x11

The currently selected options are:

	x11

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.gpac (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
gpac-1.0.1nb19.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency libX11>=1.1: found libX11-1.8.7
=> Full dependency libXv>=1.0.1: found libXv-1.0.12
=> Full dependency faad2>=2.11.0: found faad2-2.11.1
=> Full dependency liba52>=0.7.4nb3: found liba52-0.7.4nb3
=> Full dependency libmad>=0.15.1bnb1: found libmad-0.15.1bnb2
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency openjpeg>=2.1.0: found openjpeg-2.5.0nb2
=> Full dependency ffmpeg4>=4.4.4nb7: found ffmpeg4-4.4.4nb9
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency xvidcore>=1.1.0nb1: found xvidcore-1.3.7nb1
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency xmlrpc-c-ss>=1.51.04nb12: found xmlrpc-c-ss-1.51.04nb12
=> Full dependency jpeg>=9: found jpeg-9e
===> Overriding tools for gpac-1.0.1nb19
===> Extracting for gpac-1.0.1nb19
===> Patching for gpac-1.0.1nb19
=> Applying pkgsrc patches for gpac-1.0.1nb19
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.5 2021/09/17 00:10:21 nia Exp $
|
|- Install desktop files on Darwin too.
|- Remove non-standard cp(1) option.
|
|--- Makefile.orig	2020-09-10 16:38:49.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 156.
Hunk #2 succeeded at 169.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.3 2017/07/22 13:07:04 adam Exp $
|
|On Darwin, use system libtool.
|
|--- configure.orig	2017-07-22 06:56:04.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2735 (offset -192 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-include_gpac_Remotery.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-include_gpac_Remotery.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_gpac_Remotery.h,v 1.1 2021/09/17 00:10:21 nia Exp $
|
|Add support for NetBSD.
|
|--- include/gpac/Remotery.h.orig	2020-09-10 16:38:49.000000000 +0000
|+++ include/gpac/Remotery.h
--------------------------
Patching file include/gpac/Remotery.h using Plan A...
Hunk #1 succeeded at 120.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_filter__core_filter__props.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_filter__core_filter__props.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_filter__core_filter__props.c,v 1.1 2023/12/15 13:05:53 schmonz Exp $
|
|Work around clang 15 optimizing to memrchr (which macOS doesn't have).
|Adapted from upstream commit ce22027.
|
|--- src/filter_core/filter_props.c.orig	2023-12-15 12:55:29.610511221 +0000
|+++ src/filter_core/filter_props.c
--------------------------
Patching file src/filter_core/filter_props.c using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_quickjs_cutils.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_quickjs_cutils.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_quickjs_cutils.h,v 1.1 2021/09/17 00:10:21 nia Exp $
|
|Avoid colliding with NetBSD libc functions.
|
|--- src/quickjs/cutils.h.orig	2020-09-10 16:38:49.000000000 +0000
|+++ src/quickjs/cutils.h
--------------------------
Patching file src/quickjs/cutils.h using Plan A...
Hunk #1 succeeded at 266.
Hunk #2 succeeded at 291.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_quickjs_quickjs.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_quickjs_quickjs.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_quickjs_quickjs.c,v 1.1 2021/09/17 00:10:21 nia Exp $
|
|Add support for NetBSD.
|
|--- src/quickjs/quickjs.c.orig	2020-09-10 16:38:49.000000000 +0000
|+++ src/quickjs/quickjs.c
--------------------------
Patching file src/quickjs/quickjs.c using Plan A...
Hunk #1 succeeded at 36.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_utils_Remotery.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_utils_Remotery.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils_Remotery.c,v 1.1 2021/09/17 00:10:21 nia Exp $
|
|Add support for NetBSD.
|
|--- src/utils/Remotery.c.orig	2020-09-10 16:38:49.000000000 +0000
|+++ src/utils/Remotery.c
--------------------------
Patching file src/utils/Remotery.c using Plan A...
Hunk #1 succeeded at 114.
Hunk #2 succeeded at 5269.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_utils_os__config__init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/gpac/patches/patch-src_utils_os__config__init.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils_os__config__init.c,v 1.2 2023/12/15 13:05:53 schmonz Exp $
|
|Support NetBSD.
|
|--- src/utils/os_config_init.c.orig	2020-09-10 16:38:49.000000000 +0000
|+++ src/utils/os_config_init.c
--------------------------
Patching file src/utils/os_config_init.c using Plan A...
Hunk #1 succeeded at 71.
Hunk #2 succeeded at 299.
Hunk #3 succeeded at 347.
done
===> Creating toolchain wrappers for gpac-1.0.1nb19
===> Configuring for gpac-1.0.1nb19
=> 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
=> Checking for portability problems in extracted files
./check_revision.sh: syntax error at line 3: `'' unmatched

** System Configuration
Install prefix: /opt/pkg
Source path: /home/pbulk/build/multimedia/gpac/work/gpac-1.0.1
C   compiler: gcc
C++ compiler: g++
make: gmake
CPU: x86
Big Endian: no

** GPAC 1.0.1 rev Core Configuration **
debug version: no
GProf enabled: no
Static build enabled: no
Memory tracking enabled: no
Sanitizer enabled: no
Fixed-Point Version: no
IPV6 Support: yes
Static Modules: no
QuickJS Support: yes

** Detected libraries **
zlib: system
OSS Audio: yes
ALSA Audio: no
Jack Audio: no
PulseAudio Audio: no
DirectFB support: no
X11 Shared Memory support: yes (path: /opt/pkg)
X11 XVideo support: yes
SDL Support: no
OpenGL support: yes
TinyGL support: no
OpenSSL support: yes

** Extra Libraries used **
FreeType: system
JPEG: system
OpenJPEG: system
PNG: system
MAD: system
FAAD: system
XVID: system
FFMPEG: system
LZMA: yes
Xiph OGG: system
Platinum UPnP: no
AVCap: no
Xiph Vorbis: system
Xiph Theora: system
A52 (AC3): system
OpenSVCDecoder: no
OpenHEVCDecoder: no
Freenect: no

Creating config.mak
Check config.log for detection failures
Done - type 'make help' for make info, 'make' to build