+ 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.35.0nb1/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.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__EXTENSIONS__\ -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\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D__EXTENSIONS__\ -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.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 filters/f_async_queue.c
[ 24/436] Compiling filters/f_autoconvert.c
[ 25/436] Compiling input/event.c
[ 26/436] Compiling filters/frame.c
[ 27/436] Compiling video/out/vo_sdl.c
[ 28/436] Compiling sub/sd_ass.c
[ 29/436] Compiling input/ipc.c
[ 30/436] Compiling common/common.c
[ 31/436] Compiling audio/chmap_sel.c
[ 32/436] Compiling video/out/vo_image.c
[ 33/436] Compiling video/out/aspect.c
[ 34/436] Compiling stream/stream_bluray.c
[ 35/436] Compiling video/out/vo_null.c
[ 36/436] Compiling demux/timeline.c
[ 37/436] Compiling common/codecs.c
[ 38/436] Compiling demux/packet.c
[ 39/436] Compiling video/out/gpu/shader_cache.c
[ 40/436] Compiling filters/f_hwtransfer.c
[ 41/436] Compiling filters/filter.c
[ 42/436] Compiling stream/stream_cb.c
[ 43/436] Compiling audio/chmap_avchannel.c
[ 44/436] Compiling misc/thread_tools.c
[ 45/436] Compiling osdep/polldev.c
[ 46/436] Compiling input/input.c
[ 47/436] Compiling common/av_log.c
[ 48/436] Compiling stream/stream_avdevice.c
[ 49/436] Compiling video/out/gpu/context.c
[ 50/436] Compiling video/out/libmpv_sw.c
[ 51/436] Compiling audio/chmap.c
[ 52/436] Compiling common/av_common.c
../common/av_common.c: In function 'mp_set_av_packet':
../common/av_common.c:199:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  199 |     av_init_packet(dst);
      |     ^~~~~~~~~~~~~~
In file included from /home/pbulk/build/multimedia/mpv/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:45,
                 from ../common/av_common.c:28:
/home/pbulk/build/multimedia/mpv/work/.buildlink/include/ffmpeg5/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~

[ 53/436] Compiling misc/thread_pool.c
[ 54/436] Compiling video/filter/vf_format.c
[ 55/436] Compiling video/out/gpu/hwdec.c
[ 56/436] Compiling video/out/gpu/libmpv_gpu.c
[ 57/436] Compiling stream/stream.c
[ 58/436] Compiling misc/rendezvous.c
[ 59/436] Compiling player/command.c
[ 60/436] Compiling video/out/filter_kernels.c
[ 61/436] Compiling misc/random.c
[ 62/436] Compiling stream/cookies.c
[ 63/436] Compiling osdep/threads.c
[ 64/436] Compiling osdep/io.c
[ 65/436] Compiling filters/f_utils.c
[ 66/436] Compiling ta/ta_utils.c
[ 67/436] Compiling video/mp_image_pool.c
[ 68/436] Compiling video/out/gpu/video_shaders.c
[ 69/436] Compiling audio/out/buffer.c
[ 70/436] Compiling demux/demux_mkv_timeline.c
[ 71/436] Compiling input/cmd.c
[ 72/436] Compiling video/filter/vf_sub.c
[ 73/436] Compiling player/external_files.c
[ 74/436] Compiling player/video.c
[ 75/436] Compiling ta/ta_talloc.c
[ 76/436] Compiling video/out/vo_lavc.c
[ 77/436] Compiling osdep/semaphore_osx.c
[ 78/436] Compiling video/vdpau.c
[ 79/436] Compiling video/hwdec.c
[ 80/436] Compiling player/client.c
[ 81/436] Compiling video/decode/vd_lavc.c
[ 82/436] Compiling audio/out/ao_sdl.c
[ 83/436] Compiling player/sub.c
[ 84/436] Compiling osdep/path-unix.c
[ 85/436] Compiling video/out/win_state.c
[ 86/436] Compiling filters/f_swscale.c
[ 87/436] Compiling player/configfiles.c
[ 88/436] Compiling ta/ta.c
[ 89/436] Compiling video/out/gpu/error_diffusion.c
[ 90/436] Compiling demux/ebml.c
[ 91/436] Compiling demux/demux_timeline.c
[ 92/436] Compiling video/out/vo.c
[ 93/436] Compiling misc/node.c
[ 94/436] Compiling audio/out/ao_pcm.c
[ 95/436] Compiling player/scripting.c
[ 96/436] Compiling osdep/timer-linux.c
[ 97/436] Compiling demux/demux_lavf.c
[ 98/436] Compiling sub/draw_bmp.c
[ 99/436] Compiling video/out/vo_gpu.c
[100/436] Compiling demux/demux_raw.c
[101/436] Compiling sub/ass_mp.c
[102/436] Compiling stream/stream_memory.c
[103/436] Compiling video/filter/refqueue.c
[104/436] Compiling video/out/vo_libmpv.c
[105/436] Compiling video/out/gpu/ra.c
[106/436] Compiling video/mp_image.c
[107/436] Compiling video/out/gpu/video.c
[108/436] Compiling video/out/present_sync.c
[109/436] Compiling osdep/timer.c
[110/436] Compiling demux/demux_playlist.c
[111/436] Compiling misc/natural_sort.c
[112/436] Compiling sub/osd_libass.c
[113/436] Compiling demux/demux_null.c
[114/436] Compiling player/screenshot.c
[115/436] Compiling common/encode_lavc.c
[116/436] Compiling sub/osd.c
[117/436] Compiling osdep/terminal-unix.c
[118/436] Compiling demux/demux_mf.c
[119/436] Compiling video/vdpau_mixer.c
[120/436] Compiling sub/lavc_conv.c
[121/436] Compiling video/out/opengl/ra_gl.c
[122/436] Compiling misc/json.c
[123/436] Compiling video/out/opengl/utils.c
[124/436] Compiling sub/img_convert.c
[125/436] Compiling demux/codec_tags.c
[126/436] Compiling sub/sd_lavc.c
[127/436] Compiling sub/filter_sdh.c
[128/436] Compiling demux/demux_edl.c
[129/436] Compiling filters/f_auto_filters.c
[130/436] Compiling audio/out/ao_null.c
[131/436] Compiling demux/demux_disc.c
[132/436] Compiling video/sws_utils.c
../video/sws_utils.c: In function 'mp_sws_reinit':
../video/sws_utils.c:326:1: warning: label 'success' defined but not used [-Wunused-label]
  326 | success:
      | ^~~~~~~
../video/sws_utils.c: At top level:
../video/sws_utils.c:127:13: warning: 'allow_zimg' defined but not used [-Wunused-function]
  127 | static bool allow_zimg(struct mp_sws_context *ctx)
      |             ^~~~~~~~~~

[133/436] Compiling sub/filter_regex.c
[134/436] Compiling demux/demux_libarchive.c
[135/436] Compiling options/parse_configfile.c
[136/436] Compiling video/out/gpu/lcms.c
[137/436] Compiling video/fmt-conversion.c
[138/436] Compiling video/img_format.c
[139/436] Compiling video/repack.c
[140/436] Compiling demux/demux_mkv.c
[141/436] Compiling audio/out/ao_lavc.c
[142/436] Compiling misc/dispatch.c
[143/436] Compiling stream/stream_edl.c
[144/436] Compiling common/tags.c
[145/436] Compiling video/out/x11_common.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:69:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef]
   69 | #if PRESENT_FUTURE_VERSION
      |     ^~~~~~~~~~~~~~~~~~~~~~
/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:81:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef]
   81 | #if PRESENT_FUTURE_VERSION
      |     ^~~~~~~~~~~~~~~~~~~~~~
/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
      |     ^~~~~~~~~~~~~~~~~~~~~~

[146/436] Compiling filters/f_swresample.c
[147/436] Compiling video/out/opengl/libmpv_gl.c
[148/436] Compiling demux/demux_cue.c
[149/436] Compiling audio/fmt-conversion.c
[150/436] Compiling demux/demux.c
[151/436] Compiling sub/dec_sub.c
[152/436] Compiling options/options.c
[153/436] Compiling filters/f_demux_in.c
[154/436] Compiling audio/out/ao.c
[155/436] Compiling misc/charset_conv.c
../misc/charset_conv.c: In function 'mp_iconv_to_utf8':
../misc/charset_conv.c:198:31: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types]
  198 |             rc = iconv(icdsc, &ip, &ileft, &op, &oleft);
      |                               ^~~
      |                               |
      |                               char **
In file included from ../misc/charset_conv.c:36:
/home/pbulk/build/multimedia/mpv/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **'
   83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
      |                                  ~~~~~~~~~~~~~~^~~~~

[156/436] Compiling player/osd.c
[157/436] Compiling audio/filter/af_scaletempo2_internals.c
[158/436] Compiling stream/stream_libarchive.c
[159/436] Compiling demux/cache.c
[160/436] Compiling player/misc.c
[161/436] Compiling stream/stream_null.c
[162/436] Compiling video/out/vo_xv.c
[163/436] Compiling audio/filter/af_scaletempo2.c
[164/436] Compiling player/audio.c
[165/436] Compiling video/out/vo_vdpau.c
[166/436] Compiling options/m_option.c
[167/436] Compiling osdep/subprocess.c
[168/436] Compiling video/filter/vf_gpu.c
[169/436] Compiling video/out/gpu/osd.c
[170/436] Compiling video/out/opengl/formats.c
[171/436] Compiling audio/format.c
[172/436] Compiling misc/bstr.c
[173/436] Compiling audio/decode/ad_spdif.c
[174/436] Compiling common/version.c
[175/436] Compiling stream/stream_mf.c
[176/436] Compiling options/m_config_frontend.c
[177/436] Compiling audio/decode/ad_lavc.c
[178/436] Compiling audio/filter/af_scaletempo.c
[179/436] Compiling video/image_writer.c
[180/436] Compiling player/main.c
[181/436] Compiling options/path.c
[182/436] Compiling audio/out/ao_oss.c
[183/436] Compiling video/out/vo_sixel.c
[184/436] Compiling demux/cue.c
[185/436] Compiling player/lua.c
[186/436] Compiling video/out/opengl/egl_helpers.c
[187/436] Compiling stream/stream_file.c
[188/436] Compiling video/out/gpu/user_shaders.c
[189/436] Compiling filters/f_output_chain.c
[190/436] Compiling input/sdl_gamepad.c
[191/436] Compiling audio/filter/af_lavcac3enc.c
[192/436] Compiling options/parse_commandline.c
[193/436] Compiling player/loadfile.c
[194/436] Compiling video/out/dr_helper.c
[195/436] Compiling player/playloop.c
[196/436] Compiling video/out/opengl/context_x11egl.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:69:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef]
   69 | #if PRESENT_FUTURE_VERSION
      |     ^~~~~~~~~~~~~~~~~~~~~~
/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:81:5: warning: "PRESENT_FUTURE_VERSION" is not defined, evaluates to 0 [-Wundef]
   81 | #if PRESENT_FUTURE_VERSION
      |     ^~~~~~~~~~~~~~~~~~~~~~
/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
      |     ^~~~~~~~~~~~~~~~~~~~~~

[197/436] Compiling audio/filter/af_format.c
[198/436] Compiling common/stats.c
[199/436] Compiling input/keycodes.c
[200/436] Compiling stream/stream_dvdnav.c
[201/436] Compiling osdep/subprocess-posix.c
[202/436] Compiling video/out/gpu/utils.c
[203/436] Compiling video/out/dither.c
[204/436] Compiling common/recorder.c
[205/436] Compiling audio/filter/af_drop.c
[206/436] Compiling options/m_property.c
[207/436] Compiling stream/stream_slice.c
[208/436] Compiling video/out/opengl/context.c
[209/436] Compiling common/playlist.c
[210/436] Compiling video/out/vo_x11.c
[211/436] Compiling filters/user_filters.c
[212/436] Compiling video/csputils.c
[213/436] Compiling audio/aframe.c
[214/436] Compiling filters/f_decoder_wrapper.c
[215/436] Compiling video/filter/vf_vdpaupp.c
[216/436] Compiling video/image_loader.c
[217/436] Compiling common/msg.c
[218/436] Compiling stream/stream_concat.c
[219/436] Compiling filters/f_lavfi.c
[220/436] Compiling video/out/vo_tct.c
[221/436] Compiling video/out/bitmap_packer.c
[222/436] Compiling video/out/gpu/spirv.c
[223/436] Compiling input/ipc-unix.c
[224/436] Compiling video/out/opengl/common.c
[225/436] Compiling stream/stream_lavf.c
[226/436] Compiling options/m_config_core.c
[227/436] Compiling osdep/main-fn-unix.c
[228/436] Linking build/mpv
ld: fatal: unrecognized option '-v'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/pbulk/build/multimedia/mpv/work/mpv-0.35.0/build'
Build failed
 -> task in 'mpv' 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