+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/mpv-0.34.1nb10/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/mpv-0.34.1nb10/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mpv-0.34.1nb10 cd /home/pbulk/build/multimedia/mpv/work/mpv-0.34.1 && /usr/bin/env CC=gcc CFLAGS=\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/lua-5.2\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/ffmpeg5 CXX=g++ CXXFLAGS=\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/lua-5.2\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/ffmpeg5 DESTDIR=/home/pbulk/build/multimedia/mpv/work/.destdir LINKFLAGS=\ \ \ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib/ffmpeg5\ -Wl,-R/opt/pkg/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/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin PREFIX=/opt/pkg JOBS=1 ./waf --mandir=/opt/pkg/share/man --libdir=/opt/pkg/lib Waf: Entering directory `/home/pbulk/build/multimedia/mpv/work/mpv-0.34.1/build' [1/1] Compiling version.sh [ 2/432] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/432] Compiling etc/mpv-icon-8bit-16x16.png [ 4/432] Compiling etc/mpv-icon-8bit-32x32.png [ 5/432] Compiling etc/mpv-icon-8bit-64x64.png [ 6/432] Compiling etc/mpv-icon-8bit-128x128.png [ 7/432] Compiling etc/input.conf [ 8/432] Compiling etc/builtin.conf [ 9/432] Compiling sub/osd_font.otf [ 10/432] Compiling player/lua/defaults.lua [ 11/432] Compiling player/lua/assdraw.lua [ 12/432] Compiling player/lua/options.lua [ 13/432] Compiling player/lua/osc.lua [ 14/432] Compiling player/lua/ytdl_hook.lua [ 15/432] Compiling player/lua/stats.lua [ 16/432] Compiling player/lua/console.lua [ 17/432] Compiling player/lua/auto_profiles.lua [ 18/432] Compiling player/javascript/defaults.js [ 19/432] Creating build/generated/ebml_types.h [ 20/432] Creating build/generated/ebml_defs.c [ 21/432] Compiling libmpv/mpv.def [ 23/432] 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.34.1/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-upstream-trunk/multimedia/mpv *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/mpv