DEBUG: Executing shell function do_compile
Waf: Entering directory `TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/build'
[1/1] Compiling version.sh
[  2/228] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
[  3/228] Compiling etc/mpv-icon-8bit-16x16.png
[  4/228] Compiling etc/mpv-icon-8bit-32x32.png
[  5/228] Compiling etc/mpv-icon-8bit-64x64.png
[  6/228] Compiling etc/mpv-icon-8bit-128x128.png
[  7/228] Compiling etc/input.conf
[  8/228] Compiling etc/builtin.conf
[  9/228] Compiling sub/osd_font.otf
[ 10/228] Compiling player/lua/defaults.lua
[ 11/228] Compiling player/lua/assdraw.lua
[ 12/228] Compiling player/lua/options.lua
[ 13/228] Compiling player/lua/osc.lua
[ 14/228] Compiling player/lua/ytdl_hook.lua
[ 15/228] Compiling player/lua/stats.lua
[ 16/228] Compiling player/lua/console.lua
[ 17/228] Compiling player/lua/auto_profiles.lua
[ 18/228] Compiling player/javascript/defaults.js
[ 19/228] Creating ../build/generated/wayland/xdg-shell.h
[ 20/228] Creating ../build/generated/wayland/idle-inhibit-unstable-v1.h
[ 21/228] Creating ../build/generated/wayland/presentation-time.h
[ 22/228] Creating ../build/generated/wayland/xdg-decoration-unstable-v1.h
[ 23/228] Creating ../build/generated/ebml_types.h
[ 24/228] Creating ../build/generated/ebml_defs.c
[ 25/228] Creating ../build/generated/wayland/xdg-shell.c
[ 26/228] Creating ../build/generated/wayland/idle-inhibit-unstable-v1.c
[ 27/228] Creating ../build/generated/wayland/presentation-time.c
[ 28/228] Creating ../build/generated/wayland/xdg-decoration-unstable-v1.c
[ 29/228] Compiling libmpv/mpv.def
[ 30/228] Compiling video/mp_image.c
[ 31/228] Compiling video/mp_image_pool.c
[ 32/228] Compiling video/out/bitmap_packer.c
[ 33/228] Compiling video/out/gpu/context.c
[ 34/228] Compiling video/out/gpu/spirv.c
[ 35/228] Compiling player/lua.c
[ 36/228] Compiling video/sws_utils.c
[ 37/228] Compiling audio/out/ao_alsa.c
[ 38/228] Compiling video/image_writer.c
[ 39/228] Compiling audio/format.c
../git/video/sws_utils.c:306:9: warning: 'avcodec_enum_to_chroma_pos' is deprecated [-Wdeprecated-declarations]
    if (avcodec_enum_to_chroma_pos(&cr_xpos, &cr_ypos, cr_src) >= 0) {
        ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/avcodec.h:2524:2: note: 'avcodec_enum_to_chroma_pos' has been explicitly marked deprecated here
 attribute_deprecated
 ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/video/sws_utils.c:310:9: warning: 'avcodec_enum_to_chroma_pos' is deprecated [-Wdeprecated-declarations]
    if (avcodec_enum_to_chroma_pos(&cr_xpos, &cr_ypos, cr_dst) >= 0) {
        ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/avcodec.h:2524:2: note: 'avcodec_enum_to_chroma_pos' has been explicitly marked deprecated here
 attribute_deprecated
 ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/video/sws_utils.c:326:1: warning: unused label 'success' [-Wunused-label]
success:
^~~~~~~~
../git/video/sws_utils.c:127:13: warning: unused function 'allow_zimg' [-Wunused-function]
static bool allow_zimg(struct mp_sws_context *ctx)
            ^
4 warnings generated.

[ 40/228] Compiling common/av_common.c
[ 41/228] Compiling video/image_loader.c
[ 42/228] Compiling audio/out/ao.c
[ 43/228] Compiling audio/out/buffer.c
[ 44/228] Compiling video/hwdec.c
[ 45/228] Compiling audio/fmt-conversion.c
[ 46/228] Compiling audio/out/ao_pcm.c
[ 47/228] Compiling video/fmt-conversion.c
[ 48/228] Compiling audio/filter/af_scaletempo2_internals.c
../git/video/image_writer.c:104:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
1 warning generated.

[ 49/228] Compiling audio/out/ao_null.c
[ 50/228] Compiling video/filter/vf_sub.c
[ 51/228] Compiling audio/out/ao_lavc.c
../git/common/av_common.c:111:10: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    avp->channels = c->channels.num;
         ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/codec_par.h:172:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/common/av_common.c:113:14: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
        avp->channel_layout = mp_chmap_to_lavc(&c->channels);
             ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/codec_par.h:166:5: note: 'channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/common/av_common.c:193:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(dst);
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
3 warnings generated.

[ 52/228] Compiling video/filter/vf_gpu.c
[ 53/228] Compiling video/filter/vf_format.c
[ 54/228] Compiling video/filter/refqueue.c
[ 55/228] Compiling video/decode/vd_lavc.c
[ 56/228] Compiling stream/stream_mf.c
[ 57/228] Compiling video/csputils.c
[ 58/228] Compiling ta/ta_utils.c
[ 59/228] Compiling sub/sd_lavc.c
[ 60/228] Compiling filters/frame.c
[ 61/228] Compiling ta/ta_talloc.c
[ 62/228] Compiling sub/sd_ass.c
[ 63/228] Compiling filters/filter.c
[ 64/228] Compiling ta/ta.c
[ 65/228] Compiling sub/osd_libass.c
../git/audio/out/ao_lavc.c:127:14: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    encoder->channels = ao->channels.num;
             ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/avcodec.h:1041:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/audio/out/ao_lavc.c:128:14: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
    encoder->channel_layout = mp_chmap_to_lavc(&ao->channels);
             ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/avcodec.h:1099:5: note: 'channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/audio/out/ao_lavc.c:182:16: warning: variable 'outpts' set but not used [-Wunused-but-set-variable]
        double outpts = ac->expected_next_pts;
               ^
3 warnings generated.

[ 66/228] Compiling filters/f_utils.c
[ 67/228] Compiling osdep/subprocess-posix.c
[ 68/228] Compiling video/img_format.c
../git/video/decode/vd_lavc.c:1101:34: warning: 'pkt_duration' is deprecated [-Wdeprecated-declarations]
        mp_pts_from_av(ctx->pic->pkt_duration, &ctx->codec_timebase);
                                 ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/frame.h:630:5: note: 'pkt_duration' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
1 warning generated.

[ 69/228] Compiling sub/osd.c
[ 70/228] Compiling filters/f_swscale.c
[ 71/228] Compiling osdep/subprocess.c
[ 72/228] Compiling osdep/semaphore_osx.c
[ 73/228] Compiling sub/lavc_conv.c
[ 74/228] Compiling filters/f_swresample.c
[ 75/228] Compiling audio/filter/af_scaletempo2.c
[ 76/228] Compiling osdep/path-unix.c
[ 77/228] Compiling sub/img_convert.c
[ 78/228] Compiling filters/f_output_chain.c
[ 79/228] Compiling audio/filter/af_scaletempo.c
[ 80/228] Compiling osdep/polldev.c
[ 81/228] Compiling sub/filter_sdh.c
[ 82/228] Compiling filters/f_lavfi.c
[ 83/228] Compiling audio/filter/af_lavcac3enc.c
[ 84/228] Compiling ../build/generated/wayland/idle-inhibit-unstable-v1.c
[ 85/228] Compiling ../build/generated/wayland/xdg-shell.c
[ 86/228] Compiling ../build/generated/wayland/xdg-decoration-unstable-v1.c
[ 87/228] Compiling ../build/generated/wayland/presentation-time.c
[ 88/228] Compiling osdep/timer-linux.c
[ 89/228] Compiling sub/filter_regex.c
../git/filters/f_lavfi.c:473:21: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
            params->channel_layout = mp_chmap_to_lavc(&chmap);
                    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavfilter/buffersrc.h:118:5: note: 'channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/filters/f_lavfi.c:949:17: error: call to undeclared function 'avfilter_pad_count'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    int count = avfilter_pad_count(pads);
                ^
1 warning and 1 error generated.

../git/audio/filter/af_lavcac3enc.c:106:19: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    s->lavc_actx->channels = chmap.num;
                  ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/avcodec.h:1041:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/audio/filter/af_lavcac3enc.c:107:19: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
    s->lavc_actx->channel_layout = mp_chmap_to_lavc(&chmap);
                  ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/avcodec.h:1099:5: note: 'channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/audio/filter/af_lavcac3enc.c:156:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/audio/filter/af_lavcac3enc.c:308:26: warning: 'channel_layouts' is deprecated [-Wdeprecated-declarations]
        !s->lavc_acodec->channel_layouts)
                         ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/codec.h:213:5: note: 'channel_layouts' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
../git/audio/filter/af_lavcac3enc.c:340:43: warning: 'channel_layouts' is deprecated [-Wdeprecated-declarations]
    const uint64_t *lch = s->lavc_acodec->channel_layouts;
                                          ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavcodec/codec.h:213:5: note: 'channel_layouts' has been explicitly marked deprecated here
    attribute_deprecated
    ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/recipe-sysroot/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
5 warnings generated.

Waf: Leaving directory `TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/build'
Build failed
 -> task in 'objects' failed with exit status 1 (run with -v to display more information)
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/temp/run.do_compile.3961222:146 exit 1 from 'waf_do_compile'
WARNING: Backtrace (BB generated script): 
	#1: waf_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/temp/run.do_compile.3961222, line 146
	#2: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/temp/run.do_compile.3961222, line 142
	#3: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/mpv/0.34.1-r0/temp/run.do_compile.3961222, line 151

Error details

Submitted on:
01/04/23 05:41
Error type:
Recipe
Task:
do_compile
Recipe:
mpv
Recipe version:
0.34.1-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux-musl
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
1b4b97748dad8bfc50a6edf031d1724e80d1efa2
Build:
#161984
Submitter:
ab@rdk
Similar errors:
1
Open a bug