+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/mpv-0.35.1nb4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/mpv-0.35.1nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mpv-0.35.1nb4 cd /home/pbulk/build/multimedia/mpv/work/mpv-0.35.1 && /bin/env CC=cc CFLAGS=\ -pipe\ -O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/lua-5.2\ -I/usr/pkg/include/ncurses\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/SDL2\ -I/usr/pkg/include/libdrm\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include/harfbuzz\ -I/usr/pkg/include/ffmpeg6 CXX=c++ CXXFLAGS=\ -pipe\ -O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/lua-5.2\ -I/usr/pkg/include/ncurses\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/SDL2\ -I/usr/pkg/include/libdrm\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include/harfbuzz\ -I/usr/pkg/include/ffmpeg6 DESTDIR=/home/pbulk/build/multimedia/mpv/work/.destdir LINKFLAGS=\ \ -Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib64\ -Wl,-R/usr/lib64\ -L/usr/pkg/lib/pulseaudio\ -Wl,-R/usr/pkg/lib/pulseaudio\ -L/usr/pkg/lib/ffmpeg6\ -Wl,-R/usr/pkg/lib/ffmpeg6 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:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin PREFIX=/usr/pkg JOBS=2 ./waf --mandir=/usr/pkg/man --libdir=/usr/pkg/lib Waf: Entering directory `/home/pbulk/build/multimedia/mpv/work/mpv-0.35.1/build' [1/1] Compiling version.sh [ 2/504] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/504] Compiling etc/mpv-icon-8bit-16x16.png [ 4/504] Compiling etc/mpv-icon-8bit-32x32.png [ 5/504] Compiling etc/mpv-icon-8bit-64x64.png [ 6/504] Compiling etc/mpv-icon-8bit-128x128.png [ 7/504] Compiling etc/input.conf [ 8/504] Compiling etc/builtin.conf [ 9/504] Compiling sub/osd_font.otf [ 10/504] Compiling player/lua/defaults.lua [ 11/504] Compiling player/lua/assdraw.lua [ 12/504] Compiling player/lua/options.lua [ 13/504] Compiling player/lua/osc.lua [ 14/504] Compiling player/lua/ytdl_hook.lua [ 15/504] Compiling player/lua/stats.lua [ 16/504] Compiling player/lua/console.lua [ 17/504] Compiling player/lua/auto_profiles.lua [ 18/504] Compiling player/javascript/defaults.js [ 19/504] Creating build/generated/wayland/xdg-shell.h [ 20/504] Creating build/generated/wayland/idle-inhibit-unstable-v1.h [ 21/504] Creating build/generated/wayland/presentation-time.h [ 22/504] Creating build/generated/wayland/xdg-decoration-unstable-v1.h [ 23/504] Creating build/generated/wayland/linux-dmabuf-unstable-v1.h [ 24/504] Creating build/generated/wayland/viewporter.h [ 25/504] Creating build/generated/ebml_types.h [ 26/504] Creating build/generated/ebml_defs.inc [ 27/504] Creating build/generated/wayland/xdg-shell.c [ 28/504] Creating build/generated/wayland/idle-inhibit-unstable-v1.c [ 29/504] Creating build/generated/wayland/presentation-time.c [ 30/504] Creating build/generated/wayland/xdg-decoration-unstable-v1.c [ 31/504] Creating build/generated/wayland/linux-dmabuf-unstable-v1.c [ 32/504] Creating build/generated/wayland/viewporter.c [ 33/504] Compiling libmpv/mpv.def [ 34/504] Compiling libmpv/mpv.def [ 35/504] Compiling video/image_loader.c [ 36/504] Compiling libmpv/mpv.pc.in [ 37/504] Compiling video/vaapi.c [ 38/504] Compiling video/img_format.c [ 39/504] Compiling video/out/x11_common.c [ 40/504] Compiling video/out/gpu/error_diffusion.c [ 41/504] Compiling video/mp_image.c In file included from /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/Xpresent.h:27, from ../video/out/x11_common.c:39: /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/presenttokens.h:77:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 77 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/presenttokens.h:85:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 85 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/presenttokens.h:89:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 89 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../video/out/x11_common.c:39: /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/Xpresent.h:109:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 109 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ [ 42/504] Compiling video/csputils.c [ 43/504] Compiling video/out/present_sync.c [ 44/504] Compiling audio/filter/af_scaletempo.c [ 45/504] Compiling build/generated/wayland/viewporter.c [ 46/504] Compiling video/out/wldmabuf/context_wldmabuf.c [ 47/504] Compiling filters/f_utils.c [ 48/504] Compiling filters/frame.c [ 49/504] Compiling input/cmd.c [ 50/504] Compiling osdep/threads.c [ 51/504] Compiling build/generated/wayland/presentation-time.c [ 52/504] Compiling demux/demux_edl.c [ 53/504] Compiling build/generated/wayland/xdg-decoration-unstable-v1.c [ 54/504] Compiling options/m_property.c [ 55/504] Compiling player/main.c [ 56/504] Compiling osdep/io.c [ 57/504] Compiling audio/out/ao_sdl.c [ 58/504] Compiling audio/filter/af_drop.c [ 59/504] Compiling video/hwdec.c [ 60/504] Compiling audio/filter/af_lavcac3enc.c [ 61/504] Compiling filters/f_auto_filters.c [ 62/504] Compiling stream/stream_slice.c [ 63/504] Compiling video/out/drm_common.c [ 64/504] Compiling video/filter/vf_sub.c [ 65/504] Compiling video/out/wldmabuf/ra_wldmabuf.c [ 66/504] Compiling video/out/opengl/utils.c [ 67/504] Compiling build/generated/wayland/idle-inhibit-unstable-v1.c [ 68/504] Compiling build/generated/wayland/xdg-shell.c [ 69/504] Compiling filters/f_autoconvert.c [ 70/504] Compiling build/generated/wayland/linux-dmabuf-unstable-v1.c [ 71/504] Compiling demux/codec_tags.c [ 72/504] Compiling sub/ass_mp.c [ 73/504] Compiling audio/out/ao_pulse.c [ 74/504] Compiling demux/demux_raw.c [ 75/504] Compiling video/out/opengl/context_wayland.c [ 76/504] Compiling misc/natural_sort.c [ 77/504] Compiling demux/demux_disc.c [ 78/504] Compiling stream/cookies.c [ 79/504] Compiling video/vdpau.c [ 80/504] Compiling video/out/gpu/shader_cache.c [ 81/504] Compiling options/m_option.c [ 82/504] Compiling video/out/gpu/video.c [ 83/504] Compiling options/m_config_frontend.c [ 84/504] Compiling filters/f_swscale.c [ 85/504] Compiling video/out/opengl/context_drm_egl.c [ 86/504] Compiling video/filter/vf_gpu.c [ 87/504] Compiling video/out/drm_atomic.c [ 88/504] Compiling misc/json.c [ 89/504] Compiling misc/thread_tools.c [ 90/504] Compiling demux/demux_null.c [ 91/504] Compiling misc/charset_conv.c [ 92/504] Compiling sub/sd_lavc.c [ 93/504] Compiling video/out/vo_x11.c [ 94/504] Compiling demux/demux_cue.c [ 95/504] Compiling video/out/vo_xv.c [ 96/504] Compiling demux/demux_playlist.c [ 97/504] Compiling osdep/subprocess-posix.c [ 98/504] Compiling video/out/dither.c [ 99/504] Compiling stream/stream_cb.c [100/504] Compiling common/encode_lavc.c [101/504] Compiling audio/chmap.c [102/504] Compiling video/filter/refqueue.c [103/504] Compiling video/fmt-conversion.c [104/504] Compiling video/out/aspect.c [105/504] Compiling video/out/opengl/ra_gl.c [106/504] Compiling misc/thread_pool.c [107/504] Compiling misc/dispatch.c [108/504] Compiling player/configfiles.c [109/504] Compiling audio/decode/ad_lavc.c [110/504] Compiling video/out/gpu/hwdec.c [111/504] Compiling filters/f_swresample.c [112/504] Compiling video/out/filter_kernels.c [113/504] Compiling common/msg.c [114/504] Compiling audio/chmap_sel.c [115/504] Compiling demux/demux.c [116/504] Compiling input/sdl_gamepad.c [117/504] Compiling demux/cue.c [118/504] Compiling video/out/dr_helper.c [119/504] Compiling audio/out/ao_pcm.c [120/504] Compiling sub/sd_ass.c [121/504] Compiling input/keycodes.c [122/504] Compiling stream/stream_lavf.c [123/504] Compiling audio/chmap_avchannel.c [124/504] Compiling misc/random.c [125/504] Compiling misc/rendezvous.c [126/504] Compiling player/command.c [127/504] Compiling stream/stream_bluray.c [128/504] Compiling demux/cache.c [129/504] Compiling osdep/subprocess.c [130/504] Compiling video/out/vo_image.c [131/504] Compiling stream/stream_file.c [132/504] Compiling misc/bstr.c [133/504] Compiling audio/decode/ad_spdif.c [134/504] Compiling demux/demux_mkv_timeline.c [135/504] Compiling demux/demux_timeline.c [136/504] Compiling input/ipc-unix.c [137/504] Compiling video/out/opengl/context_x11egl.c [138/504] Compiling video/out/opengl/egl_helpers.c In file included from /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/Xpresent.h:27, from ../video/out/opengl/context_x11egl.c:21: /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/presenttokens.h:77:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 77 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/presenttokens.h:85:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 85 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/presenttokens.h:89:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 89 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../video/out/opengl/context_x11egl.c:21: /home/pbulk/build/multimedia/mpv/work/.buildlink/include/X11/extensions/Xpresent.h:109:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef] 109 | #if PRESENT_FUTURE_VERSION | ^~~~~~~~~~~~~~~~~~~~~~ [139/504] Compiling video/out/gpu/context.c [140/504] Compiling video/out/opengl/libmpv_gl.c [141/504] Compiling player/client.c [142/504] Compiling demux/demux_mkv.c [143/504] Compiling stream/stream_edl.c [144/504] Compiling stream/stream_dvdnav.c [145/504] Compiling audio/aframe.c [146/504] Compiling sub/osd.c [147/504] Compiling video/filter/vf_format.c [148/504] Compiling sub/osd_libass.c [149/504] Compiling stream/stream_memory.c [150/504] Compiling options/m_config_core.c [151/504] Compiling osdep/path-unix.c [152/504] Compiling player/video.c [153/504] Compiling input/ipc.c [154/504] Compiling player/external_files.c [155/504] Compiling osdep/semaphore_osx.c [156/504] Compiling common/codecs.c [157/504] Compiling player/sub.c [158/504] Compiling audio/filter/af_format.c [159/504] Compiling video/out/gpu/osd.c [160/504] Compiling video/out/bitmap_packer.c [161/504] Compiling video/out/vo_sdl.c [162/504] Compiling video/decode/vd_lavc.c ../video/decode/vd_lavc.c: In function ‘decode_frame’: ../video/decode/vd_lavc.c:1159:9: warning: ‘pkt_duration’ is deprecated [-Wdeprecated-declarations] 1159 | mp_pts_from_av(ctx->pic->pkt_duration, &ctx->codec_timebase); | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/multimedia/mpv/work/.buildlink/include/ffmpeg6/libavcodec/avcodec.h:35, from ../video/decode/vd_lavc.c:25: /home/pbulk/build/multimedia/mpv/work/.buildlink/include/ffmpeg6/libavutil/frame.h:631:13: note: declared here 631 | int64_t pkt_duration; | ^~~~~~~~~~~~ [163/504] Compiling video/out/gpu/utils.c [164/504] Compiling misc/node.c [165/504] Compiling common/av_log.c [166/504] Compiling common/version.c [167/504] Compiling video/out/drm_prime.c [168/504] Compiling filters/f_async_queue.c [169/504] Compiling filters/f_output_chain.c [170/504] Compiling video/out/hwdec/hwdec_drmprime.c [171/504] Compiling audio/out/ao_lavc.c [172/504] Compiling video/out/win_state.c [173/504] Compiling audio/fmt-conversion.c [174/504] Compiling audio/out/ao_null.c [175/504] Compiling stream/stream_concat.c [176/504] Compiling video/out/vo_null.c [177/504] Compiling common/recorder.c [178/504] Compiling player/scripting.c [179/504] Compiling stream/stream_mf.c [180/504] Compiling video/out/vo_wlshm.c [181/504] Compiling stream/stream_avdevice.c [182/504] Compiling video/out/vo_gpu.c [183/504] Compiling stream/stream_null.c [184/504] Compiling player/audio.c [185/504] Compiling sub/lavc_conv.c [186/504] Compiling video/out/gpu/libmpv_gpu.c [187/504] Compiling osdep/polldev.c [188/504] Compiling stream/stream.c [189/504] Compiling input/input.c [190/504] Compiling audio/out/ao_alsa.c [191/504] Compiling sub/filter_sdh.c [192/504] Compiling video/out/vo_libmpv.c [193/504] Compiling input/event.c [194/504] Compiling video/out/vo_vdpau.c [195/504] Compiling audio/filter/af_scaletempo2_internals.c [196/504] Compiling audio/out/ao.c [197/504] Compiling sub/img_convert.c [198/504] Compiling video/out/opengl/common.c [199/504] Compiling demux/timeline.c [200/504] Compiling video/out/libmpv_sw.c [201/504] Compiling video/out/vo_sixel.c [202/504] Compiling sub/filter_regex.c [203/504] Compiling audio/format.c [204/504] Compiling video/repack.c [205/504] Compiling video/out/wayland_common.c ../video/out/wayland_common.c: In function ‘pointer_handle_button’: ../video/out/wayland_common.c:237:19: error: ‘BTN_MOUSE’ undeclared (first use in this function) 237 | if (button >= BTN_MOUSE && button < BTN_JOYSTICK) { | ^~~~~~~~~ ../video/out/wayland_common.c:237:19: note: each undeclared identifier is reported only once for each function it appears in ../video/out/wayland_common.c:237:41: error: ‘BTN_JOYSTICK’ undeclared (first use in this function) 237 | if (button >= BTN_MOUSE && button < BTN_JOYSTICK) { | ^~~~~~~~~~~~ ../video/out/wayland_common.c:255:34: error: ‘BTN_FORWARD’ undeclared (first use in this function); did you mean ‘MP_MBTN_FORWARD’? 255 | button += MP_MBTN9 - BTN_FORWARD; | ^~~~~~~~~~~ | MP_MBTN_FORWARD Waf: Leaving directory `/home/pbulk/build/multimedia/mpv/work/mpv-0.35.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-el9-trunk-x86_64/multimedia/mpv *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/multimedia/mpv