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-x86_64_musl/baresip-1.1.0' CC [M] build-x86_64/modules/account/account.o CC [M] build-x86_64/modules/auloop/auloop.o CC [M] build-x86_64/modules/b2bua/b2bua.o CC [M] build-x86_64/modules/contact/contact.o CC [M] build-x86_64/modules/ctrl_tcp/ctrl_tcp.o CC [M] build-x86_64/modules/ctrl_tcp/tcp_netstring.o CC [M] build-x86_64/modules/ctrl_tcp/./netstring/netstring.o CC [M] build-x86_64/modules/debug_cmd/debug_cmd.o CC [M] build-x86_64/modules/ebuacip/ebuacip.o CC [M] build-x86_64/modules/echo/echo.o CC [M] build-x86_64/modules/fakevideo/fakevideo.o CC [M] build-x86_64/modules/httpd/httpd.o CC [M] build-x86_64/modules/ice/ice.o CC [M] build-x86_64/modules/menu/menu.o CC [M] build-x86_64/modules/menu/static_menu.o CC [M] build-x86_64/modules/menu/dynamic_menu.o CC [M] build-x86_64/modules/mwi/mwi.o CC [M] build-x86_64/modules/natpmp/natpmp.o CC [M] build-x86_64/modules/natpmp/libnatpmp.o CC [M] build-x86_64/modules/presence/presence.o CC [M] build-x86_64/modules/presence/subscriber.o CC [M] build-x86_64/modules/presence/notifier.o CC [M] build-x86_64/modules/presence/publisher.o CC [M] build-x86_64/modules/rtcpsummary/rtcpsummary.o CC [M] build-x86_64/modules/selfview/selfview.o CC [M] build-x86_64/modules/serreg/serreg.o CC [M] build-x86_64/modules/srtp/srtp.o CC [M] build-x86_64/modules/srtp/sdes.o CC [M] build-x86_64/modules/stun/stun.o CC [M] build-x86_64/modules/turn/turn.o CC [M] build-x86_64/modules/uuid/uuid.o CC [M] build-x86_64/modules/vidbridge/vidbridge.o CC [M] build-x86_64/modules/vidbridge/src.o CC [M] build-x86_64/modules/vidbridge/disp.o CC [M] build-x86_64/modules/vidinfo/draw.o CC [M] build-x86_64/modules/vidinfo/vidinfo.o CC [M] build-x86_64/modules/vidinfo/xga_font_data.o CC [M] build-x86_64/modules/vidloop/vidloop.o CC [M] build-x86_64/modules/vumeter/vumeter.o CC [M] build-x86_64/modules/mixausrc/mixausrc.o CC [M] build-x86_64/modules/multicast/multicast.o CC [M] build-x86_64/modules/multicast/sender.o CC [M] build-x86_64/modules/multicast/receiver.o CC [M] build-x86_64/modules/multicast/player.o CC [M] build-x86_64/modules/multicast/source.o CC [M] build-x86_64/modules/aubridge/aubridge.o CC [M] build-x86_64/modules/aubridge/device.o CC [M] build-x86_64/modules/aubridge/src.o CC [M] build-x86_64/modules/aubridge/play.o CC [M] build-x86_64/modules/aufile/aufile.o CC [M] build-x86_64/modules/aufile/aufile_play.o CC [M] build-x86_64/modules/ausine/ausine.o CC [M] build-x86_64/modules/aac/decode.o CC [M] build-x86_64/modules/aac/encode.o CC [M] build-x86_64/modules/aac/aac.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-x86_64/modules/aac/sdp.o CC [M] build-x86_64/modules/alsa/alsa.o CC [M] build-x86_64/modules/alsa/alsa_src.o CC [M] build-x86_64/modules/alsa/alsa_play.o CC [M] build-x86_64/modules/amr/amr.o CC [M] build-x86_64/modules/amr/sdp.o CC [M] build-x86_64/modules/avcodec/avcodec.o CC [M] build-x86_64/modules/avcodec/decode.o CC [M] build-x86_64/modules/avcodec/encode.o CC [M] build-x86_64/modules/avcodec/h263.o CC [M] build-x86_64/modules/avcodec/h265.o CC [M] build-x86_64/modules/avcodec/sdp.o CC [M] build-x86_64/modules/avformat/avformat.o CC [M] build-x86_64/modules/avformat/audio.o CC [M] build-x86_64/modules/avformat/video.o CC [M] build-x86_64/modules/cons/cons.o CC [M] build-x86_64/modules/dtls_srtp/dtls_srtp.o CC [M] build-x86_64/modules/dtls_srtp/srtp.o In file included from modules/aac/sdp.c:8: /builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify/strings.h: In function 'bcopy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_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-x86_64_gcc-13.3.0_musl/include/fortify/strings.h:22: /builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/strings.h:18:6: note: declared here 18 | void bcopy (const void *, void *, size_t); | ^~~~~ CC [M] build-x86_64/modules/dtls_srtp/dtls.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify/strings.h: In function 'bzero': /builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_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-x86_64_gcc-13.3.0_musl/include/strings.h:19:6: note: declared here 19 | void bzero (void *, size_t); | ^~~~~ CC [M] build-x86_64/modules/evdev/evdev.o CC [M] build-x86_64/modules/evdev/print.o CC [M] build-x86_64/modules/g711/g711.o CC [M] build-x86_64/modules/g722/g722.o CC [M] build-x86_64/modules/g726/g726.o CC [M] build-x86_64/modules/ctrl_dbus/baresipbus.o CC [M] build-x86_64/modules/ctrl_dbus/ctrl_dbus.o CC [M] build-x86_64/modules/gst/gst.o CC [M] build-x86_64/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-x86_64/modules/gst_video/encode.o modules/evdev/print.c: In function 'print_name': modules/evdev/print.c:30:23: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2164278534' to '-2130688762' [-Woverflow] 30 | if (ioctl(fd, EVIOCGNAME(sizeof(name)), name) < 0) { | ^~~~~~~~~~ modules/evdev/print.c: In function 'print_keys': modules/evdev/print.c:107:23: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2153792801' to '-2141174495' [-Woverflow] 107 | if (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(key_bitmask)), | ^~~~~~~~~ modules/evdev/print.c: In function 'print_leds': modules/evdev/print.c:467:23: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147632433' to '-2147334863' [-Woverflow] 467 | if (ioctl(fd, EVIOCGBIT(EV_LED, sizeof(led_bitmask)), | ^~~~~~~~~ CC [M] build-x86_64/modules/gst_video/sdp.o CC [M] build-x86_64/modules/httpreq/httpreq.o CC [M] build-x86_64/modules/l16/l16.o CC [M] build-x86_64/modules/opus_multistream/decode.o CC [M] build-x86_64/modules/opus_multistream/encode.o CC [M] build-x86_64/modules/opus_multistream/opus_multistream.o CC [M] build-x86_64/modules/opus_multistream/sdp.o CC [M] build-x86_64/modules/mqtt/mqtt.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); | ^ CC [M] build-x86_64/modules/mqtt/publish.o modules/avcodec/avcodec.c: In function 'module_init': modules/avformat/avformat.c: In function 'avformat_shared_alloc': 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/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/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); | ^ CC [M] build-x86_64/modules/mqtt/subscribe.o 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-x86_64/modules/opus/decode.o CC [M] build-x86_64/modules/opus/encode.o CC [M] build-x86_64/modules/opus/opus.o CC [M] build-x86_64/modules/opus/sdp.o CC [M] build-x86_64/modules/oss/oss.o CC [M] build-x86_64/modules/plc/plc.o CC [M] build-x86_64/modules/portaudio/portaudio.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-x86_64_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-x86_64_musl/usr/include/libavformat/avformat.h:327, from modules/avformat/audio.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_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-x86_64_musl/usr/include/libavutil/opt.h:32, from modules/avformat/audio.c:11: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_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-x86_64_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-x86_64_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-x86_64_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-x86_64_musl/usr/include/libavutil/channel_layout.h:506:9: note: declared here 506 | int64_t av_get_default_channel_layout(int nb_channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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-x86_64_musl/usr/include/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ 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-x86_64_musl/usr/include/libavcodec/avcodec.h:36, from modules/avcodec/encode.c:9: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ 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-x86_64_musl/usr/include/libavcodec/avcodec.h:36, from modules/avcodec/decode.c:9: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_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-x86_64_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ 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-x86_64_musl/usr/include/libavutil/frame.h:436:9: note: declared here 436 | int key_frame; | ^~~~~~~~~ CC [M] build-x86_64/modules/pulse/pulse.o CC [M] build-x86_64/modules/pulse/player.o CC [M] build-x86_64/modules/pulse/recorder.o CC [M] build-x86_64/modules/snapshot/snapshot.o CC [M] build-x86_64/modules/snapshot/png_vf.o CC [M] build-x86_64/modules/sndfile/sndfile.o CC [M] build-x86_64/modules/speex_pp/speex_pp.o CC [M] build-x86_64/modules/stdio/stdio.o CC [M] build-x86_64/modules/syslog/syslog.o CC [M] build-x86_64/modules/v4l2/v4l2.o CC [M] build-x86_64/modules/v4l2_codec/v4l2_codec.o CC [M] build-x86_64/modules/vp8/decode.o CC [M] build-x86_64/modules/vp8/encode.o CC [M] build-x86_64/modules/vp8/vp8.o CC [M] build-x86_64/modules/vp8/sdp.o CC [M] build-x86_64/modules/vp9/decode.o CC [M] build-x86_64/modules/vp9/encode.o CC [M] build-x86_64/modules/vp9/vp9.o modules/portaudio/portaudio.c:8:10: fatal error: portaudio.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~ compilation terminated. CC [M] build-x86_64/modules/vp9/sdp.o CC build-x86_64/src/account.o CC build-x86_64/src/aucodec.o CC build-x86_64/src/audio.o make[4]: *** [mk/mod.mk:49: build-x86_64/modules/portaudio/portaudio.o] Error 1 make[4]: *** Waiting for unfinished jobs.... modules/oss/oss.c: In function 'set_fragment': modules/oss/oss.c:98:44: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508106' to '-1073459190' [-Woverflow] 98 | if (0 == ioctl(fd, SNDCTL_DSP_SETFRAGMENT, | ^~~~~~~~~~~~~~~~~~~~~~ modules/oss/oss.c: In function 'oss_reset': modules/oss/oss.c:124:28: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508101' to '-1073459195' [-Woverflow] 124 | if (0 != ioctl(fd, SNDCTL_DSP_SETFMT, &format)) | ^~~~~~~~~~~~~~~~~ modules/oss/oss.c:126:28: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508102' to '-1073459194' [-Woverflow] 126 | if (0 != ioctl(fd, SNDCTL_DSP_CHANNELS, &channels)) | ^~~~~~~~~~~~~~~~~~~ modules/oss/oss.c:130:36: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508099' to '-1073459197' [-Woverflow] 130 | if (0 != ioctl(fd, SNDCTL_DSP_STEREO, &stereo)) | ^~~~~~~~~~~~~~~~~ modules/oss/oss.c:133:28: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508098' to '-1073459198' [-Woverflow] 133 | if (0 != ioctl(fd, SNDCTL_DSP_SPEED, &speed)) | ^~~~~~~~~~~~~~~~ modules/oss/oss.c:136:25: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508100' to '-1073459196' [-Woverflow] 136 | (void)ioctl(fd, SNDCTL_DSP_GETBLKSIZE, &blocksize); | ^~~~~~~~~~~~~~~~~~~~~ modules/v4l2/v4l2.c: In function 'print_video_input': modules/v4l2/v4l2.c:92:38: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147767846' to '-2147199450' [-Woverflow] 92 | if (-1 == v4l2_ioctl(st->fd, VIDIOC_G_INPUT, &input.index)) { | ^~~~~~~~~~~~~~ modules/v4l2/v4l2.c:98:38: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3226490394' to '-1068476902' [-Woverflow] 98 | if (-1 == v4l2_ioctl(st->fd, VIDIOC_ENUMINPUT, &input)) { | ^~~~~~~~~~~~~~~~ modules/v4l2/v4l2.c: In function 'print_framerate': modules/v4l2/v4l2.c:117:32: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3234616853' to '-1060350443' [-Woverflow] 117 | if (v4l2_ioctl(st->fd, VIDIOC_G_PARM, &streamparm) != 0) { | ^~~~~~~~~~~~~ modules/v4l2/v4l2.c: In function 'v4l2_init_device': modules/v4l2/v4l2.c:240:48: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3225441794' to '-1069525502' [-Woverflow] 240 | for (fmts.index=0; !v4l2_ioctl(st->fd, VIDIOC_ENUM_FMT, &fmts); | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/baresip-1.1.0' make[3]: *** [Makefile:199: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/baresip-1.1.0/.built] Error 2 time: package/feeds/telephony/baresip/compile#8.83#2.62#0.78