+ 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/filter_kernels.c ../video/out/filter_kernels.c: In function 'hanning': ../video/out/filter_kernels.c:192:28: error: 'M_PI' undeclared (first use in this function) 192 | return 0.5 + 0.5 * cos(M_PI * x); | ^~~~ ../video/out/filter_kernels.c:192:28: note: each undeclared identifier is reported only once for each function it appears in ../video/out/filter_kernels.c: In function 'hamming': ../video/out/filter_kernels.c:197:30: error: 'M_PI' undeclared (first use in this function) 197 | return 0.54 + 0.46 * cos(M_PI * x); | ^~~~ ../video/out/filter_kernels.c: In function 'blackman': ../video/out/filter_kernels.c:246:18: error: 'M_PI' undeclared (first use in this function) 246 | double pix = M_PI * x; | ^~~~ ../video/out/filter_kernels.c: In function 'sinc': ../video/out/filter_kernels.c:318:10: error: 'M_PI' undeclared (first use in this function) 318 | x *= M_PI; | ^~~~ ../video/out/filter_kernels.c: In function 'jinc': ../video/out/filter_kernels.c:326:10: error: 'M_PI' undeclared (first use in this function) 326 | x *= M_PI; | ^~~~ ../video/out/filter_kernels.c:327:18: error: implicit declaration of function 'j1' [-Werror=implicit-function-declaration] 327 | return 2.0 * j1(x) / x; | ^~ ../video/out/filter_kernels.c: In function 'sphinx': ../video/out/filter_kernels.c:334:10: error: 'M_PI' undeclared (first use in this function) 334 | x *= M_PI; | ^~~~ ../video/out/filter_kernels.c: At top level: ../video/out/filter_kernels.c:387:66: error: 'M_SQRT2' undeclared here (not in a function) 387 | {{"robidoux", 2, cubic_bc, .params = {12 / (19 + 9 * M_SQRT2), | ^~~~~~~ ../video/out/filter_kernels.c: In function 'hamming': ../video/out/filter_kernels.c:198:1: warning: control reaches end of non-void function [-Wreturn-type] 198 | } | ^ ../video/out/filter_kernels.c: In function 'hanning': ../video/out/filter_kernels.c:193:1: warning: control reaches end of non-void function [-Wreturn-type] 193 | } | ^ 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-bulktest/multimedia/mpv *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv