=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for asterisk-11.25.3nb13 menuselect/menuselect --check-deps menuselect.makeopts menuselect/menuselect --check-deps menuselect.makeopts /tmp/comms/asterisk/work/asterisk-11.25.3/pkgsrc.makeopts Generating embedded module rules ... [CC] astcanary.c -> astcanary.o [LD] astcanary.o -> astcanary [CC] astdb2sqlite3.c -> astdb2sqlite3.o [CC] hash/hash.c -> hash/hash.o [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o [CC] hash/hash_buf.c -> hash/hash_buf.o [CC] hash/hash_func.c -> hash/hash_func.o [CC] hash/hash_log2.c -> hash/hash_log2.o [CC] hash/hash_page.c -> hash/hash_page.o [CC] hash/ndbm.c -> hash/ndbm.o [CC] btree/bt_close.c -> btree/bt_close.o [CC] btree/bt_conv.c -> btree/bt_conv.o [CC] btree/bt_debug.c -> btree/bt_debug.o [CC] btree/bt_delete.c -> btree/bt_delete.o [CC] btree/bt_get.c -> btree/bt_get.o [CC] btree/bt_open.c -> btree/bt_open.o [CC] btree/bt_overflow.c -> btree/bt_overflow.o [CC] btree/bt_page.c -> btree/bt_page.o [CC] btree/bt_put.c -> btree/bt_put.o [CC] btree/bt_search.c -> btree/bt_search.o [CC] btree/bt_seq.c -> btree/bt_seq.o [CC] btree/bt_split.c -> btree/bt_split.o [CC] btree/bt_utils.c -> btree/bt_utils.o [CC] db/db.c -> db/db.o [CC] mpool/mpool.c -> mpool/mpool.o [CC] recno/rec_close.c -> recno/rec_close.o [CC] recno/rec_delete.c -> recno/rec_delete.o [CC] recno/rec_get.c -> recno/rec_get.o [CC] recno/rec_open.c -> recno/rec_open.o [CC] recno/rec_put.c -> recno/rec_put.o [CC] recno/rec_search.c -> recno/rec_search.o [CC] recno/rec_seq.c -> recno/rec_seq.o [CC] recno/rec_utils.c -> recno/rec_utils.o [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a [LD] astdb2sqlite3.o db1-ast/libdb1.a -> astdb2sqlite3 [CC] astdb2bdb.c -> astdb2bdb.o [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb [CC] eagi-test.c -> eagi-test.o [CC] strcompat.c -> strcompat.o [LD] eagi-test.o strcompat.o -> eagi-test [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o [LD] eagi-sphinx-test.o -> eagi-sphinx-test [CC] chan_sip.c -> chan_sip.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: chan_sip.c: In function 'sip_show_channelstats': chan_sip.c:20703:36: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 7 [-Wformat-truncation=] snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^ chan_sip.c:20703:36: note: directive argument in the range [-59, 59] chan_sip.c:20703:36: note: directive argument in the range [-59, 59] chan_sip.c:20703:3: note: '__builtin_snprintf' output between 9 and 16 bytes into a destination of size 10 snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^ chan_sip.c: In function 'construct_pidf_body.constprop': chan_sip.c:8363:22: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(buf, size, "%08lx%08lx%08lx%08lx", (unsigned long)val[0], (unsigned long)val[1], (unsigned long)val[2], (unsigned long)val[3]); ^ chan_sip.c:8363:2: note: '__builtin_snprintf' output between 33 and 65 bytes into a destination of size 32 snprintf(buf, size, "%08lx%08lx%08lx%08lx", (unsigned long)val[0], (unsigned long)val[1], (unsigned long)val[2], (unsigned long)val[3]); ^ chan_sip.c: In function 'transmit_cc_notify.isra.130': chan_sip.c:14797:34: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 503 [-Wformat-truncation=] snprintf(uri, sizeof(uri) - 1, "cc-URI: %s\r\n", agent_pvt->notify_uri); ^ chan_sip.c:14797:3: note: '__builtin_snprintf' output between 11 and 522 bytes into a destination of size 511 snprintf(uri, sizeof(uri) - 1, "cc-URI: %s\r\n", agent_pvt->notify_uri); ^ [CC] sip/utils.c -> sip/utils.o [CC] sip/config_parser.c -> sip/config_parser.o [CC] sip/srtp.c -> sip/srtp.o [CC] sip/reqresp_parser.c -> sip/reqresp_parser.o [CC] sip/sdp_crypto.c -> sip/sdp_crypto.o [CC] sip/dialplan_functions.c -> sip/dialplan_functions.o [CC] sip/security_events.c -> sip/security_events.o [LD] chan_sip.o sip/utils.o sip/config_parser.o sip/srtp.o sip/reqresp_parser.o sip/sdp_crypto.o sip/dialplan_functions.o sip/security_events.o -> chan_sip.so [CC] chan_bridge.c -> chan_bridge.o [LD] chan_bridge.o -> chan_bridge.so [CC] chan_skinny.c -> chan_skinny.o chan_skinny.c: In function 'handle_stimulus_message': chan_skinny.c:5702:6: warning: variable 'callreference' set but not used [-Wunused-but-set-variable] int callreference; ^~~~~~~~~~~~~ [LD] chan_skinny.o -> chan_skinny.so [CC] chan_agent.c -> chan_agent.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from chan_agent.c:39: chan_agent.c: In function 'agentmonitoroutgoing_exec': chan_agent.c:2263:107: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 74 [-Wformat-truncation=] if (changeoutgoing) snprintf(ast_channel_cdr(chan)->channel, sizeof(ast_channel_cdr(chan)->channel), "Agent/%s", p->agent); ^ chan_agent.c:2263:26: note: '__builtin_snprintf' output between 7 and 86 bytes into a destination of size 80 if (changeoutgoing) snprintf(ast_channel_cdr(chan)->channel, sizeof(ast_channel_cdr(chan)->channel), "Agent/%s", p->agent); ^ chan_agent.c: In function 'login_exec': chan_agent.c:2060:38: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 74 [-Wformat-truncation=] snprintf(agent, sizeof(agent), "Agent/%s", p->agent); ^ chan_agent.c:2060:7: note: '__builtin_snprintf' output between 7 and 86 bytes into a destination of size 80 snprintf(agent, sizeof(agent), "Agent/%s", p->agent); ^ chan_agent.c: In function 'agent_logoff_cmd': chan_agent.c:1698:33: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 74 [-Wformat-truncation=] snprintf(name, sizeof(name), "Agent/%s", p->agent); ^ chan_agent.c:1698:4: note: '__builtin_snprintf' output between 7 and 86 bytes into a destination of size 80 snprintf(name, sizeof(name), "Agent/%s", p->agent); ^ [LD] chan_agent.o -> chan_agent.so [CC] chan_mgcp.c -> chan_mgcp.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from chan_mgcp.c:37: chan_mgcp.c: In function 'start_rtp': chan_mgcp.c:2961:45: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size between 64 and 72 [-Wformat-truncation=] snprintf(sub->callid, sizeof(sub->callid), "%08lx%s", (unsigned long)ast_random(), sub->txident); ^ chan_mgcp.c:2961:2: note: '__builtin_snprintf' output between 9 and 96 bytes into a destination of size 80 snprintf(sub->callid, sizeof(sub->callid), "%08lx%s", (unsigned long)ast_random(), sub->txident); ^ [LD] chan_mgcp.o -> chan_mgcp.so [CC] chan_oss.c -> chan_oss.o [CC] console_video.c -> console_video.o [CC] vgrabbers.c -> vgrabbers.o [CC] console_board.c -> console_board.o [LD] chan_oss.o console_video.o vgrabbers.o console_board.o -> chan_oss.so [CC] chan_motif.c -> chan_motif.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from chan_motif.c:37: chan_motif.c: In function 'jingle_request': chan_motif.c:1794:38: warning: '%s' directive output may be truncated writing up to 1022 bytes into a region of size 199 [-Wformat-truncation=] snprintf(target, sizeof(target), "%s/%s", args.target, resource->resource); ^ chan_motif.c:1794:5: note: '__builtin_snprintf' output 2 or more bytes (assuming 1024) into a destination of size 200 snprintf(target, sizeof(target), "%s/%s", args.target, resource->resource); ^ chan_motif.c:1798:38: warning: '%s' directive output may be truncated writing up to 1022 bytes into a region of size 199 [-Wformat-truncation=] snprintf(target, sizeof(target), "%s/%s", args.target, resource->resource); ^ chan_motif.c:1798:5: note: '__builtin_snprintf' output 2 or more bytes (assuming 1024) into a destination of size 200 snprintf(target, sizeof(target), "%s/%s", args.target, resource->resource); ^ [LD] chan_motif.o -> chan_motif.so [CC] chan_multicast_rtp.c -> chan_multicast_rtp.o [LD] chan_multicast_rtp.o -> chan_multicast_rtp.so [CC] chan_local.c -> chan_local.o [LD] chan_local.o -> chan_local.so [CC] chan_iax2.c -> chan_iax2.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from chan_iax2.c:39: chan_iax2.c: In function 'reload_firmware': chan_iax2.c:3375:31: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 255 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s/%s", dir, de->d_name); ^ chan_iax2.c:3375:6: note: '__builtin_snprintf' output 2 or more bytes (assuming 513) into a destination of size 256 snprintf(fn, sizeof(fn), "%s/%s", dir, de->d_name); ^ [CC] iax2-parser.c -> iax2-parser.o [CC] iax2-provision.c -> iax2-provision.o [LD] chan_iax2.o iax2-parser.o iax2-provision.o -> chan_iax2.so [CC] chan_unistim.c -> chan_unistim.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from chan_unistim.c:39: chan_unistim.c: In function 'handle_select_codec': chan_unistim.c:3623:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buf2, sizeof(buf2), " %d", pte->device->codec_number); ^ chan_unistim.c:3623:2: note: '__builtin_snprintf' output between 3 and 6 bytes into a destination of size 5 snprintf(buf2, sizeof(buf2), " %d", pte->device->codec_number); ^ chan_unistim.c: In function 'reload_config': chan_unistim.c:6482:48: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 75 [-Wformat-truncation=] snprintf(l->fullname, sizeof(l->fullname), "USTM/%s@%s", l->name, d->name); ^ chan_unistim.c:6482:5: note: '__builtin_snprintf' output between 7 and 101 bytes into a destination of size 80 snprintf(l->fullname, sizeof(l->fullname), "USTM/%s@%s", l->name, d->name); ^ chan_unistim.c: In function 'parsing': chan_unistim.c:1991:56: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 75 [-Wformat-truncation=] snprintf(newl->fullname, sizeof(newl->fullname), "USTM/%s@%s", ^ chan_unistim.c:1991:7: note: '__builtin_snprintf' output between 7 and 101 bytes into a destination of size 80 snprintf(newl->fullname, sizeof(newl->fullname), "USTM/%s@%s", ^ [LD] chan_unistim.o -> chan_unistim.so [CC] pbx_config.c -> pbx_config.o [LD] pbx_config.o -> pbx_config.so [CC] pbx_loopback.c -> pbx_loopback.o [LD] pbx_loopback.o -> pbx_loopback.so [CC] pbx_dundi.c -> pbx_dundi.o [CC] dundi-parser.c -> dundi-parser.o [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so [CC] pbx_ael.c -> pbx_ael.o [LD] pbx_ael.o -> pbx_ael.so [CC] pbx_realtime.c -> pbx_realtime.o [LD] pbx_realtime.o -> pbx_realtime.so [CC] pbx_spool.c -> pbx_spool.o [LD] pbx_spool.o -> pbx_spool.so [CC] app_externalivr.c -> app_externalivr.o [LD] app_externalivr.o -> app_externalivr.so [CC] app_macro.c -> app_macro.o [LD] app_macro.o -> app_macro.so [CC] app_directed_pickup.c -> app_directed_pickup.o [LD] app_directed_pickup.o -> app_directed_pickup.so [CC] app_db.c -> app_db.o [LD] app_db.o -> app_db.so [CC] app_amd.c -> app_amd.o [LD] app_amd.o -> app_amd.so [CC] app_parkandannounce.c -> app_parkandannounce.o [LD] app_parkandannounce.o -> app_parkandannounce.so [CC] app_adsiprog.c -> app_adsiprog.o [LD] app_adsiprog.o -> app_adsiprog.so [CC] app_originate.c -> app_originate.o [LD] app_originate.o -> app_originate.so [CC] app_playtones.c -> app_playtones.o [LD] app_playtones.o -> app_playtones.so [CC] app_verbose.c -> app_verbose.o [LD] app_verbose.o -> app_verbose.so [CC] app_transfer.c -> app_transfer.o [LD] app_transfer.o -> app_transfer.so [CC] app_waitforring.c -> app_waitforring.o [LD] app_waitforring.o -> app_waitforring.so [CC] app_zapateller.c -> app_zapateller.o [LD] app_zapateller.o -> app_zapateller.so [CC] app_festival.c -> app_festival.o [LD] app_festival.o -> app_festival.so [CC] app_disa.c -> app_disa.o [LD] app_disa.o -> app_disa.so [CC] app_mp3.c -> app_mp3.o [LD] app_mp3.o -> app_mp3.so [CC] app_senddtmf.c -> app_senddtmf.o [LD] app_senddtmf.o -> app_senddtmf.so [CC] app_channelredirect.c -> app_channelredirect.o [LD] app_channelredirect.o -> app_channelredirect.so [CC] app_echo.c -> app_echo.o [LD] app_echo.o -> app_echo.so [CC] app_readexten.c -> app_readexten.o [LD] app_readexten.o -> app_readexten.so [CC] app_stack.c -> app_stack.o [LD] app_stack.o -> app_stack.so [CC] app_confbridge.c -> app_confbridge.o [CC] confbridge/conf_state_inactive.c -> confbridge/conf_state_inactive.o [CC] confbridge/conf_config_parser.c -> confbridge/conf_config_parser.o [CC] confbridge/conf_state_empty.c -> confbridge/conf_state_empty.o [CC] confbridge/conf_state_multi.c -> confbridge/conf_state_multi.o [CC] confbridge/conf_state_multi_marked.c -> confbridge/conf_state_multi_marked.o [CC] confbridge/conf_state_single.c -> confbridge/conf_state_single.o [CC] confbridge/conf_state.c -> confbridge/conf_state.o [CC] confbridge/conf_state_single_marked.c -> confbridge/conf_state_single_marked.o [LD] app_confbridge.o confbridge/conf_state_inactive.o confbridge/conf_config_parser.o confbridge/conf_state_empty.o confbridge/conf_state_multi.o confbridge/conf_state_multi_marked.o confbridge/conf_state_single.o confbridge/conf_state.o confbridge/conf_state_single_marked.o -> app_confbridge.so [CC] app_userevent.c -> app_userevent.o [LD] app_userevent.o -> app_userevent.so [CC] app_chanisavail.c -> app_chanisavail.o [LD] app_chanisavail.o -> app_chanisavail.so [CC] app_url.c -> app_url.o [LD] app_url.o -> app_url.so [CC] app_talkdetect.c -> app_talkdetect.o [LD] app_talkdetect.o -> app_talkdetect.so [CC] app_image.c -> app_image.o [LD] app_image.o -> app_image.so [CC] app_minivm.c -> app_minivm.o app_minivm.c: In function 'minivm_greet_exec': app_minivm.c:2244:8: warning: 'argv[0]' is used uninitialized in this function [-Wuninitialized] char *username = argv[0]; ^~~~~~~~ [LD] app_minivm.o -> app_minivm.so [CC] app_voicemail.c -> app_voicemail.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: app_voicemail.c: In function 'adsi_message': app_voicemail.c:7272:29: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(fn2, sizeof(fn2), "%s.txt", vms->fn); ^ app_voicemail.c:7272:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(fn2, sizeof(fn2), "%s.txt", vms->fn); ^ app_voicemail.c: In function 'message_range_and_existence_check.isra.14': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:15262:41: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:15262:4: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c: In function 'message_range_and_existence_check.isra.14.constprop': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:15262:41: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:15262:4: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c: In function 'save_to_folder.isra.22.constprop': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c: In function 'close_mailbox': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:4405:31: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(stxt, sizeof(stxt), "%s.txt", sfn); ^ app_voicemail.c:4405:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(stxt, sizeof(stxt), "%s.txt", sfn); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c: In function 'play_message_by_id': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c: In function 'vm_msg_play': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:15713:39: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms.fn); ^ app_voicemail.c:15713:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.txt", vms.fn); ^ app_voicemail.c: In function 'vm_mailbox_snapshot_create': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:15002:40: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:15002:3: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c: In function 'play_message': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:8524:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:8524:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 256 snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c: In function 'vm_msg_forward': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:15401:40: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", from_vms.fn); ^ app_voicemail.c:15401:3: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.txt", from_vms.fn); ^ app_voicemail.c: In function 'advanced_options': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:14496:39: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:14496:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c: In function 'forward_message.constprop': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:7727:32: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(duration_buf, 11, "%ld", *duration); ^ app_voicemail.c:7727:5: note: '__builtin_snprintf' output between 2 and 12 bytes into a destination of size 11 snprintf(duration_buf, 11, "%ld", *duration); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c: In function 'vm_execmain': app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:29: warning: '/msg' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^ app_voicemail.c:1856:9: note: '__builtin_snprintf' output between 9 and 1039 bytes into a destination of size 1024 return snprintf(dest, len, "%s/msg%04d", dir, num); ^ [LD] app_voicemail.o -> app_voicemail.so [CC] app_morsecode.c -> app_morsecode.o [LD] app_morsecode.o -> app_morsecode.so [CC] app_system.c -> app_system.o [LD] app_system.o -> app_system.so [CC] app_privacy.c -> app_privacy.o [LD] app_privacy.o -> app_privacy.so [CC] app_waituntil.c -> app_waituntil.o [LD] app_waituntil.o -> app_waituntil.so [CC] app_sms.c -> app_sms.o [LD] app_sms.o -> app_sms.so [CC] app_directory.c -> app_directory.o [LD] app_directory.o -> app_directory.so [CC] app_nbscat.c -> app_nbscat.o [LD] app_nbscat.o -> app_nbscat.so [CC] app_record.c -> app_record.o [LD] app_record.o -> app_record.so [CC] app_forkcdr.c -> app_forkcdr.o [LD] app_forkcdr.o -> app_forkcdr.so [CC] app_read.c -> app_read.o [LD] app_read.o -> app_read.so [CC] app_waitforsilence.c -> app_waitforsilence.o [LD] app_waitforsilence.o -> app_waitforsilence.so [CC] app_controlplayback.c -> app_controlplayback.o [LD] app_controlplayback.o -> app_controlplayback.so [CC] app_page.c -> app_page.o [LD] app_page.o -> app_page.so [CC] app_exec.c -> app_exec.o [LD] app_exec.o -> app_exec.so [CC] app_chanspy.c -> app_chanspy.o In file included from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/config.h:30:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/channel.h:143, from app_chanspy.c:45: app_chanspy.c: In function 'dahdiscan_exec': /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/utils.h:78:35: warning: 'flags.flags' is used uninitialized in this function [-Wuninitialized] typeof ((p)->flags) __p = (p)->flags; \ ^~ [LD] app_chanspy.o -> app_chanspy.so [CC] app_authenticate.c -> app_authenticate.o [LD] app_authenticate.o -> app_authenticate.so [CC] app_celgenuserevent.c -> app_celgenuserevent.o [LD] app_celgenuserevent.o -> app_celgenuserevent.so [CC] app_cdr.c -> app_cdr.o [LD] app_cdr.o -> app_cdr.so [CC] app_while.c -> app_while.o [LD] app_while.o -> app_while.so [CC] app_queue.c -> app_queue.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from app_queue.c:64: app_queue.c: In function 'try_calling': app_queue.c:5753:49: warning: ',MEMBERREALTIME=' directive output may be truncated writing 16 bytes into a region of size between 0 and 165 [-Wformat-truncation=] snprintf(interfacevar, sizeof(interfacevar), "MEMBERINTERFACE=%s,MEMBERNAME=%s,MEMBERCALLS=%d,MEMBERLASTCALL=%jd,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d", ^ app_queue.c:5753:4: note: '__builtin_snprintf' output between 109 and 326 bytes into a destination of size 256 snprintf(interfacevar, sizeof(interfacevar), "MEMBERINTERFACE=%s,MEMBERNAME=%s,MEMBERCALLS=%d,MEMBERLASTCALL=%jd,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d", ^ [LD] app_queue.o -> app_queue.so [CC] app_dial.c -> app_dial.o [LD] app_dial.o -> app_dial.so [CC] app_speech_utils.c -> app_speech_utils.o [LD] app_speech_utils.o -> app_speech_utils.so [CC] app_test.c -> app_test.o [LD] app_test.o -> app_test.so [CC] app_ices.c -> app_ices.o [LD] app_ices.o -> app_ices.so [CC] app_dictate.c -> app_dictate.o [LD] app_dictate.o -> app_dictate.so [CC] app_playback.c -> app_playback.o [LD] app_playback.o -> app_playback.so [CC] app_sendtext.c -> app_sendtext.o [LD] app_sendtext.o -> app_sendtext.so [CC] app_sayunixtime.c -> app_sayunixtime.o [LD] app_sayunixtime.o -> app_sayunixtime.so [CC] app_alarmreceiver.c -> app_alarmreceiver.o [LD] app_alarmreceiver.o -> app_alarmreceiver.so [CC] app_followme.c -> app_followme.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from app_followme.c:36: app_followme.c: In function 'clear_caller': app_followme.c:576:30: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 250 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "Local/%s", tmpuser->dialarg); ^ app_followme.c:576:3: note: '__builtin_snprintf' output between 7 and 262 bytes into a destination of size 256 snprintf(tmp, sizeof(tmp), "Local/%s", tmpuser->dialarg); ^ app_followme.c: In function 'app_exec': app_followme.c:1531:28: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s.%s", targs->namerecloc, ^ app_followme.c:1531:3: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(fn, sizeof(fn), "%s.%s", targs->namerecloc, ^ [LD] app_followme.o -> app_followme.so [CC] app_getcpeid.c -> app_getcpeid.o [LD] app_getcpeid.o -> app_getcpeid.so [CC] app_milliwatt.c -> app_milliwatt.o [LD] app_milliwatt.o -> app_milliwatt.so [CC] app_mixmonitor.c -> app_mixmonitor.o [LD] app_mixmonitor.o -> app_mixmonitor.so [CC] app_softhangup.c -> app_softhangup.o [LD] app_softhangup.o -> app_softhangup.so [CC] app_dumpchan.c -> app_dumpchan.o [LD] app_dumpchan.o -> app_dumpchan.so [CC] anaFilter.c -> anaFilter.o [CC] constants.c -> constants.o [CC] createCB.c -> createCB.o [CC] doCPLC.c -> doCPLC.o [CC] enhancer.c -> enhancer.o [CC] filter.c -> filter.o [CC] FrameClassify.c -> FrameClassify.o [CC] gainquant.c -> gainquant.o [CC] getCBvec.c -> getCBvec.o [CC] helpfun.c -> helpfun.o [CC] hpInput.c -> hpInput.o [CC] hpOutput.c -> hpOutput.o [CC] iCBConstruct.c -> iCBConstruct.o [CC] iCBSearch.c -> iCBSearch.o [CC] iLBC_decode.c -> iLBC_decode.o [CC] iLBC_encode.c -> iLBC_encode.o [CC] iLBC_test.c -> iLBC_test.o [CC] LPCdecode.c -> LPCdecode.o [CC] LPCencode.c -> LPCencode.o [CC] lsf.c -> lsf.o [CC] packing.c -> packing.o [CC] StateConstructW.c -> StateConstructW.o [CC] StateSearchW.c -> StateSearchW.o [CC] syntFilter.c -> syntFilter.o [AR] anaFilter.o constants.o createCB.o doCPLC.o enhancer.o filter.o FrameClassify.o gainquant.o getCBvec.o helpfun.o hpInput.o hpOutput.o iCBConstruct.o iCBSearch.o iLBC_decode.o iLBC_encode.o iLBC_test.o LPCdecode.o LPCencode.o lsf.o packing.o StateConstructW.o StateSearchW.o syntFilter.o -> libilbc.a [CC] f2clib.c -> f2clib.o [CC] analys.c -> analys.o [CC] bsynz.c -> bsynz.o [CC] chanwr.c -> chanwr.o [CC] dcbias.c -> dcbias.o [CC] decode.c -> decode.o [CC] deemp.c -> deemp.o [CC] difmag.c -> difmag.o [CC] dyptrk.c -> dyptrk.o [CC] encode.c -> encode.o [CC] energy.c -> energy.o [CC] ham84.c -> ham84.o [CC] hp100.c -> hp100.o [CC] invert.c -> invert.o invert.c: In function 'invert_': invert.c:167:24: warning: array subscript is above array bounds [-Warray-bounds] rc[j] -= rc[k] * v[j + k * 10 - 11]; ~^~~~~~~~~~~~~~~~~ [CC] irc2pc.c -> irc2pc.o irc2pc.c: In function 'irc2pc_': irc2pc.c:145:12: warning: 'temp[9]' may be used uninitialized in this function [-Wmaybe-uninitialized] pc[j] = temp[j - 1]; ~~~~~~^~~~~~~~~~~~~ irc2pc.c:145:12: warning: 'temp[8]' may be used uninitialized in this function [-Wmaybe-uninitialized] irc2pc.c:145:12: warning: 'temp[7]' may be used uninitialized in this function [-Wmaybe-uninitialized] [CC] ivfilt.c -> ivfilt.o [CC] lpcdec.c -> lpcdec.o [CC] lpcenc.c -> lpcenc.o [CC] lpcini.c -> lpcini.o [CC] lpfilt.c -> lpfilt.o [CC] median.c -> median.o [CC] mload.c -> mload.o [CC] onset.c -> onset.o [CC] pitsyn.c -> pitsyn.o [CC] placea.c -> placea.o [CC] placev.c -> placev.o [CC] preemp.c -> preemp.o [CC] prepro.c -> prepro.o [CC] random.c -> random.o [CC] rcchk.c -> rcchk.o [CC] synths.c -> synths.o [CC] tbdm.c -> tbdm.o [CC] voicin.c -> voicin.o [CC] vparms.c -> vparms.o [AR] f2clib.o analys.o bsynz.o chanwr.o dcbias.o decode.o deemp.o difmag.o dyptrk.o encode.o energy.o ham84.o hp100.o invert.o irc2pc.o ivfilt.o lpcdec.o lpcenc.o lpcini.o lpfilt.o median.o mload.o onset.o pitsyn.o placea.o placev.o preemp.o prepro.o random.o rcchk.o synths.o tbdm.o voicin.o vparms.o -> liblpc10.a [CC] src/add.c -> src/add.o [CC] src/code.c -> src/code.o [CC] src/debug.c -> src/debug.o [CC] src/decode.c -> src/decode.o [CC] src/long_term.c -> src/long_term.o [CC] src/lpc.c -> src/lpc.o [CC] src/preprocess.c -> src/preprocess.o [CC] src/rpe.c -> src/rpe.o [CC] src/gsm_destroy.c -> src/gsm_destroy.o [CC] src/gsm_decode.c -> src/gsm_decode.o [CC] src/gsm_encode.c -> src/gsm_encode.o [CC] src/gsm_explode.c -> src/gsm_explode.o [CC] src/gsm_implode.c -> src/gsm_implode.o [CC] src/gsm_create.c -> src/gsm_create.o [CC] src/gsm_print.c -> src/gsm_print.o [CC] src/gsm_option.c -> src/gsm_option.o [CC] src/short_term.c -> src/short_term.o [CC] src/table.c -> src/table.o [AR] src/add.o src/code.o src/debug.o src/decode.o src/long_term.o src/lpc.o src/preprocess.o src/rpe.o src/gsm_destroy.o src/gsm_decode.o src/gsm_encode.o src/gsm_explode.o src/gsm_implode.o src/gsm_create.o src/gsm_print.o src/gsm_option.o src/short_term.o src/table.o -> lib/libgsm.a [CC] codec_alaw.c -> codec_alaw.o [LD] codec_alaw.o -> codec_alaw.so [CC] codec_g722.c -> codec_g722.o [CC] g722/g722_encode.c -> g722/g722_encode.o [CC] g722/g722_decode.c -> g722/g722_decode.o [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so [CC] codec_adpcm.c -> codec_adpcm.o [LD] codec_adpcm.o -> codec_adpcm.so [CC] codec_resample.c -> codec_resample.o [CC] speex/resample.c -> speex/resample.o [LD] codec_resample.o speex/resample.o -> codec_resample.so [CC] codec_ulaw.c -> codec_ulaw.o [LD] codec_ulaw.o -> codec_ulaw.so [CC] codec_ilbc.c -> codec_ilbc.o [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so [CC] codec_g726.c -> codec_g726.o [LD] codec_g726.o -> codec_g726.so [CC] codec_a_mu.c -> codec_a_mu.o [LD] codec_a_mu.o -> codec_a_mu.so [CC] codec_lpc10.c -> codec_lpc10.o [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so [CC] codec_gsm.c -> codec_gsm.o [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so [CC] codec_speex.c -> codec_speex.o [LD] codec_speex.o -> codec_speex.so [CC] format_g729.c -> format_g729.o [LD] format_g729.o -> format_g729.so [CC] format_vox.c -> format_vox.o [LD] format_vox.o -> format_vox.so [CC] format_wav.c -> format_wav.o [LD] format_wav.o -> format_wav.so [CC] format_gsm.c -> format_gsm.o [LD] format_gsm.o -> format_gsm.so [CC] format_ilbc.c -> format_ilbc.o [LD] format_ilbc.o -> format_ilbc.so [CC] format_siren14.c -> format_siren14.o [LD] format_siren14.o -> format_siren14.so [CC] format_h263.c -> format_h263.o [LD] format_h263.o -> format_h263.so [CC] format_siren7.c -> format_siren7.o [LD] format_siren7.o -> format_siren7.so [CC] format_g726.c -> format_g726.o [LD] format_g726.o -> format_g726.so [CC] format_pcm.c -> format_pcm.o [LD] format_pcm.o -> format_pcm.so [CC] format_wav_gsm.c -> format_wav_gsm.o [LD] format_wav_gsm.o -> format_wav_gsm.so [CC] format_jpeg.c -> format_jpeg.o [LD] format_jpeg.o -> format_jpeg.so [CC] format_g723.c -> format_g723.o [LD] format_g723.o -> format_g723.so [CC] format_g719.c -> format_g719.o [LD] format_g719.o -> format_g719.so [CC] format_sln.c -> format_sln.o [LD] format_sln.o -> format_sln.so [CC] format_h264.c -> format_h264.o [LD] format_h264.o -> format_h264.so [CC] cdr_manager.c -> cdr_manager.o [LD] cdr_manager.o -> cdr_manager.so [CC] cdr_custom.c -> cdr_custom.o [LD] cdr_custom.o -> cdr_custom.so [CC] cdr_csv.c -> cdr_csv.o [LD] cdr_csv.o -> cdr_csv.so [CC] cdr_syslog.c -> cdr_syslog.o [LD] cdr_syslog.o -> cdr_syslog.so [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so [CC] cel_manager.c -> cel_manager.o [LD] cel_manager.o -> cel_manager.so [CC] cel_custom.c -> cel_custom.o [LD] cel_custom.o -> cel_custom.so [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so [CC] bridge_builtin_features.c -> bridge_builtin_features.o [LD] bridge_builtin_features.o -> bridge_builtin_features.so [CC] bridge_simple.c -> bridge_simple.o [LD] bridge_simple.o -> bridge_simple.so [CC] bridge_softmix.c -> bridge_softmix.o In file included from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/frame.h:37:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/channel.h:141, from bridge_softmix.c:47: bridge_softmix.c: In function 'softmix_bridge_thread': /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/linkedlists.h:833:25: warning: '*((void *)&trans_helper+264)' may be used uninitialized in this function [-Wmaybe-uninitialized] typeof((head)->first) __cur = (head)->first; \ ^~~~~ [LD] bridge_softmix.o -> bridge_softmix.so [CC] bridge_multiplexed.c -> bridge_multiplexed.o [LD] bridge_multiplexed.o -> bridge_multiplexed.so [CC] func_jitterbuffer.c -> func_jitterbuffer.o [LD] func_jitterbuffer.o -> func_jitterbuffer.so [CC] func_aes.c -> func_aes.o [LD] func_aes.o -> func_aes.so [CC] func_devstate.c -> func_devstate.o [LD] func_devstate.o -> func_devstate.so [CC] func_sprintf.c -> func_sprintf.o [LD] func_sprintf.o -> func_sprintf.so [CC] func_sysinfo.c -> func_sysinfo.o [LD] func_sysinfo.o -> func_sysinfo.so [CC] func_enum.c -> func_enum.o [LD] func_enum.o -> func_enum.so [CC] func_pitchshift.c -> func_pitchshift.o [LD] func_pitchshift.o -> func_pitchshift.so [CC] func_curl.c -> func_curl.o [LD] func_curl.o -> func_curl.so [CC] func_strings.c -> func_strings.o [LD] func_strings.o -> func_strings.so [CC] func_module.c -> func_module.o [LD] func_module.o -> func_module.so [CC] func_callerid.c -> func_callerid.o [LD] func_callerid.o -> func_callerid.so [CC] func_speex.c -> func_speex.o [LD] func_speex.o -> func_speex.so [CC] func_global.c -> func_global.o [LD] func_global.o -> func_global.so [CC] func_srv.c -> func_srv.o [LD] func_srv.o -> func_srv.so [CC] func_base64.c -> func_base64.o [LD] func_base64.o -> func_base64.so [CC] func_md5.c -> func_md5.o [LD] func_md5.o -> func_md5.so [CC] func_audiohookinherit.c -> func_audiohookinherit.o [LD] func_audiohookinherit.o -> func_audiohookinherit.so [CC] func_callcompletion.c -> func_callcompletion.o [LD] func_callcompletion.o -> func_callcompletion.so [CC] func_env.c -> func_env.o [LD] func_env.o -> func_env.so [CC] func_dialplan.c -> func_dialplan.o [LD] func_dialplan.o -> func_dialplan.so [CC] func_frame_trace.c -> func_frame_trace.o [LD] func_frame_trace.o -> func_frame_trace.so [CC] func_lock.c -> func_lock.o [LD] func_lock.o -> func_lock.so [CC] func_config.c -> func_config.o [LD] func_config.o -> func_config.so [CC] func_db.c -> func_db.o [LD] func_db.o -> func_db.so [CC] func_blacklist.c -> func_blacklist.o [LD] func_blacklist.o -> func_blacklist.so [CC] func_presencestate.c -> func_presencestate.o [LD] func_presencestate.o -> func_presencestate.so [CC] func_channel.c -> func_channel.o [LD] func_channel.o -> func_channel.so [CC] func_sha1.c -> func_sha1.o [LD] func_sha1.o -> func_sha1.so [CC] func_hangupcause.c -> func_hangupcause.o [LD] func_hangupcause.o -> func_hangupcause.so [CC] func_version.c -> func_version.o [LD] func_version.o -> func_version.so [CC] func_cut.c -> func_cut.o [LD] func_cut.o -> func_cut.so [CC] func_groupcount.c -> func_groupcount.o [LD] func_groupcount.o -> func_groupcount.so [CC] func_dialgroup.c -> func_dialgroup.o [LD] func_dialgroup.o -> func_dialgroup.so [CC] func_uri.c -> func_uri.o [LD] func_uri.o -> func_uri.so [CC] func_cdr.c -> func_cdr.o [LD] func_cdr.o -> func_cdr.so [CC] func_extstate.c -> func_extstate.o [LD] func_extstate.o -> func_extstate.so [CC] func_timeout.c -> func_timeout.o [LD] func_timeout.o -> func_timeout.so [CC] func_rand.c -> func_rand.o [LD] func_rand.o -> func_rand.so [CC] func_iconv.c -> func_iconv.o [LD] func_iconv.o -> func_iconv.so [CC] func_logic.c -> func_logic.o [LD] func_logic.o -> func_logic.so [CC] func_volume.c -> func_volume.o [LD] func_volume.o -> func_volume.so [CC] func_realtime.c -> func_realtime.o [LD] func_realtime.o -> func_realtime.so [CC] func_vmcount.c -> func_vmcount.o [LD] func_vmcount.o -> func_vmcount.so [CC] func_math.c -> func_math.o [LD] func_math.o -> func_math.so [CC] func_shell.c -> func_shell.o [LD] func_shell.o -> func_shell.so [CC] abstract_jb.c -> abstract_jb.o [CC] acl.c -> acl.o [CC] adsi.c -> adsi.o [CC] alaw.c -> alaw.o [CC] aoc.c -> aoc.o [CC] app.c -> app.o [CC] ast_expr2.c -> ast_expr2.o [CC] ast_expr2f.c -> ast_expr2f.o [CC] asterisk.c -> asterisk.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from asterisk.c:66: asterisk.c: In function 'ast_readconfig': asterisk.c:3427:65: warning: '/monitor' directive output may be truncated writing 8 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(cfg_paths.monitor_dir, sizeof(cfg_paths.monitor_dir), "%s/monitor", cfg_paths.spool_dir); ^ asterisk.c:3427:2: note: '__builtin_snprintf' output between 9 and 1032 bytes into a destination of size 1024 snprintf(cfg_paths.monitor_dir, sizeof(cfg_paths.monitor_dir), "%s/monitor", cfg_paths.spool_dir); ^ [CC] astfd.c -> astfd.o [CC] astmm.c -> astmm.o [CC] astobj2.c -> astobj2.o [CC] audiohook.c -> audiohook.o [CC] autochan.c -> autochan.o [CC] autoservice.c -> autoservice.o [CC] bridging.c -> bridging.o [CC] callerid.c -> callerid.o [CC] ccss.c -> ccss.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from ccss.c:28: ccss.c: In function 'build_cc_interfaces_chanvar': ccss.c:3455:57: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(dialstring_search, sizeof(dialstring_search), "%s%c", dialstring, '&'); ^ ccss.c:3455:2: note: '__builtin_snprintf' output between 2 and 81 bytes into a destination of size 80 snprintf(dialstring_search, sizeof(dialstring_search), "%s%c", dialstring, '&'); ^ [CC] cdr.c -> cdr.o [CC] cel.c -> cel.o [CC] channel.c -> channel.o [CC] channel_internal_api.c -> channel_internal_api.o [CC] chanvars.c -> chanvars.o [CC] cli.c -> cli.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from cli.c:30: cli.c: In function 'complete_number.constprop': cli.c:372:34: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(next, sizeof(next), "%u...", prospective[0] / 10); ^ cli.c:372:5: note: '__builtin_snprintf' output between 5 and 13 bytes into a destination of size 12 snprintf(next, sizeof(next), "%u...", prospective[0] / 10); ^ cli.c: In function 'handle_chanlist': cli.c:1007:39: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 7 [-Wformat-truncation=] snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^ cli.c:1007:39: note: directive argument in the range [-59, 59] cli.c:1007:39: note: directive argument in the range [-59, 59] cli.c:1007:6: note: '__builtin_snprintf' output between 9 and 16 bytes into a destination of size 10 snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^ [CC] config.c -> config.o [CC] config_options.c -> config_options.o [CC] data.c -> data.o [CC] datastore.c -> datastore.o [CC] db.c -> db.o [CC] devicestate.c -> devicestate.o [CC] dial.c -> dial.o [CC] dns.c -> dns.o [CC] dnsmgr.c -> dnsmgr.o [CC] dsp.c -> dsp.o [CC] enum.c -> enum.o [CC] event.c -> event.o [CC] features.c -> features.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from features.c:31: features.c: In function 'parkinglot_activate': features.c:5847:36: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 74 [-Wformat-truncation=] snprintf(device, sizeof(device), "park:%s@%s", exten, context); ^ features.c:5847:3: note: '__builtin_snprintf' output 7 or more bytes (assuming 86) into a destination of size 80 snprintf(device, sizeof(device), "park:%s@%s", exten, context); ^ features.c: In function 'ast_bridge_call': features.c:4379:31: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s;%s", ast_channel_cdr(chan)->userfield, ast_channel_cdr(peer)->userfield); ^ features.c:4379:4: note: '__builtin_snprintf' output between 2 and 512 bytes into a destination of size 256 snprintf(tmp, sizeof(tmp), "%s;%s", ast_channel_cdr(chan)->userfield, ast_channel_cdr(peer)->userfield); ^ [CC] file.c -> file.o [CC] fixedjitterbuf.c -> fixedjitterbuf.o [CC] format.c -> format.o [CC] format_cap.c -> format_cap.o [CC] format_pref.c -> format_pref.o [CC] frame.c -> frame.o [CC] framehook.c -> framehook.o [CC] fskmodem.c -> fskmodem.o [CC] global_datastores.c -> global_datastores.o [CC] hashtab.c -> hashtab.o [CC] heap.c -> heap.o [CC] http.c -> http.o [CC] image.c -> image.o [CC] indications.c -> indications.o [CC] io.c -> io.o [CC] jitterbuf.c -> jitterbuf.o [CC] loader.c -> loader.o [CC] lock.c -> lock.o [CC] logger.c -> logger.o [CC] manager.c -> manager.o In file included from /usr/include/stdio.h:597:0, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk.h:27, from manager.c:48: manager.c: In function 'action_coreshowchannels': manager.c:5096:37: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 7 [-Wformat-truncation=] snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^ manager.c:5096:37: note: directive argument in the range [-59, 59] manager.c:5096:37: note: directive argument in the range [-59, 59] manager.c:5096:4: note: '__builtin_snprintf' output between 9 and 16 bytes into a destination of size 10 snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^ [CC] md5.c -> md5.o [CC] message.c -> message.o [CC] named_acl.c -> named_acl.o [CC] netsock.c -> netsock.o [CC] netsock2.c -> netsock2.o [CC] pbx.c -> pbx.o [CC] plc.c -> plc.o [CC] poll.c -> poll.o [CC] presencestate.c -> presencestate.o [CC] privacy.c -> privacy.o [CC] rtp_engine.c -> rtp_engine.o [CC] say.c -> say.o [CC] sched.c -> sched.o [CC] security_events.c -> security_events.o [CC] sha1.c -> sha1.o [CC] sip_api.c -> sip_api.o [CC] slinfactory.c -> slinfactory.o [CC] srv.c -> srv.o [CC] stdtime/localtime.c -> stdtime/localtime.o stdtime/localtime.c: In function 'kqueue_daemon': stdtime/localtime.c:513:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sp = kev.udata; ^ At top level: stdtime/localtime.c:2406:29: warning: 'find_by_locale' defined but not used [-Wunused-function] static struct locale_entry *find_by_locale(locale_t locale) ^~~~~~~~~~~~~~ [CC] strcompat.c -> strcompat.o [CC] strings.c -> strings.o [CC] stun.c -> stun.o [CC] syslog.c -> syslog.o [CC] taskprocessor.c -> taskprocessor.o [CC] tcptls.c -> tcptls.o tcptls.c: In function 'tcptls_stream_close': tcptls.c:401:20: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}' if (!stream->ssl->server) { ^~ tcptls.c:404:5: warning: 'ERR_remove_thread_state' is deprecated [-Wdeprecated-declarations] ERR_remove_thread_state(NULL); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/tcptls.h:66, from tcptls.c:44: /usr/include/openssl/err.h:260:1: note: declared here DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *)) ^ tcptls.c: In function '__ssl_setup': tcptls.c:779:31: warning: implicit declaration of function 'SSLv2_client_method'; did you mean 'SSLv23_client_method'? [-Wimplicit-function-declaration] cfg->ssl_ctx = SSL_CTX_new(SSLv2_client_method()); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method tcptls.c:779:31: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [-Wint-conversion] In file included from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/tcptls.h:66:0, from tcptls.c:44: /usr/include/openssl/ssl.h:1503:17: note: expected 'const SSL_METHOD * {aka const struct ssl_method_st *}' but argument is of type 'int' __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^~~~~~~~~~~ tcptls.c:789:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] cfg->ssl_ctx = SSL_CTX_new(TLSv1_client_method()); ^~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from /tmp/comms/asterisk/work/asterisk-11.25.3/include/asterisk/tcptls.h:66, from tcptls.c:44: /usr/include/openssl/ssl.h:1879:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ make[1]: *** [/tmp/comms/asterisk/work/asterisk-11.25.3/Makefile.rules:144: tcptls.o] Error 1 gmake: *** [Makefile:396: main] Error 2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/comms/asterisk *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/comms/asterisk