+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/handbrake-1.6.1nb8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/handbrake-1.6.1nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for handbrake/HandBrake-1.6.1-source.tar.bz2
=> Checksum SHA512 OK for handbrake/HandBrake-1.6.1-source.tar.bz2
=> Checksum BLAKE2s OK for handbrake/libjpeg-turbo-2.1.4.tar.gz
=> Checksum SHA512 OK for handbrake/libjpeg-turbo-2.1.4.tar.gz
===> Installing dependencies for handbrake-1.6.1nb8
==========================================================================
The supported build options for handbrake are:

	gtk3

The currently selected options are:

	gtk3

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

	PKG_OPTIONS.handbrake (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
handbrake-1.6.1nb8.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 311

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

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

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 cmake-[0-9]*: found cmake-3.28.3
=> Tool dependency nasm>=2.05.01: found nasm-2.16.01
=> Tool dependency meson-[0-9]*: found meson-1.3.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> Tool dependency perl>=5.0: found perl-5.38.2
=> 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
=> Build dependency python311>=3.11.0: found python311-3.11.8
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency gtk3+>=3.24.38nb6: found gtk3+-3.24.41
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.13
=> Full dependency harfbuzz>=8.2.2nb1: found harfbuzz-8.3.0
=> Full dependency lame>=3.96.1nb4: found lame-3.100nb5
=> Full dependency libopus>=1.4: found libopus-1.4
=> Full dependency libsamplerate>=0.2.2nb4: found libsamplerate-0.2.2nb4
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency speex>=1.2rc1: found speex-1.2.1
=> Full dependency zimg>=3.0.4: found zimg-3.0.4
=> Full dependency dav1d>=1.3.0: found dav1d-1.4.0
=> Full dependency ffmpeg5>=5.1.4nb1: found ffmpeg5-5.1.4nb4
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency x264>=20220601: found x264-20231001
=> Full dependency libvpx>=1.14.0: found libvpx-1.14.0
=> Full dependency gstreamer1>=1.22.4nb1: found gstreamer1-1.22.10
=> Full dependency libass>=0.17.1nb1: found libass-0.17.1nb1
=> Full dependency libbluray>=1.3.4nb4: found libbluray-1.3.4nb4
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.4
=> Full dependency libdvdnav>=6.1.0nb1: found libdvdnav-6.1.1
=> Full dependency libdvdread>=6.1.1nb1: found libdvdread-6.1.2
=> Full dependency svt-av1>=1.4.1: found svt-av1-1.8.0
=> Full dependency x265>=1.1: found x265-3.5
=> Full dependency jansson>=2.4nb1: found jansson-2.14
===> Overriding tools for handbrake-1.6.1nb8
===> Extracting for handbrake-1.6.1nb8
===> Patching for handbrake-1.6.1nb8
=> Applying pkgsrc patches for handbrake-1.6.1nb8
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake/patches/patch-make-include-main.defs
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake/patches/patch-make-include-main.defs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-make-include-main.defs,v 1.5 2023/04/09 11:15:50 plunky Exp $
|
|Use comon pkgsrc libraries, except for libjpeg-turbo which is required but
|cannot coexist with libjpeg (required by gtk3)
|
|--- make/include/main.defs.orig	2023-01-22 16:36:49.000000000 +0000
|+++ make/include/main.defs
--------------------------
Patching file make/include/main.defs using Plan A...
Hunk #1 succeeded at 13.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake/patches/patch-test_module.defs
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake/patches/patch-test_module.defs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-test_module.defs,v 1.2 2023/04/09 11:15:50 plunky Exp $
|
|Link against x265.
|
|--- test/module.defs.orig	2023-01-22 16:36:49.000000000 +0000
|+++ test/module.defs
--------------------------
Patching file test/module.defs using Plan A...
Hunk #1 succeeded at 16.
done
===> Creating toolchain wrappers for handbrake-1.6.1nb8
===> Configuring for handbrake-1.6.1nb8
=> Checking for portability problems in extracted files
probe: build tuple...(pass) x86_64-pc-solaris2.11
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/cp
find: gm4...(pass) /opt/pkg/bin/gm4
find: mkdir...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/mkdir
find: gpatch...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/patch
find: rm...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/rm
find: ranlib...(pass) /opt/tools/bin/ranlib
find: strip...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/strip
find: gtar...(pass) /usr/bin/gtar
find: python3...(pass) /home/pbulk/build/multimedia/handbrake/work/.buildlink/bin/python3
find: gcc...(pass) /home/pbulk/build/multimedia/handbrake/work/.cwrapper/bin/gcc
find: gmake...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/gmake
find: autoconf...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/autoconf
find: automake...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/automake
find: libtool...(pass) /home/pbulk/build/multimedia/handbrake/work/.cwrapper/bin/libtool
find: lipo...(fail) not found
find: pkg-config...(pass) /home/pbulk/build/multimedia/handbrake/work/.tools/bin/pkg-config
find: meson...(pass) /opt/pkg/bin/meson
find: nasm...(pass) /opt/pkg/bin/nasm
find: ninja-build...(pass) /opt/pkg/bin/ninja
find: xcodebuild...(fail) not found
probe: checking for -Oz...(pass) end
compute: available architectures...(pass) x86_64
probe: number of CPU cores...(pass) 32
probe: repo info...(fail) code 1
probe: version.txt...(pass)
compute: project data...(pass) HandBrake (release)
version probe: autoconf 2.69.0...(pass) 2.72
version probe: automake 1.13.0...(pass) 1.16.5
version probe: pkg-config 0.27.0...(pass) 2.1.1
version probe: meson 0.47.0...(pass) 1.3.2
version probe: nasm 2.13.0...(pass) 2.16.01
compute: host tuple...(pass) x86_64-pc-solaris2.11
find: cmake...(pass) /opt/pkg/bin/cmake
version probe: cmake 3.16.3...(pass) 3.28.3
probe: strerror_r...(pass) 
probe: checking for -Wno-format-truncation...(pass) end
compute: makevar SRC/    = ..
compute: makevar BUILD/  = .
compute: makevar PREFIX/ = /opt/pkg
mkdir: ./build
chdir: ./build
write: GNUmakefile
mkdir: project
write: project/handbrake.m4
write: distfile.cfg
-------------------------------------------------------------------------------
Build system:       x86_64-pc-solaris2.11
Host system:        x86_64-pc-solaris2.11
Target platform:    solaris
Harden:             True
Sandbox:            False (not supported on target platform)
Enable FDK-AAC:     False
Enable FFmpeg AAC:  True  (required on target platform)
Enable MediaFound.: False (not supported on target platform)
Enable NVENC:       False (not supported on target platform)
Enable NVDEC:       False (not supported on target platform)
Enable QSV:         False (not supported on target platform)
Enable VCE:         False (not supported on target platform)
-------------------------------------------------------------------------------
Build is configured!
You may now cd into ./build and run make (/home/pbulk/build/multimedia/handbrake/work/.tools/bin/gmake).
=> Overriding intltool.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp