+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/mpv-0.35.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/mpv-0.35.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mpv-0.35.0nb1
cd /home/pbulk/build/multimedia/mpv/work/mpv-0.35.0 && /usr/bin/env CC=gcc CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/local/include\ -I/opt/local/include/freetype2\ -I/opt/local/include/lua-5.2\ -I/opt/local/include/ncurses\ -I/opt/local/include/SDL2\ -I/opt/local/include/libdrm\ -I/usr/include\ -I/opt/local/include/python3.10\ -I/opt/local/include/harfbuzz\ -I/opt/local/include/glib-2.0\ -I/opt/local/include/gio-unix-2.0\ -I/opt/local/lib/glib-2.0/include\ -I/opt/local/include/ffmpeg5 CXX=g++ CXXFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/local/include\ -I/opt/local/include/freetype2\ -I/opt/local/include/lua-5.2\ -I/opt/local/include/ncurses\ -I/opt/local/include/SDL2\ -I/opt/local/include/libdrm\ -I/usr/include\ -I/opt/local/include/python3.10\ -I/opt/local/include/harfbuzz\ -I/opt/local/include/glib-2.0\ -I/opt/local/include/gio-unix-2.0\ -I/opt/local/lib/glib-2.0/include\ -I/opt/local/include/ffmpeg5 DESTDIR=/home/pbulk/build/multimedia/mpv/work/.destdir LINKFLAGS=\ \ \ -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -L/opt/local/lib\ -Wl,-R/opt/local/lib\ -lintl\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/local/lib/ffmpeg5\ -Wl,-R/opt/local/lib/ffmpeg5 PATH=/home/pbulk/build/multimedia/mpv/work/.cwrapper/bin:/home/pbulk/build/multimedia/mpv/work/.buildlink/bin:/home/pbulk/build/multimedia/mpv/work/.gcc/bin:/home/pbulk/build/multimedia/mpv/work/.tools/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin PREFIX=/opt/local JOBS=1 ./waf --mandir=/opt/local/man --libdir=/opt/local/lib
Waf: Entering directory `/home/pbulk/build/multimedia/mpv/work/mpv-0.35.0/build'
[1/1] Compiling version.sh
[  2/436] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
[  3/436] Compiling etc/mpv-icon-8bit-16x16.png
[  4/436] Compiling etc/mpv-icon-8bit-32x32.png
[  5/436] Compiling etc/mpv-icon-8bit-64x64.png
[  6/436] Compiling etc/mpv-icon-8bit-128x128.png
[  7/436] Compiling etc/input.conf
[  8/436] Compiling etc/builtin.conf
[  9/436] Compiling sub/osd_font.otf
[ 10/436] Compiling player/lua/defaults.lua
[ 11/436] Compiling player/lua/assdraw.lua
[ 12/436] Compiling player/lua/options.lua
[ 13/436] Compiling player/lua/osc.lua
[ 14/436] Compiling player/lua/ytdl_hook.lua
[ 15/436] Compiling player/lua/stats.lua
[ 16/436] Compiling player/lua/console.lua
[ 17/436] Compiling player/lua/auto_profiles.lua
[ 18/436] Compiling player/javascript/defaults.js
[ 19/436] Creating build/generated/ebml_types.h
[ 20/436] Creating build/generated/ebml_defs.inc
[ 21/436] Compiling libmpv/mpv.def
[ 23/436] Compiling audio/filter/af_drop.c
[ 24/436] Compiling player/command.c
[ 25/436] Compiling player/audio.c
[ 26/436] Compiling osdep/semaphore_osx.c
[ 27/436] Compiling video/out/libmpv_sw.c
[ 28/436] Compiling demux/demux_timeline.c
[ 29/436] Compiling input/ipc.c
[ 30/436] Compiling audio/out/ao_null.c
[ 31/436] Compiling stream/stream_lavf.c
[ 32/436] Compiling audio/out/ao_oss.c
[ 33/436] Compiling video/out/opengl/egl_helpers.c
[ 34/436] Compiling filters/f_autoconvert.c
[ 35/436] Compiling osdep/subprocess.c
[ 36/436] Compiling input/ipc-unix.c
../input/ipc-unix.c: In function 'client_thread':
../input/ipc-unix.c:101:12: error: variable 'sa' has initializer but incomplete type
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |            ^~~~~~~~~
../input/ipc-unix.c:101:30: error: 'struct sigaction' has no member named 'sa_handler'
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |                              ^~~~~~~~~~
../input/ipc-unix.c:101:43: warning: excess elements in struct initializer
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |                                           ^~~~~~~
../input/ipc-unix.c:101:43: note: (near initialization for 'sa')
../input/ipc-unix.c:101:53: error: 'struct sigaction' has no member named 'sa_flags'
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |                                                     ^~~~~~~~
../input/ipc-unix.c:101:64: error: 'SA_RESTART' undeclared (first use in this function); did you mean 'ERESTART'?
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |                                                                ^~~~~~~~~~
      |                                                                ERESTART
../input/ipc-unix.c:101:64: note: each undeclared identifier is reported only once for each function it appears in
../input/ipc-unix.c:101:64: warning: excess elements in struct initializer
../input/ipc-unix.c:101:64: note: (near initialization for 'sa')
../input/ipc-unix.c:101:22: error: storage size of 'sa' isn't known
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |                      ^~
../input/ipc-unix.c:102:5: error: implicit declaration of function 'sigfillset' [-Werror=implicit-function-declaration]
  102 |     sigfillset(&sa.sa_mask);
      |     ^~~~~~~~~~
../input/ipc-unix.c:103:5: error: implicit declaration of function 'sigaction' [-Werror=implicit-function-declaration]
  103 |     sigaction(SIGPIPE, &sa, NULL);
      |     ^~~~~~~~~
../input/ipc-unix.c:101:22: warning: unused variable 'sa' [-Wunused-variable]
  101 |     struct sigaction sa = { .sa_handler = SIG_IGN, .sa_flags = SA_RESTART };
      |                      ^~
cc1: some warnings being treated as errors

Waf: Leaving directory `/home/pbulk/build/multimedia/mpv/work/mpv-0.35.0/build'
Build failed
 -> task in 'objects' failed with exit status 1 (run with -v to display more information)
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/multimedia/mpv
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/multimedia/mpv