+ 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 video/out/vo_null.c [ 24/432] Compiling options/parse_configfile.c [ 25/432] Compiling demux/demux_disc.c [ 26/432] Compiling video/out/opengl/libmpv_gl.c [ 27/432] Compiling video/out/vo_xv.c [ 28/432] Compiling audio/decode/ad_spdif.c [ 29/432] Compiling audio/fmt-conversion.c [ 30/432] Compiling player/main.c [ 31/432] Compiling input/ipc.c [ 32/432] Compiling video/out/vo_libmpv.c [ 33/432] Compiling audio/decode/ad_lavc.c ../audio/decode/ad_lavc.c: In function 'init': ../audio/decode/ad_lavc.c:109:9: warning: 'request_channel_layout' is deprecated [-Wdeprecated-declarations] 109 | lavc_context->request_channel_layout = | ^~~~~~~~~~~~ In file included from ../audio/decode/ad_lavc.c:24: /home/pbulk/build/multimedia/mpv/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1069:14: note: declared here 1069 | uint64_t request_channel_layout; | ^~~~~~~~~~~~~~~~~~~~~~ [ 34/432] Compiling video/out/gpu/libmpv_gpu.c [ 35/432] Compiling stream/stream_edl.c [ 36/432] Compiling video/out/vo_x11.c [ 37/432] Compiling osdep/subprocess-posix.c ../osdep/subprocess-posix.c: In function 'as_execvpe': ../osdep/subprocess-posix.c:60:17: error: 'PATH_MAX' undeclared (first use in this function) 60 | char fn[PATH_MAX]; | ^~~~~~~~ ../osdep/subprocess-posix.c:60:17: note: each undeclared identifier is reported only once for each function it appears in ../osdep/subprocess-posix.c:60:14: warning: unused variable 'fn' [-Wunused-variable] 60 | char fn[PATH_MAX]; | ^~ ../osdep/subprocess-posix.c: In function 'reset_signals_child': ../osdep/subprocess-posix.c:78:12: error: variable 'sa' has initializer but incomplete type 78 | struct sigaction sa = { 0 }; | ^~~~~~~~~ ../osdep/subprocess-posix.c:78:29: warning: excess elements in struct initializer 78 | struct sigaction sa = { 0 }; | ^ ../osdep/subprocess-posix.c:78:29: note: (near initialization for 'sa') ../osdep/subprocess-posix.c:78:22: error: storage size of 'sa' isn't known 78 | struct sigaction sa = { 0 }; | ^~ ../osdep/subprocess-posix.c:81:5: error: implicit declaration of function 'sigemptyset' [-Werror=implicit-function-declaration] 81 | sigemptyset(&sigmask); | ^~~~~~~~~~~ ../osdep/subprocess-posix.c:84:9: error: implicit declaration of function 'sigaction' [-Werror=implicit-function-declaration] 84 | sigaction(nr, &sa, NULL); | ^~~~~~~~~ ../osdep/subprocess-posix.c:85:5: error: implicit declaration of function 'sigprocmask' [-Werror=implicit-function-declaration] 85 | sigprocmask(SIG_SETMASK, &sigmask, NULL); | ^~~~~~~~~~~ ../osdep/subprocess-posix.c:78:22: warning: unused variable 'sa' [-Wunused-variable] 78 | struct sigaction sa = { 0 }; | ^~ ../osdep/subprocess-posix.c: In function 'spawn_process': ../osdep/subprocess-posix.c:96:5: error: implicit declaration of function 'sigfillset' [-Werror=implicit-function-declaration] 96 | sigfillset(&sigmask); | ^~~~~~~~~~ ../osdep/subprocess-posix.c:97:5: error: implicit declaration of function 'pthread_sigmask'; did you mean 'pthread_spin_lock'? [-Werror=implicit-function-declaration] 97 | pthread_sigmask(SIG_BLOCK, &sigmask, &oldmask); | ^~~~~~~~~~~~~~~ | pthread_spin_lock ../osdep/subprocess-posix.c: In function 'mp_subprocess2': ../osdep/subprocess-posix.c:200:20: error: variable 'sa' has initializer but incomplete type 200 | struct sigaction sa = {.sa_handler = SIG_IGN, .sa_flags = SA_RESTART}; | ^~~~~~~~~ ../osdep/subprocess-posix.c:200:37: error: 'struct sigaction' has no member named 'sa_handler' 200 | struct sigaction sa = {.sa_handler = SIG_IGN, .sa_flags = SA_RESTART}; | ^~~~~~~~~~ ../osdep/subprocess-posix.c:200:50: warning: excess elements in struct initializer 200 | struct sigaction sa = {.sa_handler = SIG_IGN, .sa_flags = SA_RESTART}; | ^~~~~~~ ../osdep/subprocess-posix.c:200:50: note: (near initialization for 'sa') ../osdep/subprocess-posix.c:200:60: error: 'struct sigaction' has no member named 'sa_flags' 200 | struct sigaction sa = {.sa_handler = SIG_IGN, .sa_flags = SA_RESTART}; | ^~~~~~~~ ../osdep/subprocess-posix.c:200:71: error: 'SA_RESTART' undeclared (first use in this function); did you mean 'ERESTART'? 200 | struct sigaction sa = {.sa_handler = SIG_IGN, .sa_flags = SA_RESTART}; | ^~~~~~~~~~ | ERESTART ../osdep/subprocess-posix.c:200:71: warning: excess elements in struct initializer ../osdep/subprocess-posix.c:200:71: note: (near initialization for 'sa') ../osdep/subprocess-posix.c:200:30: error: storage size of 'sa' isn't known 200 | struct sigaction sa = {.sa_handler = SIG_IGN, .sa_flags = SA_RESTART}; | ^~ ../osdep/subprocess-posix.c:200:30: warning: unused variable 'sa' [-Wunused-variable] ../osdep/subprocess-posix.c:283:25: error: implicit declaration of function 'kill' [-Werror=implicit-function-declaration] 283 | kill(pid, SIGKILL); | ^~~~ 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