Applying /builder/shared-workdir/build/sdk/feeds/telephony/net/baresip/patches/010-fix-parallel-build.patch using plaintext: patching file modules/ctrl_dbus/module.mk make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/baresip-1.1.0' CC [M] build-powerpc/modules/account/account.o CC [M] build-powerpc/modules/auloop/auloop.o CC [M] build-powerpc/modules/b2bua/b2bua.o CC [M] build-powerpc/modules/contact/contact.o CC [M] build-powerpc/modules/ctrl_tcp/ctrl_tcp.o CC [M] build-powerpc/modules/ctrl_tcp/tcp_netstring.o CC [M] build-powerpc/modules/ctrl_tcp/./netstring/netstring.o CC [M] build-powerpc/modules/debug_cmd/debug_cmd.o CC [M] build-powerpc/modules/ebuacip/ebuacip.o CC [M] build-powerpc/modules/echo/echo.o CC [M] build-powerpc/modules/fakevideo/fakevideo.o CC [M] build-powerpc/modules/httpd/httpd.o CC [M] build-powerpc/modules/ice/ice.o CC [M] build-powerpc/modules/menu/menu.o CC [M] build-powerpc/modules/menu/static_menu.o CC [M] build-powerpc/modules/menu/dynamic_menu.o CC [M] build-powerpc/modules/mwi/mwi.o CC [M] build-powerpc/modules/natpmp/natpmp.o CC [M] build-powerpc/modules/natpmp/libnatpmp.o CC [M] build-powerpc/modules/presence/presence.o CC [M] build-powerpc/modules/presence/subscriber.o CC [M] build-powerpc/modules/presence/notifier.o CC [M] build-powerpc/modules/presence/publisher.o CC [M] build-powerpc/modules/rtcpsummary/rtcpsummary.o CC [M] build-powerpc/modules/selfview/selfview.o CC [M] build-powerpc/modules/serreg/serreg.o CC [M] build-powerpc/modules/srtp/srtp.o CC [M] build-powerpc/modules/srtp/sdes.o CC [M] build-powerpc/modules/stun/stun.o CC [M] build-powerpc/modules/turn/turn.o CC [M] build-powerpc/modules/uuid/uuid.o CC [M] build-powerpc/modules/vidbridge/vidbridge.o CC [M] build-powerpc/modules/vidbridge/src.o CC [M] build-powerpc/modules/vidbridge/disp.o CC [M] build-powerpc/modules/vidinfo/draw.o CC [M] build-powerpc/modules/vidinfo/vidinfo.o CC [M] build-powerpc/modules/vidinfo/xga_font_data.o CC [M] build-powerpc/modules/vidloop/vidloop.o CC [M] build-powerpc/modules/vumeter/vumeter.o CC [M] build-powerpc/modules/mixausrc/mixausrc.o CC [M] build-powerpc/modules/multicast/multicast.o CC [M] build-powerpc/modules/multicast/sender.o CC [M] build-powerpc/modules/multicast/receiver.o CC [M] build-powerpc/modules/multicast/player.o CC [M] build-powerpc/modules/multicast/source.o CC [M] build-powerpc/modules/aubridge/aubridge.o CC [M] build-powerpc/modules/aubridge/device.o CC [M] build-powerpc/modules/aubridge/src.o CC [M] build-powerpc/modules/aubridge/play.o CC [M] build-powerpc/modules/aufile/aufile.o CC [M] build-powerpc/modules/aufile/aufile_play.o CC [M] build-powerpc/modules/ausine/ausine.o CC [M] build-powerpc/modules/aac/decode.o modules/ctrl_tcp/./netstring/netstring.c:17:13: warning: conflicting types for 'netstring_error_str' due to enum/integer mismatch; have 'const char *(netstring_error)' [-Wenum-int-mismatch] 17 | const char* netstring_error_str(netstring_error err) | ^~~~~~~~~~~~~~~~~~~ In file included from modules/ctrl_tcp/./netstring/netstring.c:14: modules/ctrl_tcp/./netstring/netstring.h:13:13: note: previous declaration of 'netstring_error_str' with type 'const char *(int)' 13 | const char* netstring_error_str(int err); | ^~~~~~~~~~~~~~~~~~~ CC [M] build-powerpc/modules/aac/encode.o CC [M] build-powerpc/modules/aac/aac.o CC [M] build-powerpc/modules/aac/sdp.o CC [M] build-powerpc/modules/alsa/alsa.o CC [M] build-powerpc/modules/alsa/alsa_src.o CC [M] build-powerpc/modules/alsa/alsa_play.o CC [M] build-powerpc/modules/amr/amr.o CC [M] build-powerpc/modules/amr/sdp.o CC [M] build-powerpc/modules/avcodec/avcodec.o CC [M] build-powerpc/modules/avcodec/decode.o CC [M] build-powerpc/modules/avcodec/encode.o CC [M] build-powerpc/modules/avcodec/h263.o CC [M] build-powerpc/modules/avcodec/h265.o CC [M] build-powerpc/modules/avcodec/sdp.o CC [M] build-powerpc/modules/avformat/avformat.o CC [M] build-powerpc/modules/avformat/audio.o CC [M] build-powerpc/modules/avformat/video.o CC [M] build-powerpc/modules/cons/cons.o CC [M] build-powerpc/modules/dtls_srtp/dtls_srtp.o CC [M] build-powerpc/modules/dtls_srtp/srtp.o CC [M] build-powerpc/modules/dtls_srtp/dtls.o CC [M] build-powerpc/modules/evdev/evdev.o In file included from modules/aac/sdp.c:8: /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/fortify/strings.h: In function 'bcopy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/fortify/strings.h:43:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 43 | return __orig_bcopy(__s, __d, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/fortify/strings.h:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/strings.h:18:6: note: declared here 18 | void bcopy (const void *, void *, size_t); | ^~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/fortify/strings.h: In function 'bzero': /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/fortify/strings.h:52:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 52 | return __orig_bzero(__s, __n); | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-13.3.0_musl/include/strings.h:19:6: note: declared here 19 | void bzero (void *, size_t); | ^~~~~ CC [M] build-powerpc/modules/evdev/print.o CC [M] build-powerpc/modules/g711/g711.o CC [M] build-powerpc/modules/g722/g722.o CC [M] build-powerpc/modules/g726/g726.o CC [M] build-powerpc/modules/ctrl_dbus/baresipbus.o CC [M] build-powerpc/modules/ctrl_dbus/ctrl_dbus.o CC [M] build-powerpc/modules/gst/gst.o CC [M] build-powerpc/modules/gst_video/gst_video.o modules/amr/amr.c:161:12: warning: 'decode_update' defined but not used [-Wunused-function] 161 | static int decode_update(struct audec_state **adsp, | ^~~~~~~~~~~~~ modules/amr/amr.c:113:12: warning: 'encode_update' defined but not used [-Wunused-function] 113 | static int encode_update(struct auenc_state **aesp, | ^~~~~~~~~~~~~ CC [M] build-powerpc/modules/gst_video/encode.o CC [M] build-powerpc/modules/gst_video/sdp.o CC [M] build-powerpc/modules/httpreq/httpreq.o CC [M] build-powerpc/modules/l16/l16.o CC [M] build-powerpc/modules/opus_multistream/decode.o CC [M] build-powerpc/modules/opus_multistream/encode.o CC [M] build-powerpc/modules/opus_multistream/opus_multistream.o CC [M] build-powerpc/modules/opus_multistream/sdp.o CC [M] build-powerpc/modules/mqtt/mqtt.o CC [M] build-powerpc/modules/mqtt/publish.o CC [M] build-powerpc/modules/mqtt/subscribe.o CC [M] build-powerpc/modules/opus/decode.o CC [M] build-powerpc/modules/opus/encode.o CC [M] build-powerpc/modules/opus/opus.o CC [M] build-powerpc/modules/opus/sdp.o CC [M] build-powerpc/modules/oss/oss.o modules/avcodec/avcodec.c: In function 'module_init': modules/avcodec/avcodec.c:149:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | avcodec_h264enc = avcodec_find_encoder_by_name(h264enc); | ^ modules/avcodec/avcodec.c:154:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | avcodec_h264dec = avcodec_find_decoder_by_name(h264dec); | ^ modules/avcodec/avcodec.c:159:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | avcodec_h265enc = avcodec_find_encoder_by_name(h265enc); | ^ modules/avcodec/avcodec.c:160:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | avcodec_h265dec = avcodec_find_decoder_by_name(h265dec); | ^ modules/avcodec/decode.c: In function 'init_decoder': modules/avcodec/decode.c:128:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | st->codec = avcodec_find_decoder(codec_id); | ^ modules/avcodec/decode.c: In function 'ffdecode': modules/avcodec/decode.c:280:25: warning: 'key_frame' is deprecated [-Wdeprecated-declarations] 280 | st->pict->key_frame = hw_frame->key_frame; | ^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavcodec/avcodec.h:36, from modules/avcodec/decode.c:9: /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ modules/avcodec/decode.c:280:25: warning: 'key_frame' is deprecated [-Wdeprecated-declarations] 280 | st->pict->key_frame = hw_frame->key_frame; | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ CC [M] build-powerpc/modules/plc/plc.o modules/avcodec/decode.c:300:17: warning: 'key_frame' is deprecated [-Wdeprecated-declarations] 300 | if (st->pict->key_frame) { | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ CC [M] build-powerpc/modules/portaudio/portaudio.o modules/avformat/avformat.c: In function 'open_codec': modules/avformat/avformat.c:180:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | codec = avcodec_find_decoder(ctx->codec_id); | ^ modules/avformat/avformat.c: In function 'avformat_shared_alloc': modules/avformat/avformat.c:262:30: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | input_format = av_find_input_format(format); | ^ modules/avformat/avformat.c: In function 'module_init': modules/avformat/avformat.c:439:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 439 | avformat_decoder = avcodec_find_decoder_by_name(decoder); | ^ CC [M] build-powerpc/modules/pulse/pulse.o modules/avcodec/encode.c: In function 'init_encoder': modules/avcodec/encode.c:187:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 187 | st->codec = avcodec_find_encoder(st->codec_id); | ^ modules/avcodec/encode.c: In function 'avcodec_encode': modules/avcodec/encode.c:547:17: warning: 'key_frame' is deprecated [-Wdeprecated-declarations] 547 | pict->key_frame = 1; | ^~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavcodec/avcodec.h:36, from modules/avcodec/encode.c:9: /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ CC [M] build-powerpc/modules/pulse/player.o modules/avformat/audio.c: In function 'avformat_audio_alloc': modules/avformat/audio.c:104:14: warning: 'channels' is deprecated [-Wdeprecated-declarations] 104 | sh->au.ctx->sample_rate, sh->au.ctx->channels, | ^~ In file included from modules/avformat/audio.c:13: /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ modules/avformat/audio.c: In function 'avformat_audio_decode': modules/avformat/audio.c:158:17: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] 158 | frame.channel_layout = | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavformat/avformat.h:327, from modules/avformat/audio.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:575:14: note: declared here 575 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ modules/avformat/audio.c:159:25: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations] 159 | av_get_default_channel_layout(frame.channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/opt.h:32, from modules/avformat/audio.c:11: /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/channel_layout.h:506:9: note: declared here 506 | int64_t av_get_default_channel_layout(int nb_channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/avformat/audio.c:159:25: warning: 'channels' is deprecated [-Wdeprecated-declarations] 159 | av_get_default_channel_layout(frame.channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ modules/avformat/audio.c:161:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 161 | frame2.channels = st->ausrc_st->prm.ch; | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ modules/avformat/audio.c:162:17: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] 162 | frame2.channel_layout = | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:575:14: note: declared here 575 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ modules/avformat/audio.c:163:25: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations] 163 | av_get_default_channel_layout(st->ausrc_st->prm.ch); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/channel_layout.h:506:9: note: declared here 506 | int64_t av_get_default_channel_layout(int nb_channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/avformat/audio.c:176:30: warning: 'channels' is deprecated [-Wdeprecated-declarations] 176 | frame2.nb_samples * frame2.channels); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/include/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ CC [M] build-powerpc/modules/pulse/recorder.o CC [M] build-powerpc/modules/snapshot/snapshot.o CC [M] build-powerpc/modules/snapshot/png_vf.o CC [M] build-powerpc/modules/sndfile/sndfile.o CC [M] build-powerpc/modules/speex_pp/speex_pp.o CC [M] build-powerpc/modules/stdio/stdio.o CC [M] build-powerpc/modules/syslog/syslog.o CC [M] build-powerpc/modules/v4l2/v4l2.o CC [M] build-powerpc/modules/v4l2_codec/v4l2_codec.o CC [M] build-powerpc/modules/vp8/decode.o CC [M] build-powerpc/modules/vp8/encode.o CC [M] build-powerpc/modules/vp8/vp8.o modules/portaudio/portaudio.c:8:10: fatal error: portaudio.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~ compilation terminated. CC [M] build-powerpc/modules/vp8/sdp.o CC [M] build-powerpc/modules/vp9/decode.o CC [M] build-powerpc/modules/vp9/encode.o CC [M] build-powerpc/modules/vp9/vp9.o make[4]: *** [mk/mod.mk:49: build-powerpc/modules/portaudio/portaudio.o] Error 1 make[4]: *** Waiting for unfinished jobs.... CC [M] build-powerpc/modules/vp9/sdp.o make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/baresip-1.1.0' make[3]: *** [Makefile:199: /builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/baresip-1.1.0/.built] Error 2 time: package/feeds/telephony/baresip/compile#10.86#3.60#0.81