+ 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.1nb24/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gpac-1.0.1nb24/work.log
=> 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.1nb24
==========================================================================
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.1nb24.  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 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.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency faad2>=2.11.0: found faad2-2.11.1
=> Full dependency ffmpeg4>=4.4.4nb7: found ffmpeg4-4.4.5nb4
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXv>=1.0.1: found libXv-1.0.13
=> Full dependency liba52>=0.7.4nb3: found liba52-0.7.4nb3
=> Full dependency libmad>=0.15.1bnb1: found libmad-0.15.1bnb3
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency openjpeg>=2.1.0: found openjpeg-2.5.3
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency xmlrpc-c-ss>=1.51.04nb17: found xmlrpc-c-ss-1.51.04nb17
=> Full dependency xvidcore>=1.1.0nb1: found xvidcore-1.3.7nb1
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency curl>=7.12.3: found curl-8.11.1nb1
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libaom>=1.0.0: found libaom-3.10.0nb1
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libvdpau>=0.3: found libvdpau-1.4nb1
=> Full dependency libvpx>=1.14.0: found libvpx-1.14.1
=> Full dependency libwww>=5.3.2nb2: found libwww-5.4.2nb7
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency x264>=20220601: found x264-20231001
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for gpac-1.0.1nb24
===> Extracting for gpac-1.0.1nb24
===> Patching for gpac-1.0.1nb24
=> Applying pkgsrc patches for gpac-1.0.1nb24
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gpac/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-include_gpac_Remotery.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-src_filter__core_filter__props.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-src_quickjs_cutils.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-src_quickjs_quickjs.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-src_utils_Remotery.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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-trunk/multimedia/gpac/patches/patch-src_utils_os__config__init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.1nb24
===> Configuring for gpac-1.0.1nb24
=> 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