* Package: net-misc/asterisk-11.25.3 * Repository: gentoo * Maintainer: chainsaw@gentoo.org * USE: abi_x86_64 amd64 caps elibc_glibc iconv kernel_linux samples userland_GNU voicemail_storage_file vorbis * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 4.20.0 * Checking for suitable kernel configuration options... * SIP (NAT) connection tracking is enabled. Some users * have reported that this module dropped critical SIP packets in their deployments. You * may want to disable it if you see such problems. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Adding group 'asterisk' to your system ... * - Groupid: next available * Adding user 'asterisk' to your system ... * - Userid: 149 * - Shell: /sbin/nologin * - Home: /var/lib/asterisk * - Groups: asterisk,dialout * - GECOS: added by portage for asterisk * - Creating /var/lib/asterisk in / >>> Unpacking source... >>> Unpacking asterisk-11.25.3.tar.gz to /var/tmp/portage/net-misc/asterisk-11.25.3/work >>> Unpacking gentoo-asterisk-patchset-3.17.tar.bz2 to /var/tmp/portage/net-misc/asterisk-11.25.3/work >>> Source unpacked in /var/tmp/portage/net-misc/asterisk-11.25.3/work >>> Preparing source in /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3 ... * Applying patches from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-patchset ... * 01-uclibc.patch ... [ ok ] * 02-dahdiras-without-root.patch ... [ ok ] * 03-pbxstart-failed-spurious-bye.patch ... [ ok ] * 04-rtpqos-ast16-compat.patch ... [ ok ] * 05-ac-config-aux-dir.patch ... [ ok ] * 06-invert-gmime-search-order.patch ... [ ok ] * 07-dundi-null-dereference.patch ... [ ok ] * 08-no-var-run-install.patch ... [ ok ] * 09-g729-vad-detection.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3' ... * Running aclocal -I autoconf ... [ ok ] * Running autoconf -I autoconf --force ... [ ok ] * Running autoheader -I autoconf ... [ ok ] * Running elibtoolize in: asterisk-11.25.3/ * Running elibtoolize in: asterisk-11.25.3/main/editline/ * Running elibtoolize in: asterisk-11.25.3/menuselect/ * Running elibtoolize in: asterisk-11.25.3/res/pjproject/ * Running elibtoolize in: asterisk-11.25.3/res/pjproject/third_party/portaudio/ * Applying install-sh/1.5 patch ... * Applying max_cmd_len/1.5.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/1.5 patch ... * Applying target-nm/2.4.2 patch ... * Running elibtoolize in: asterisk-11.25.3/res/pjproject/third_party/srtp/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3 ... * econf: updating asterisk-11.25.3/main/editline/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-11.25.3/main/editline/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-11.25.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-11.25.3/res/pjproject/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-11.25.3/res/pjproject/third_party/srtp/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-11.25.3/res/pjproject/third_party/srtp/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-11.25.3/res/pjproject/third_party/portaudio/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-11.25.3/res/pjproject/third_party/portaudio/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-11.25.3/res/pjproject/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-11.25.3/menuselect/config.sub with /usr/share/gnuconfig/config.sub * econf: updating asterisk-11.25.3/menuselect/config.guess with /usr/share/gnuconfig/config.guess * econf: updating asterisk-11.25.3/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/asterisk-11.25.3 --htmldir=/usr/share/doc/asterisk-11.25.3/html --libdir=/usr/lib64 --localstatedir=/var --with-crypto --with-gsm=internal --with-popt --with-ssl --with-z --without-pwlib --with-cap --without-gmime --without-newt --without-portaudio checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-uname... no checking for uname... /usr/bin/uname checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for GNU make... make checking for egrep... (cached) /bin/grep -E checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for bison... /usr/bin/bison checking for cmp... /usr/bin/cmp checking for flex... /usr/bin/flex checking for grep... (cached) /bin/grep checking for python... /usr/bin/python checking for find... /usr/bin/find checking for compress... : checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking for dot... : checking for wget... /usr/bin/wget checking for curl... /usr/bin/curl checking for rubber... : checking for catdvi... : checking for kpsewhich... /usr/bin/kpsewhich checking for xmllint... /usr/bin/xmllint checking for xmlstarlet... : checking for git... /usr/bin/git checking for ldconfig... /sbin/ldconfig checking for sha1sum... /usr/bin/sha1sum checking for openssl... /usr/bin/openssl checking for bison that supports parse-param... /usr/bin/bison checking for x86_64-pc-linux-gnu-soxmix... no checking for soxmix... no checking for md5... no checking for md5sum... md5sum checking for a sed that does not truncate output... (cached) /bin/sed checking whether x86_64-pc-linux-gnu-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for RAII support... checking for gcc -fnested-functions... no checking for clang strsep/strcmp optimization... no checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.63.0 checking for libcurl >= version 7.10.1... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for x86_64-pc-linux-gnu-xml2-config... /usr/bin/x86_64-pc-linux-gnu-xml2-config checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for long double with more range or precision than double... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... (cached) yes checking for struct stat.st_blksize... yes checking for struct ucred.uid... yes checking for struct ucred.cr_uid... no checking for struct sockpeercred.uid... no checking for struct ifreq.ifr_ifru.ifru_hwaddr... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for ptrdiff_t... yes checking for struct stat.st_mtim... yes checking for struct stat.st_mtimensec... no checking for struct stat.st_mtimespec... no checking for unistd.h... (cached) yes checking for working chown... yes checking whether closedir returns void... no checking for error_at_line... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for utime.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for working strnlen... yes checking for working strtod... yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for asprintf... yes checking for atexit... yes checking for closefrom... no checking for dup2... yes checking for eaccess... yes checking for endpwent... yes checking for euidaccess... yes checking for ffsll... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for gethostname... yes checking for getloadavg... yes checking for gettimeofday... yes checking for glob... yes checking for htonll... no checking for ioperm... yes checking for inet_ntoa... yes checking for isascii... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkdtemp... yes checking for munmap... yes checking for ntohll... no checking for newlocale... yes checking for ppoll... yes checking for putenv... yes checking for re_comp... yes checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strlcat... no checking for strlcpy... no checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strsep... yes checking for strspn... yes checking for strstr... yes checking for strtod... (cached) yes checking for strtol... yes checking for strtold... yes checking for strtoq... yes checking for unsetenv... yes checking for utime... yes checking for vasprintf... yes checking for getpeereid... no checking for sysctl... yes checking for swapctl... no checking for sqrt in -lm... yes checking for exp2... yes checking for log2... yes checking for exp10... yes checking for log10... yes checking for sin... yes checking for cos... yes checking for tan... yes checking for asin... yes checking for acos... yes checking for atan... yes checking for atan2... yes checking for pow... yes checking for rint... yes checking for exp... yes checking for log... yes checking for remainder... yes checking for fmod... yes checking for round... yes checking for roundf... yes checking for trunc... yes checking for floor... yes checking for ceil... yes checking for exp2l... yes checking for log2l... yes checking for exp10l... yes checking for log10l... yes checking for sinl... yes checking for cosl... yes checking for tanl... yes checking for asinl... yes checking for acosl... yes checking for atanl... yes checking for atan2l... yes checking for powl... yes checking for sqrtl... yes checking for rintl... yes checking for expl... yes checking for logl... yes checking for remainderl... yes checking for fmodl... yes checking for roundl... yes checking for truncl... yes checking for floorl... yes checking for ceill... yes checking for LLONG_MAX in limits.h... yes checking for timersub in time.h... yes checking for a version of GNU ld that supports the --dynamic-list flag... yes checking for sys/poll.h... (cached) yes checking for funopen... no checking for fopencookie... yes checking for inet_aton... yes checking for IP_PKTINFO... yes checking for library containing gethostbyname_r... none required checking for gethostbyname_r with 6 arguments... yes checking for gethostbyname_r with 5 arguments... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for __swap16 variant of byteswapping macros... no checking for bswap16 variant of byteswapping macros... no checking for /dev/urandom... yes checking for locale_t in locale.h... yes checking for O_EVTONLY in fcntl.h... no checking for O_SYMLINK in fcntl.h... no checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes checking for pthread_rwlock_timedwrlock() in pthread.h... yes checking if PTHREAD_ONCE_INIT needs braces... no checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes checking whether we can compare a mutex to its initial value... no checking sys/thr.h usability... no checking sys/thr.h presence... no checking for sys/thr.h... no checking for compiler atomic operations... yes checking if your system printf is NULL-safe.... (null)yes checking if we can increase the maximum select-able file descriptor... no checking for compiler 'attribute pure' support... yes checking for compiler 'attribute malloc' support... yes checking for compiler 'attribute const' support... yes checking for compiler 'attribute unused' support... yes checking for compiler 'attribute always_inline' support... no checking for compiler 'attribute deprecated' support... yes checking for compiler 'attribute sentinel' support... yes checking for compiler 'attribute warn_unused_result' support... yes checking for compiler 'attribute noreturn' support... yes checking for compiler 'attribute weakref' support... yes checking for -fsanitize=address support... yes checking for -fsanitize=thread support... yes checking for -fsanitize=leak support... yes checking for -fsanitize=undefined support... yes checking for -ffunction-sections support... yes checking for --gc-sections support... yes checking for -Wdeclaration-after-statement support... yes checking for -Wtrampolines support... yes checking for _FORTIFY_SOURCE support... yes checking for -fno-strict-overflow... yes checking for -Wshadow... yes checking for -march=native support... yes checking whether to use rpath... not needed checking for sysinfo... yes checking for library containing res_9_ninit... no checking for res_ninit... yes checking for library containing res_9_ndestroy... no checking for res_ndestroy... no checking for library containing res_9_close... no checking for res_close... no checking for GLOB_NOMAGIC in glob.h... yes checking for GLOB_BRACE in glob.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking libkern/OSAtomic.h usability... no checking libkern/OSAtomic.h presence... no checking for libkern/OSAtomic.h... no checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of char *... 8 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking size of fd_set.fds_bits... (cached) 8 checking for dladdr in dlfcn.h... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for snd_spcm_init in -lasound... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for bfd_openr in -lbfd... yes checking bfd.h usability... yes checking bfd.h presence... yes checking for bfd.h... yes checking for cap_from_text in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for DAHDI_RESET_COUNTERS in dahdi/user.h... no checking for DAHDI_DEFAULT_MTU_MRU in dahdi/user.h... no checking for DAHDI_CODE in dahdi/user.h... no checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h... no checking for enhanced dahdi vmwi support... no checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using dahdi/user.h... no checking for getifaddrs() support... yes checking for timerfd support... yes checking for libilbc... no checking for libedit... yes checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for iconv_close in -lc... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for icaltimezone_get_utc_timezone in -lical... yes checking libical/ical.h usability... yes checking libical/ical.h presence... yes checking for libical/ical.h... yes checking for iks_start_sasl in -liksemel... no checking for UW IMAP Toolkit c-client library... no checking for system c-client library...... no checking for SQLConnect in -liodbc... no checking for inotify_init in -lc... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking for jack_activate in -ljack... yes checking jack/jack.h usability... yes checking jack/jack.h presence... yes checking for jack/jack.h... yes checking for kqueue in -lc... no checking for kevent64... no checking for lt_dlinit in -lltdl... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for ldap_initialize in -lldap... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for mISDN_open in -lmISDN... no checking for x86_64-pc-linux-gnu-mysql_config... /usr/bin/x86_64-pc-linux-gnu-mysql_config checking for nbs_connect in -lnbs... no checking for x86_64-pc-linux-gnu-neon-config... /usr/bin/x86_64-pc-linux-gnu-neon-config checking for x86_64-pc-linux-gnu-neon-config... /usr/bin/x86_64-pc-linux-gnu-neon-config checking for x86_64-pc-linux-gnu-net-snmp-config... no checking for net-snmp-config... no checking for SQLConnect in -lodbc... yes checking sql.h usability... yes checking sql.h presence... yes checking for sql.h... yes checking for ogg_sync_init in -logg... yes checking for backtrace in -lexecinfo... no checking for backtrace in -lc... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for ba2str in -lbluetooth... yes checking bluetooth/bluetooth.h usability... yes checking bluetooth/bluetooth.h presence... yes checking for bluetooth/bluetooth.h... yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking for x86_64-pc-linux-gnu-pg_config... no checking for pg_config... /usr/bin/pg_config checking for PQescapeStringConn in -lpq... yes checking for pg_encoding_to_char within Postgres headers... no checking for poptStrerror in -lpopt... yes checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for pri_connected_line_update in -lpri... no checking for pri_setup_ack in -lpri... no checking for pri_persistent_layer2_option in -lpri... no checking for pri_date_time_send_option in -lpri... no checking for pri_mwi_indicate_v2 in -lpri... no checking for pri_display_text in -lpri... no checking for pri_mwi_indicate in -lpri... no checking for pri_mcid_enable in -lpri... no checking for pri_connect_ack_enable in -lpri... no checking for pri_aoc_events_enable in -lpri... no checking for pri_transfer_enable in -lpri... no checking for pri_cc_enable in -lpri... no checking for pri_hangup_fix_enable in -lpri... no checking for pri_sr_set_called_subaddress in -lpri... no checking for pri_hold_enable in -lpri... no checking for pri_reroute_enable in -lpri... no checking for pri_sr_set_keypad_digits in -lpri... no checking for pri_progress_with_cause in -lpri... no checking for pri_set_inbanddisconnect in -lpri... no checking for pri_maintenance_service in -lpri... no checking for pri_sr_set_reversecharge in -lpri... no checking for resample_open in -lresample... no checking for minimum version of SpanDSP... no checking for ss7_set_adjpc in -lss7... no checking for openr2_chan_new in -lopenr2... no checking for luaL_newstate in -llua5.2... no checking for luaL_newstate in -llua5.1... no checking for luaL_openlib in -llua... yes checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking for rc_read_config in -lfreeradius-client... no checking for rc_read_config in -lradiusclient-ng... no checking for cpg_join in -lcpg... no checking for corosync_cfg_state_track in -lcfg... no checking for speex_encode in -lspeex... no checking for speex_preprocess_ctl in -lspeex... no checking for speex_preprocess_ctl in -lspeexdsp... no checking for sqlite_exec in -lsqlite... no checking for sqlite3_open in -lsqlite3... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for AES_encrypt in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for SSL_connect in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking osp/osp.h usability... no checking osp/osp.h presence... no checking for osp/osp.h... no checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes checking for openssl/ssl.h... (cached) yes checking for SSL_OP_NO_TLSv1_1 in openssl/ssl.h... yes checking for SSL_OP_NO_TLSv1_2 in openssl/ssl.h... yes checking for srtp_init in -lsrtp... no checking for srtp_shutdown in -lsrtp... no checking for malloc in -lhoard... no checking for dbinit in -lsybdb... no checking for tone_zone_find_by_num in -ltonezone... no checking for tone_zone_find in -ltonezone... no checking for uuid_generate_random in -luuid... yes checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for vorbis_info_init in -lvorbis... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for OV_CALLBACKS_NOCLOSE declared in vorbis/vorbisfile.h... yes checking for vpb_open in -lvpb... no checking for compress in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking whether ODBC has support for Unicode types... yes checking h323.h usability... no checking h323.h presence... no checking for h323.h... no checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking for linux/ixjuser.h... no checking for MSG_NOSIGNAL in sys/socket.h... yes checking for SO_NOSIGPIPE in sys/socket.h... no checking for x86_64-pc-linux-gnu-sdl-config... no checking for sdl-config... /usr/bin/sdl-config checking for IMG_Load in -lSDL_image... yes checking SDL_image.h usability... yes checking SDL_image.h presence... yes checking for SDL_image.h... yes checking for sws_getContext in -lavcodec... no checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking for XOpenDisplay in -lX11... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for /sbin/launchd... no checking for gtk+-2.0... no checking for LOG_AUTH in syslog.h... yes checking for LOG_AUTHPRIV in syslog.h... yes checking for LOG_CRON in syslog.h... yes checking for LOG_DAEMON in syslog.h... yes checking for LOG_FTP in syslog.h... yes checking for LOG_KERN in syslog.h... yes checking for LOG_LPR in syslog.h... yes checking for LOG_MAIL in syslog.h... yes checking for LOG_NEWS in syslog.h... yes checking for LOG_SYSLOG in syslog.h... yes checking for LOG_UUCP in syslog.h... yes checking for mandatory modules: CAP CRYPTO GSM POPT OPENSSL ZLIB... ok configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating channels/h323/Makefile config.status: creating include/asterisk/autoconfig.h checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for GNU make... make checking for compiler 'attribute weakref' support... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for asprintf... yes checking for getloadavg... yes checking for setenv... yes checking for strcasestr... yes checking for strndup... yes checking for strnlen... yes checking for strsep... yes checking for unsetenv... yes checking for vasprintf... yes checking for newtBell in -lnewt... no checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for a sed that does not truncate output... /bin/sed checking for xml2-config... /usr/bin/xml2-config checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK2... no configure: creating ./config.status config.status: creating makeopts config.status: creating autoconfig.h configure: Menuselect build configuration successfully completed .$$$$$$$$$$$$$$$=.. .$7$7.. .7$$7:. .$$:. ,$7.7 .$7. 7$$$$ .$$77 ..$$. $$$$$ .$$$7 ..7$ .?. $$$$$ .?. 7$$$. $.$. .$$$7. $$$$7 .7$$$. .$$$. .777. .$$$$$$77$$$77$$$$$7. $$$, $$$~ .7$$$$$$$$$$$$$7. .$$$. .$$7 .7$$$$$$$7: ?$$$. $$$ ?7$$$$$$$$$$I .$$$7 $$$ .7$$$$$$$$$$$$$$$$ :$$$. $$$ $$$$$$7$$$$$$$$$$$$ .$$$. $$$ $$$ 7$$$7 .$$$ .$$$. $$$$ $$$$7 .$$$. 7$$$7 7$$$$ 7$$$ $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu : configure: host-cpu:vendor:os: x86_64 : pc : linux-gnu : make -j1 menuselect.makeopts CC="cc" CXX="x86_64-pc-linux-gnu-g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory '/var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/menuselect' gcc -g -D_GNU_SOURCE -Wall -I/usr/include/libxml2 -c -o menuselect.o menuselect.c gcc -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c gcc -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o -lxml2 -lz -lm -ldl make[1]: Leaving directory '/var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/menuselect' Generating input for menuselect ... menuselect/menuselect --check-deps menuselect.makeopts menuselect/menuselect --check-deps menuselect.makeopts >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3 ... make -j1 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 [CP] res/ael/ael_lex.c -> aelparse.c [CC] aelparse.c -> aelparse.o ael.flex: In function ‘setup_filestack’: ael.flex:867:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from aelparse.c:1: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ael_lex.c: In function ‘ael_yylex’: ael.flex:595:44: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from aelparse.c:1: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CP] res/ael/ael.tab.c -> aelbison.c [CC] aelbison.c -> aelbison.o [CP] pbx/pbx_ael.c -> pbx_ael.c [CC] pbx_ael.c -> pbx_ael.o [CP] main/hashtab.c -> hashtab.c [CC] hashtab.c -> hashtab.o [CP] main/lock.c -> lock.c [CC] lock.c -> lock.o [CC] ael_main.c -> ael_main.o [CP] main/ast_expr2f.c -> ast_expr2f.c [CC] ast_expr2f.c -> ast_expr2f.o [CP] main/ast_expr2.c -> ast_expr2.c [CC] ast_expr2.c -> ast_expr2.o ast_expr2.y: In function ‘to_string’: ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.c: In function ‘ast_yyparse’: ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CP] main/strcompat.c -> strcompat.c [CC] strcompat.c -> strcompat.o [CP] res/ael/pval.c -> pval.c [CC] pval.c -> pval.o [CC] extconf.c -> extconf.o extconf.c: In function ‘config_text_file_load’: extconf.c:3287:39: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 509 [-Wformat-truncation=] snprintf(cmd, sizeof(cmd), "%s > %s 2>&1", cur, exec_file); ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from extconf.c:31: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 520) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] aelparse.o aelbison.o pbx_ael.o hashtab.o lock.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o -> aelparse [CC] smsq.c -> smsq.o [LD] smsq.o strcompat.o -> smsq [CC] streamplayer.c -> streamplayer.o [LD] streamplayer.o -> streamplayer [CC] chan_mgcp.c -> chan_mgcp.o chan_mgcp.c: In function ‘start_rtp’: chan_mgcp.c:2961:51: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_mgcp.c:37: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 96 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] chan_mgcp.o -> chan_mgcp.so [CC] chan_unistim.c -> chan_unistim.o chan_unistim.c: In function ‘handle_select_codec’: chan_unistim.c:3623:35: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(buf2, sizeof(buf2), " %d", pte->device->codec_number); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_unistim.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 3 and 6 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_unistim.c: In function ‘reload_config’: chan_unistim.c:6482:54: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_unistim.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 101 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_unistim.c: In function ‘write_history’: chan_unistim.c:2186:44: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size between 1 and 17 [-Wformat-truncation=] snprintf(line1, sizeof(line1), "%04d/%02d/%02d %02d:%02d:%02d %s", ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_unistim.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 21 and 327 bytes into a destination of size 25 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_unistim.c: In function ‘parsing’: chan_unistim.c:1991:62: 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", ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_unistim.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 101 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] chan_unistim.o -> chan_unistim.so [CC] chan_bridge.c -> chan_bridge.o [LD] chan_bridge.o -> chan_bridge.so [CC] chan_multicast_rtp.c -> chan_multicast_rtp.o [LD] chan_multicast_rtp.o -> chan_multicast_rtp.so [CC] chan_iax2.c -> chan_iax2.o chan_iax2.c: In function ‘reload_firmware’: chan_iax2.c:3375:35: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s/%s", dir, de->d_name); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_iax2.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 512 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_iax2.c: In function ‘iax2_exec’: chan_iax2.c:14325:38: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=] snprintf(req, sizeof(req), "IAX2/%s/%s", odata, exten); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_iax2.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 262) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_iax2.c:14323:38: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=] snprintf(req, sizeof(req), "IAX2/%s/%s@%s", odata, exten, ncontext); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_iax2.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] iax2-parser.c -> iax2-parser.o iax2-parser.c: In function ‘iax_showframe’: iax2-parser.c:419:53: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(tmp, (int)sizeof(tmp), " %-15.15s : %s\n", infoelts[x].name, interp); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from iax2-parser.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 23 and 1046 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iax2-parser.c:412:53: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(tmp, (int)sizeof(tmp), " %-15.15s : %s\n", infoelts[x].name, interp); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from iax2-parser.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 23 and 1046 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] iax2-provision.c -> iax2-provision.o [LD] chan_iax2.o iax2-parser.o iax2-provision.o -> chan_iax2.so [CC] chan_local.c -> chan_local.o [LD] chan_local.o -> chan_local.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 chan_agent.c: In function ‘__agent_start_monitoring’: chan_agent.c:585:33: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s%s", savecallsin, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_agent.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 1 and 511 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_agent.c:588:35: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(tmp2, sizeof(tmp2), "%s%s.%s", urlprefix, filename, recordformatext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_agent.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 767 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_agent.c: In function ‘agentmonitoroutgoing_exec’: chan_agent.c:2263:114: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size 74 [-Wformat-truncation=] _cdr(chan)->channel, sizeof(ast_channel_cdr(chan)->channel), "Agent/%s", p->agent); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_agent.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 86 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_agent.c: In function ‘agent_logoff_cmd’: chan_agent.c:1698:40: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_agent.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 86 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_agent.c: In function ‘login_exec’: chan_agent.c:2060:45: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_agent.c:39: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 86 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] chan_agent.o -> chan_agent.so [CC] chan_sip.c -> chan_sip.o In file included from sip/include/sip.h:34, from chan_sip.c:257: chan_sip.c: In function ‘sip_show_registry.part.86’: chan_sip.c:20597:33: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 80 [-Wformat-truncation=] snprintf(user, sizeof(user), "%s@%s", tmpdat, iterator->regdomain);} ^~~~~~~ ~~~~~~ /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/astobj.h:384:4: note: in definition of macro ‘ASTOBJ_CONTAINER_TRAVERSE’ eval; \ ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sip/include/sip.h:34, from chan_sip.c:257: chan_sip.c:20600:33: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 80 [-Wformat-truncation=] snprintf(user, sizeof(user), "%s:%d", tmpdat, iterator->regdomainport);} ^~~~~~~ ~~~~~~ /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/astobj.h:384:4: note: in definition of macro ‘ASTOBJ_CONTAINER_TRAVERSE’ eval; \ ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 3 and 268 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘sip_show_channelstats’: chan_sip.c:20699:42: 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:20699:36: note: directive argument in the range [-59, 59] snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^~~~~~~~~~~~~~~~ chan_sip.c:20699:36: note: directive argument in the range [-59, 59] In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 16 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘build_reply_digest.constprop’: chan_sip.c:22137:33: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(a2, sizeof(a2), "%s:%s", sip_methods[method].text, uri); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c:22146:38: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(resp, sizeof(resp), "%s:%s:%08x:%s:%s:%s", a1_hash, p->nonce, (unsigned)p->noncecount, cnonce, "auth", a2_hash); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 18 or more bytes (assuming 607) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c:22148:38: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(resp, sizeof(resp), "%s:%s:%s", a1_hash, p->nonce, a2_hash); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘construct_pidf_body.constprop’: chan_sip.c:8363:43: warning: ‘__builtin___snprintf_chk’ 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]); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 33 and 65 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘construct_pidf_body.constprop’: chan_sip.c:8363:43: warning: ‘__builtin___snprintf_chk’ 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]); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 33 and 65 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘transmit_cc_notify.isra.130’: chan_sip.c:14797:43: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 522 bytes into a destination of size 511 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘respprep’: chan_sip.c:11466:35: warning: ‘;received=’ directive output may be truncated writing 10 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(new, sizeof(new), "%s;received=%s%s%s", ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 523) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c:11460:35: warning: ‘;received=’ directive output may be truncated writing 10 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(new, sizeof(new), "%s;received=%s;rport=%d%s%s", ^~~~~~~~~~ chan_sip.c:11460:32: note: directive argument in the range [0, 65535] snprintf(new, sizeof(new), "%s;received=%s;rport=%d%s%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 19 or more bytes (assuming 535) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chan_sip.c: In function ‘check_auth’: chan_sip.c:16620:38: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(resp, sizeof(resp), "%s:%s:%s", a1_hash, usednonce, a2_hash); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from chan_sip.c:211: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] sip/security_events.c -> sip/security_events.o [CC] sip/dialplan_functions.c -> sip/dialplan_functions.o [CC] sip/sdp_crypto.c -> sip/sdp_crypto.o [CC] sip/reqresp_parser.c -> sip/reqresp_parser.o [CC] sip/srtp.c -> sip/srtp.o [CC] sip/config_parser.c -> sip/config_parser.o [CC] sip/utils.c -> sip/utils.o [LD] chan_sip.o sip/security_events.o sip/dialplan_functions.o sip/sdp_crypto.o sip/reqresp_parser.o sip/srtp.o sip/config_parser.o sip/utils.o -> chan_sip.so [CC] pbx_spool.c -> pbx_spool.o [LD] pbx_spool.o -> pbx_spool.so [CC] pbx_realtime.c -> pbx_realtime.o [LD] pbx_realtime.o -> pbx_realtime.so [CC] pbx_ael.c -> pbx_ael.o [LD] pbx_ael.o -> pbx_ael.so [CC] pbx_dundi.c -> pbx_dundi.o pbx_dundi.c: In function ‘cache_lookup’: pbx_dundi.c:1262:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 231 and 250 [-Wformat-truncation=] snprintf(key, sizeof(key), "hint/%s/%s/%s/e%08x", eid_str, tmp, req->dcontext, crc); ^~ ~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from pbx_dundi.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 18 and 371 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pbx_dundi.c:1264:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 231 and 250 [-Wformat-truncation=] snprintf(key, sizeof(key), "hint/%s/%s/%s/e%08x", eid_str, tmp, req->dcontext, (unsigned)0); ^~ ~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from pbx_dundi.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 18 and 371 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pbx_dundi.c:1266:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 231 and 250 [-Wformat-truncation=] snprintf(key, sizeof(key), "hint/%s/%s/%s/r%s", eid_str, tmp, req->dcontext, eidroot_str); ^~ ~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from pbx_dundi.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 382 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] dundi-parser.c -> dundi-parser.o dundi-parser.c: In function ‘dundi_showframe’: dundi-parser.c:417:55: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 998 and 1003 [-Wformat-truncation=] snprintf(tmp, (int)sizeof(tmp), " %s%-15.15s : %s\n", (spaces ? " " : "" ), infoelts[x].name, interp); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from dundi-parser.c:29: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 23 and 1051 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dundi-parser.c:410:55: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 998 and 1003 [-Wformat-truncation=] snprintf(tmp, (int)sizeof(tmp), " %s%-15.15s : %s\n", (spaces ? " " : "" ), infoelts[x].name, interp); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from dundi-parser.c:29: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 23 and 1051 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so [CC] pbx_loopback.c -> pbx_loopback.o [LD] pbx_loopback.o -> pbx_loopback.so [CC] pbx_config.c -> pbx_config.o [LD] pbx_config.o -> pbx_config.so [CC] app_followme.c -> app_followme.o app_followme.c: In function ‘clear_caller’: app_followme.c:576:37: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_followme.c:36: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 262 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_followme.c: In function ‘app_exec’: app_followme.c:1531:32: warning: ‘%s’ directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s.%s", targs->namerecloc, ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_followme.c:36: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_followme.o -> app_followme.so [CC] app_image.c -> app_image.o [LD] app_image.o -> app_image.so [CC] app_ices.c -> app_ices.o [LD] app_ices.o -> app_ices.so [CC] app_softhangup.c -> app_softhangup.o [LD] app_softhangup.o -> app_softhangup.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_confbridge.c -> app_confbridge.o app_confbridge.c: In function ‘confbridge_exec’: app_confbridge.c:1565:7: warning: ‘/confbridge-name-’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] "%s/confbridge-name-%s-%s", destdir, ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_confbridge.c:35: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 19 or more bytes (assuming 4114) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] confbridge/conf_state_single_marked.c -> confbridge/conf_state_single_marked.o [CC] confbridge/conf_state.c -> confbridge/conf_state.o [CC] confbridge/conf_state_single.c -> confbridge/conf_state_single.o [CC] confbridge/conf_state_multi_marked.c -> confbridge/conf_state_multi_marked.o [CC] confbridge/conf_state_multi.c -> confbridge/conf_state_multi.o [CC] confbridge/conf_state_empty.c -> confbridge/conf_state_empty.o [CC] confbridge/conf_config_parser.c -> confbridge/conf_config_parser.o [CC] confbridge/conf_state_inactive.c -> confbridge/conf_state_inactive.o [LD] app_confbridge.o confbridge/conf_state_single_marked.o confbridge/conf_state.o confbridge/conf_state_single.o confbridge/conf_state_multi_marked.o confbridge/conf_state_multi.o confbridge/conf_state_empty.o confbridge/conf_config_parser.o confbridge/conf_state_inactive.o -> app_confbridge.so [CC] app_chanspy.c -> app_chanspy.o In file included from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/config.h:30, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/channel.h:143, from app_chanspy.c:45: app_chanspy.c: In function ‘dahdiscan_exec’: /var/tmp/portage/net-misc/asterisk-11.25.3/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_dial.c -> app_dial.o [LD] app_dial.o -> app_dial.so [CC] app_while.c -> app_while.o app_while.c: In function ‘_while_exec’: app_while.c:250:34: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 58 [-Wformat-truncation=] app_while.c:245:11: label = used_index; ~~~~~~~~~~ app_while.c:250:34: snprintf(varname, VAR_SIZE, "%s_%s", prefix, label); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_while.c:32: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 70 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_while.c:253:38: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 60 [-Wformat-truncation=] snprintf(end_varname,VAR_SIZE,"END_%s",varname); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_while.c:32: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 68 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_while.c:292:40: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 60 [-Wformat-truncation=] snprintf(end_varname, VAR_SIZE, "END_%s", varname); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_while.c:32: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 68 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_while.c:263:38: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 60 [-Wformat-truncation=] snprintf(end_varname,VAR_SIZE,"END_%s",varname); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_while.c:32: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 68 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_while.o -> app_while.so [CC] app_dictate.c -> app_dictate.o [LD] app_dictate.o -> app_dictate.so [CC] app_senddtmf.c -> app_senddtmf.o [LD] app_senddtmf.o -> app_senddtmf.so [CC] app_readexten.c -> app_readexten.o [LD] app_readexten.o -> app_readexten.so [CC] app_queue.c -> app_queue.o app_queue.c: In function ‘handle_queue_add_member’: app_queue.c:9176:19: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(num, "%d", state); ^~ app_queue.c:9176:18: note: directive argument in the range [-2147483648, 99] sprintf(num, "%d", state); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_queue.c:64: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 12 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_queue.c: In function ‘try_calling’: app_queue.c:5753:150: warning: ‘,MEMBERREALTIME=’ directive output may be truncated writing 16 bytes into a region of size between 0 and 165 [-Wformat-truncation=] ,MEMBERCALLS=%d,MEMBERLASTCALL=%ld,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_queue.c:64: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 109 and 326 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_queue.c:5879:43: warning: ‘%s’ directive output may be truncated writing up to 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(tmpid2, sizeof(tmpid2), "%s.%s", tmpid, qe->parent->monfmt); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_queue.c:64: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 264 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_queue.c:5879:43: warning: ‘%s’ directive output may be truncated writing up to 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(tmpid2, sizeof(tmpid2), "%s.%s", tmpid, qe->parent->monfmt); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_queue.c:64: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 264 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_queue.o -> app_queue.so [CC] app_directed_pickup.c -> app_directed_pickup.o [LD] app_directed_pickup.o -> app_directed_pickup.so [CC] app_zapateller.c -> app_zapateller.o [LD] app_zapateller.o -> app_zapateller.so [CC] app_waitforring.c -> app_waitforring.o [LD] app_waitforring.o -> app_waitforring.so [CC] app_channelredirect.c -> app_channelredirect.o [LD] app_channelredirect.o -> app_channelredirect.so [CC] app_verbose.c -> app_verbose.o [LD] app_verbose.o -> app_verbose.so [CC] app_celgenuserevent.c -> app_celgenuserevent.o [LD] app_celgenuserevent.o -> app_celgenuserevent.so [CC] app_transfer.c -> app_transfer.o [LD] app_transfer.o -> app_transfer.so [CC] app_talkdetect.c -> app_talkdetect.o [LD] app_talkdetect.o -> app_talkdetect.so [CC] app_record.c -> app_record.o [LD] app_record.o -> app_record.so [CC] app_stack.c -> app_stack.o [LD] app_stack.o -> app_stack.so [CC] app_db.c -> app_db.o [LD] app_db.o -> app_db.so [CC] app_mixmonitor.c -> app_mixmonitor.o [LD] app_mixmonitor.o -> app_mixmonitor.so [CC] app_speech_utils.c -> app_speech_utils.o [LD] app_speech_utils.o -> app_speech_utils.so [CC] app_externalivr.c -> app_externalivr.o [LD] app_externalivr.o -> app_externalivr.so [CC] app_milliwatt.c -> app_milliwatt.o [LD] app_milliwatt.o -> app_milliwatt.so [CC] app_cdr.c -> app_cdr.o [LD] app_cdr.o -> app_cdr.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]; ^~~~~~~~ app_minivm.c: In function ‘sendmail’: app_minivm.c:1283:55: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size between 4077 and 4083 [-Wformat-truncation=] snprintf(tmpcmd, sizeof(tmpcmd), "sox -v %.4f %s.%s %s.%s", vmu->volgain, filename, format, newtmp, format); ^~ ~~~~~~ app_minivm.c:1283:36: note: assuming directive output of 3 bytes snprintf(tmpcmd, sizeof(tmpcmd), "sox -v %.4f %s.%s %s.%s", vmu->volgain, filename, format, newtmp, format); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 4119) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c: In function ‘minivm_accmess_exec’: app_minivm.c:2534:41: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename,sizeof(filename), "%s%s/%s/%s", MVM_SPOOL_DIR, vmu->domain, vmu->username, message); ^~ app_minivm.c:2534:38: note: assuming directive output of 4 bytes snprintf(filename,sizeof(filename), "%s%s/%s/%s", MVM_SPOOL_DIR, vmu->domain, vmu->username, message); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4260) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c: In function ‘minivm_greet_exec’: app_minivm.c:2283:47: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] app_minivm.c:2260:13: username = tmp; ~~~ app_minivm.c:2283:47: snprintf(ext_context, sizeof(ext_context), "%s@%s", username, vmu->domain); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4176 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:1492:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s%s%s", MVM_SPOOL_DIR, domain, username, ast_strlen_zero(folder) ? "" : "/", folder ? folder : ""); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 8279 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:2294:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/unavail", MVM_SPOOL_DIR, vmu->domain, username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 8279 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:1492:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s%s%s", MVM_SPOOL_DIR, domain, username, ast_strlen_zero(folder) ? "" : "/", folder ? folder : ""); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 8276 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:2290:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/busy", MVM_SPOOL_DIR, vmu->domain, username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 8276 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:2297:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(tempfile, sizeof(tempfile), "%s%s/%s/temp", MVM_SPOOL_DIR, vmu->domain, username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 8276 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:1492:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s%s%s", MVM_SPOOL_DIR, domain, username, ast_strlen_zero(folder) ? "" : "/", folder ? folder : ""); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 8276 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:1546:30: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s%s/%s/greet", MVM_SPOOL_DIR, domain, username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 8277 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c: In function ‘leave_voicemail.isra.11’: app_minivm.c:1891:50: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(ext_context, sizeof(ext_context), "%s@%s", username, vmu->domain); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 336 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:1492:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s%s%s", MVM_SPOOL_DIR, domain, username, ast_strlen_zero(folder) ? "" : "/", folder ? folder : ""); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 4435 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_minivm.c:1916:46: warning: ‘/XXXXXX’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(tmptxtfile, sizeof(tmptxtfile), "%s/XXXXXX", tmpdir); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_minivm.c:148: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_minivm.o -> app_minivm.so [CC] app_controlplayback.c -> app_controlplayback.o [LD] app_controlplayback.o -> app_controlplayback.so [CC] app_mp3.c -> app_mp3.o [LD] app_mp3.o -> app_mp3.so [CC] app_voicemail.c -> app_voicemail.o app_voicemail.c: In function ‘vm_change_password_shell’: app_voicemail.c:1814:36: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 47 and 253 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s %s %s %s", ext_pass_cmd, vmu->context, vmu->mailbox, newpassword); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 4 or more bytes (assuming 289) into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘sayname’: app_voicemail.c:13672:37: warning: ‘/greet’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(dir, sizeof(dir), "%s%s/%s/greet", VM_SPOOL_DIR, context, mailbox); ^~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4103) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘vm_change_password’: app_voicemail.c:1720:43: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(secretfn, sizeof(secretfn), "%s%s/%s/secret.conf", VM_SPOOL_DIR, vmu->context, vmu->mailbox); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 14 and 4267 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘adsi_message’: app_voicemail.c:7272:32: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fn2, sizeof(fn2), "%s.txt", vms->fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘message_range_and_existence_check.isra.2’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:15262:44: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘__has_voicemail.part.8’: app_voicemail.c:5835:28: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s%s/%s/%s", VM_SPOOL_DIR, context, mailbox, folder); ^~ ~~~~~~~~~~~~ app_voicemail.c:5835:27: note: assuming directive output of 7 bytes snprintf(fn, sizeof(fn), "%s%s/%s/%s", VM_SPOOL_DIR, context, mailbox, folder); ^~~~~~~~~~~~ app_voicemail.c:5835:27: note: assuming directive output of 5 bytes In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4110) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘prep_email_sub_vars.constprop’: app_voicemail.c:1839:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4261 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483648, 2147483646] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 271 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘check_password.part.34’: app_voicemail.c:1422:37: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 47 and 253 [-Wformat-truncation=] snprintf(cmd, sizeof(cmd), "%s %s %s %s %s", ext_pass_check_cmd, vmu->mailbox, vmu->context, vmu->password, password); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 5 or more bytes (assuming 369) into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘__has_voicemail.part.8.constprop’: app_voicemail.c:5835:28: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s%s/%s/%s", VM_SPOOL_DIR, context, mailbox, folder); ^~ ~~~~~~~~~~~~ app_voicemail.c:5835:27: note: assuming directive output of 7 bytes snprintf(fn, sizeof(fn), "%s%s/%s/%s", VM_SPOOL_DIR, context, mailbox, folder); ^~~~~~~~~~~~ app_voicemail.c:5835:27: note: assuming directive output of 5 bytes In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4110) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘message_range_and_existence_check.isra.2.constprop’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:15262:44: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘vm_intro’: app_voicemail.c:9877:38: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4260 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘append_mailbox’: app_voicemail.c:11816:43: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(secretfn, sizeof(secretfn), "%s%s/%s/secret.conf", VM_SPOOL_DIR, vmu->context, vmu->mailbox); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 14 and 4267 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘manager_list_voicemail_users’: app_voicemail.c:1839:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4261 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘save_to_folder.isra.23.constprop’: app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ app_voicemail.c:1839:29: note: assuming directive output of 7 bytes return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4263) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [1, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4110 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [0, 2147483646] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4110 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘close_mailbox’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘open_mailbox’: app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 3 and 4335 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘actual_load_config.isra.16’: app_voicemail.c:13605:47: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(secretfn, sizeof(secretfn), "%s%s/%s/secret.conf", VM_SPOOL_DIR, current->context, current->mailbox); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 14 and 4267 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘play_message_by_id’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘vm_msg_play’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:15713:42: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms.fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘play_message_callerid.isra.44’: app_voicemail.c:8410:48: warning: ‘/greet’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/greet", VM_SPOOL_DIR, context, callerid); ^~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4103) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘play_message’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:8524:40: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘vm_mailbox_snapshot_create’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:15002:43: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘msg_create_from_file’: app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4180) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:6114:46: warning: ‘/XXXXXX’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(tmptxtfile, sizeof(tmptxtfile), "%s/XXXXXX", tmpdir); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4256) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:6272:48: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(desttxtfile, sizeof(desttxtfile), "%s.txt", destination); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘make_email_file.constprop’: app_voicemail.c:1839:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4261 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [0, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 270 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 4259 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:5221:39: warning: ‘/XXXXXX’ directive output may be truncated writing 7 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(newtmp, sizeof(newtmp), "%s/XXXXXX", tmpdir); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 263 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:5226:56: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 240 and 243 [-Wformat-truncation=] snprintf(tmpcmd, sizeof(tmpcmd), "sox -v %.4f %s.%s %s.%s", vmu->volgain, attach, format, newtmp, format); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 273) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘sendmail.constprop’: app_voicemail.c:5306:51: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 4 and 242 [-Wformat-truncation=] snprintf(tmp2, sizeof(tmp2), "( %s < %s ; rm -f %s ) &", mailcmd, tmp, tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 19 and 336 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘notify_new_message.isra.25’: app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4262 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘copy_message’: app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ app_voicemail.c:1839:29: note: assuming directive output of 5 bytes return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4261) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ app_voicemail.c:1839:29: note: assuming directive output of 5 bytes return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4261) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘vm_msg_forward’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:15401:43: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", from_vms.fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘leave_voicemail’: app_voicemail.c:6418:41: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/unavail", VM_SPOOL_DIR, vmu->context, ext); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 4184) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:6416:41: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/busy", VM_SPOOL_DIR, vmu->context, ext); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4181) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:6424:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(tempfile, sizeof(tempfile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, ext); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4181) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4180) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4182) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:5484:30: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s%s/%s/greet", VM_SPOOL_DIR, context, ext); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4182) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4177) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:6647:47: warning: ‘/XXXXXX’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(tmptxtfile, sizeof(tmptxtfile), "%s/XXXXXX", tmpdir); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:6780:44: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(txtfile, sizeof(txtfile), "%s.txt", fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1839:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, folder); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4183) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ app_voicemail.c:1856:29: note: directive argument in the range [-2147483647, 2147483647] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘advanced_options’: app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:14496:42: warning: ‘.txt’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s.txt", vms->fn); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘forward_message.constprop’: app_voicemail.c:8123:32: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s%s/%s/greet", VM_SPOOL_DIR, receiver->context, s); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4182) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:7727:36: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(duration_buf, 11, "%ld", *duration); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 12 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function ‘vm_execmain’: app_voicemail.c:10079:41: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/greet", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4261 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10089:41: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/unavail", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4263 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10096:41: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/busy", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4260 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:1856:32: warning: ‘/msg’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] return snprintf(dest, len, "%s/msg%04d", dir, num); ^~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4111 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10255:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4260 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10316:40: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4260 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10187:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/greet", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4261 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10183:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/busy", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4260 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c:10179:42: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(prefile, sizeof(prefile), "%s%s/%s/unavail", VM_SPOOL_DIR, vmu->context, vms->username); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_voicemail.c:73: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4263 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_voicemail.o -> app_voicemail.so [CC] app_playtones.c -> app_playtones.o [LD] app_playtones.o -> app_playtones.so [CC] app_originate.c -> app_originate.o [LD] app_originate.o -> app_originate.so [CC] app_echo.c -> app_echo.o [LD] app_echo.o -> app_echo.so [CC] app_page.c -> app_page.o [LD] app_page.o -> app_page.so [CC] app_userevent.c -> app_userevent.o [LD] app_userevent.o -> app_userevent.so [CC] app_waitforsilence.c -> app_waitforsilence.o [LD] app_waitforsilence.o -> app_waitforsilence.so [CC] app_adsiprog.c -> app_adsiprog.o [LD] app_adsiprog.o -> app_adsiprog.so [CC] app_read.c -> app_read.o [LD] app_read.o -> app_read.so [CC] app_forkcdr.c -> app_forkcdr.o [LD] app_forkcdr.o -> app_forkcdr.so [CC] app_sendtext.c -> app_sendtext.o [LD] app_sendtext.o -> app_sendtext.so [CC] app_amd.c -> app_amd.o [LD] app_amd.o -> app_amd.so [CC] app_nbscat.c -> app_nbscat.o [LD] app_nbscat.o -> app_nbscat.so [CC] app_morsecode.c -> app_morsecode.o [LD] app_morsecode.o -> app_morsecode.so [CC] app_macro.c -> app_macro.o [LD] app_macro.o -> app_macro.so [CC] app_sms.c -> app_sms.o app_sms.c: In function ‘sms_nextoutgoing’: app_sms.c:1218:17: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(stm, "%02d%02d%02d%02d", tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min); /* Date mmddHHMM */ ^~~~ app_sms.c:1218:16: note: directive argument in the range [-2147483647, 2147483647] sprintf(stm, "%02d%02d%02d%02d", tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min); /* Date mmddHHMM */ ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_sms.c:41: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 9 and 45 bytes into a destination of size 9 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_sms.o -> app_sms.so [CC] app_sayunixtime.c -> app_sayunixtime.o [LD] app_sayunixtime.o -> app_sayunixtime.so [CC] app_directory.c -> app_directory.o [LD] app_directory.o -> app_directory.so [CC] app_waituntil.c -> app_waituntil.o [LD] app_waituntil.o -> app_waituntil.so [CC] app_dumpchan.c -> app_dumpchan.o [LD] app_dumpchan.o -> app_dumpchan.so [CC] app_test.c -> app_test.o app_test.c: In function ‘testserver_exec’: app_test.c:361:44: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size 67 [-Wformat-truncation=] snprintf(fn, sizeof(fn), "%s/testresults/%s-server.txt", ast_config_AST_LOG_DIR, testid); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from app_test.c:34: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 25 or more bytes (assuming 104) into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_test.o -> app_test.so [CC] app_parkandannounce.c -> app_parkandannounce.o [LD] app_parkandannounce.o -> app_parkandannounce.so [CC] app_exec.c -> app_exec.o [LD] app_exec.o -> app_exec.so [CC] app_system.c -> app_system.o [LD] app_system.o -> app_system.so [CC] app_disa.c -> app_disa.o [LD] app_disa.o -> app_disa.so [CC] app_festival.c -> app_festival.o [LD] app_festival.o -> app_festival.so [CC] app_getcpeid.c -> app_getcpeid.o [LD] app_getcpeid.o -> app_getcpeid.so [CC] app_alarmreceiver.c -> app_alarmreceiver.o [LD] app_alarmreceiver.o -> app_alarmreceiver.so [CC] app_privacy.c -> app_privacy.o [LD] app_privacy.o -> app_privacy.so [CC] app_authenticate.c -> app_authenticate.o [LD] app_authenticate.o -> app_authenticate.so [CC] app_playback.c -> app_playback.o [LD] app_playback.o -> app_playback.so [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 [CC] irc2pc.c -> irc2pc.o [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_lpc10.c -> codec_lpc10.o [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so [CC] codec_a_mu.c -> codec_a_mu.o [LD] codec_a_mu.o -> codec_a_mu.so [CC] codec_g726.c -> codec_g726.o [LD] codec_g726.o -> codec_g726.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_gsm.c -> codec_gsm.o [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so [CC] codec_adpcm.c -> codec_adpcm.o [LD] codec_adpcm.o -> codec_adpcm.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_ulaw.c -> codec_ulaw.o [LD] codec_ulaw.o -> codec_ulaw.so [CC] format_h264.c -> format_h264.o [LD] format_h264.o -> format_h264.so [CC] format_g726.c -> format_g726.o [LD] format_g726.o -> format_g726.so [CC] format_siren14.c -> format_siren14.o [LD] format_siren14.o -> format_siren14.so [CC] format_g719.c -> format_g719.o [LD] format_g719.o -> format_g719.so [CC] format_g723.c -> format_g723.o [LD] format_g723.o -> format_g723.so [CC] format_jpeg.c -> format_jpeg.o [LD] format_jpeg.o -> format_jpeg.so [CC] format_pcm.c -> format_pcm.o [LD] format_pcm.o -> format_pcm.so [CC] format_sln.c -> format_sln.o [LD] format_sln.o -> format_sln.so [CC] format_siren7.c -> format_siren7.o [LD] format_siren7.o -> format_siren7.so [CC] format_h263.c -> format_h263.o [LD] format_h263.o -> format_h263.so [CC] format_vox.c -> format_vox.o [LD] format_vox.o -> format_vox.so [CC] format_gsm.c -> format_gsm.o [LD] format_gsm.o -> format_gsm.so [CC] format_wav.c -> format_wav.o [LD] format_wav.o -> format_wav.so [CC] format_wav_gsm.c -> format_wav_gsm.o [LD] format_wav_gsm.o -> format_wav_gsm.so [CC] format_ogg_vorbis.c -> format_ogg_vorbis.o [LD] format_ogg_vorbis.o -> format_ogg_vorbis.so [CC] format_g729.c -> format_g729.o [LD] format_g729.o -> format_g729.so [CC] cdr_csv.c -> cdr_csv.o [LD] cdr_csv.o -> cdr_csv.so [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so [CC] cdr_custom.c -> cdr_custom.o [LD] cdr_custom.o -> cdr_custom.so [CC] cdr_manager.c -> cdr_manager.o [LD] cdr_manager.o -> cdr_manager.so [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so [CC] cel_custom.c -> cel_custom.o [LD] cel_custom.o -> cel_custom.so [CC] cel_manager.c -> cel_manager.o [LD] cel_manager.o -> cel_manager.so [CC] bridge_multiplexed.c -> bridge_multiplexed.o [LD] bridge_multiplexed.o -> bridge_multiplexed.so [CC] bridge_softmix.c -> bridge_softmix.o In file included from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/frame.h:37, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/channel.h:141, from bridge_softmix.c:47: bridge_softmix.c: In function ‘softmix_bridge_thread’: /var/tmp/portage/net-misc/asterisk-11.25.3/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_simple.c -> bridge_simple.o [LD] bridge_simple.o -> bridge_simple.so [CC] bridge_builtin_features.c -> bridge_builtin_features.o [LD] bridge_builtin_features.o -> bridge_builtin_features.so [CC] func_shell.c -> func_shell.o [LD] func_shell.o -> func_shell.so [CC] func_module.c -> func_module.o [LD] func_module.o -> func_module.so [CC] func_math.c -> func_math.o [LD] func_math.o -> func_math.so [CC] func_frame_trace.c -> func_frame_trace.o [LD] func_frame_trace.o -> func_frame_trace.so [CC] func_realtime.c -> func_realtime.o [LD] func_realtime.o -> func_realtime.so [CC] func_blacklist.c -> func_blacklist.o [LD] func_blacklist.o -> func_blacklist.so [CC] func_volume.c -> func_volume.o [LD] func_volume.o -> func_volume.so [CC] func_srv.c -> func_srv.o [LD] func_srv.o -> func_srv.so [CC] func_iconv.c -> func_iconv.o [LD] func_iconv.o -> func_iconv.so [CC] func_extstate.c -> func_extstate.o [LD] func_extstate.o -> func_extstate.so [CC] func_logic.c -> func_logic.o [LD] func_logic.o -> func_logic.so [CC] func_rand.c -> func_rand.o [LD] func_rand.o -> func_rand.so [CC] func_timeout.c -> func_timeout.o [LD] func_timeout.o -> func_timeout.so [CC] func_vmcount.c -> func_vmcount.o [LD] func_vmcount.o -> func_vmcount.so [CC] func_cdr.c -> func_cdr.o [LD] func_cdr.o -> func_cdr.so [CC] func_uri.c -> func_uri.o [LD] func_uri.o -> func_uri.so [CC] func_dialgroup.c -> func_dialgroup.o [LD] func_dialgroup.o -> func_dialgroup.so [CC] func_groupcount.c -> func_groupcount.o func_groupcount.c: In function ‘group_list_function_read’: func_groupcount.c:260:40: warning: ‘@’ directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp1, sizeof(tmp1), "%s %s@%s", tmp2, gi->group, gi->category); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from func_groupcount.c:28: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 1026) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ func_groupcount.c:262:40: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp1, sizeof(tmp1), "%s %s", tmp2, gi->group); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from func_groupcount.c:28: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] func_groupcount.o -> func_groupcount.so [CC] func_cut.c -> func_cut.o [LD] func_cut.o -> func_cut.so [CC] func_version.c -> func_version.o [LD] func_version.o -> func_version.so [CC] func_enum.c -> func_enum.o [LD] func_enum.o -> func_enum.so [CC] func_hangupcause.c -> func_hangupcause.o [LD] func_hangupcause.o -> func_hangupcause.so [CC] func_aes.c -> func_aes.o [LD] func_aes.o -> func_aes.so [CC] func_sha1.c -> func_sha1.o [LD] func_sha1.o -> func_sha1.so [CC] func_channel.c -> func_channel.o [LD] func_channel.o -> func_channel.so [CC] func_presencestate.c -> func_presencestate.o [LD] func_presencestate.o -> func_presencestate.so [CC] func_db.c -> func_db.o [LD] func_db.o -> func_db.so [CC] func_config.c -> func_config.o [LD] func_config.o -> func_config.so [CC] func_sprintf.c -> func_sprintf.o [LD] func_sprintf.o -> func_sprintf.so [CC] func_lock.c -> func_lock.o [LD] func_lock.o -> func_lock.so [CC] func_pitchshift.c -> func_pitchshift.o [LD] func_pitchshift.o -> func_pitchshift.so [CC] func_callcompletion.c -> func_callcompletion.o [LD] func_callcompletion.o -> func_callcompletion.so [CC] func_audiohookinherit.c -> func_audiohookinherit.o [LD] func_audiohookinherit.o -> func_audiohookinherit.so [CC] func_md5.c -> func_md5.o [LD] func_md5.o -> func_md5.so [CC] func_base64.c -> func_base64.o [LD] func_base64.o -> func_base64.so [CC] func_env.c -> func_env.o [LD] func_env.o -> func_env.so [CC] func_sysinfo.c -> func_sysinfo.o [LD] func_sysinfo.o -> func_sysinfo.so [CC] func_callerid.c -> func_callerid.o [LD] func_callerid.o -> func_callerid.so [CC] func_strings.c -> func_strings.o [LD] func_strings.o -> func_strings.so [CC] func_jitterbuffer.c -> func_jitterbuffer.o [LD] func_jitterbuffer.o -> func_jitterbuffer.so [CC] func_devstate.c -> func_devstate.o [LD] func_devstate.o -> func_devstate.so [CC] func_dialplan.c -> func_dialplan.o [LD] func_dialplan.o -> func_dialplan.so [CC] func_global.c -> func_global.o [LD] func_global.o -> func_global.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 ast_expr2.y: In function ‘to_string’: ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.c: In function ‘ast_yyparse’: ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ast_expr2.y:31:21: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] #define FP___PRINTF "%.18Lg" ^~~~~~~~ ast_expr2.y:638:15: note: in expansion of macro ‘FP___PRINTF’ ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ast_expr2.y:15: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 27 bytes into a destination of size 25 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] ast_expr2f.c -> ast_expr2f.o [CC] asterisk.c -> asterisk.o asterisk.c: In function ‘ast_readconfig’: asterisk.c:3427:68: warning: ‘/monitor’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(cfg_paths.monitor_dir, sizeof(cfg_paths.monitor_dir), "%s/monitor", cfg_paths.spool_dir); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from asterisk.c:66: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asterisk.c:3483:73: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] nprintf(cfg_paths.socket_path, sizeof(cfg_paths.socket_path), "%s/%s", v->value, ast_config_AST_CTL); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from asterisk.c:66: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 ccss.c: In function ‘build_cc_interfaces_chanvar’: ccss.c:3455:62: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(dialstring_search, sizeof(dialstring_search), "%s%c", dialstring, '&'); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from ccss.c:28: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 81 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] cdr.c -> cdr.o [CC] cel.c -> cel.o [CC] channel.c -> channel.o channel.c: In function ‘ast_do_masquerade’: channel.c:7018:36: warning: ‘’ directive output may be truncated writing 6 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(masqn, sizeof(masqn), "%s", newn); ^~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from channel.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 86 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ channel.c:7106:36: warning: ‘’ directive output may be truncated writing 8 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(zombn, sizeof(zombn), "%s", orig); /* quick, hide the brains! */ ^~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from channel.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 88 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] channel_internal_api.c -> channel_internal_api.o [CC] chanvars.c -> chanvars.o [CC] cli.c -> cli.o cli.c: In function ‘complete_number.constprop’: cli.c:372:40: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(next, sizeof(next), "%u...", prospective[0] / 10); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from cli.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 13 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cli.c: In function ‘handle_chanlist’: cli.c:1007:45: 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] snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^~~~~~~~~~~~~~~~ cli.c:1007:39: note: directive argument in the range [-59, 59] In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from cli.c:30: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 16 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] config.c -> config.o config.c: In function ‘config_text_file_load’: config.c:1552:37: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 509 [-Wformat-truncation=] snprintf(cmd, sizeof(cmd), "%s > %s 2>&1", cur, exec_file); ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from config.c:33: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 520) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 features.c: In function ‘parkinglot_activate’: features.c:5847:45: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 65 and 74 [-Wformat-truncation=] snprintf(device, sizeof(device), "park:%s@%s", exten, context); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from features.c:31: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 7 and 95 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ features.c: In function ‘ast_bridge_call’: features.c:4379:35: 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); ^~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from features.c:31: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 512 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 manager.c: In function ‘auth_http_callback.isra.26’: manager.c:6814:43: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 246 [-Wformat-truncation=] snprintf(resp, sizeof(resp), "%s:%08lx:%s", user->a1_hash, nonce, a2_hash); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from manager.c:48: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 266) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manager.c:6811:54: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=] snprintf(resp, sizeof(resp), "%s:%08lx:%s:%s:auth:%s", user->a1_hash, nonce, d.nc, d.cnonce, a2_hash); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from manager.c:48: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 18 or more bytes (assuming 273) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manager.c: In function ‘action_coreshowchannels’: manager.c:5096:43: 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] snprintf(durbuf, sizeof(durbuf), "%02d:%02d:%02d", durh, durm, durs); ^~~~~~~~~~~~~~~~ manager.c:5096:37: note: directive argument in the range [-59, 59] In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from manager.c:48: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 16 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 ‘store_by_locale.part.4’: stdtime/localtime.c:2440:39: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(name, sizeof(name), "%04d", x); ^ In file included from /usr/include/stdio.h:873, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/compat.h:64, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk.h:27, from stdtime/localtime.c:51: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 6 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:45, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/tcptls.h:66, from tcptls.c:44: /usr/include/openssl/err.h:247: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] cfg->ssl_ctx = SSL_CTX_new(SSLv2_client_method()); ^~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/tcptls.h:66, from tcptls.c:44: /usr/include/openssl/ssl.h:1336: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/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:45, from /var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/include/asterisk/tcptls.h:66, from tcptls.c:44: /usr/include/openssl/ssl.h:1629:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ make[1]: *** [/var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3/Makefile.rules:144: tcptls.o] Error 1 make: *** [Makefile:401: main] Error 2 * ERROR: net-misc/asterisk-11.25.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/asterisk-11.25.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/asterisk-11.25.3::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:asterisk-11.25.3:20190112-214317.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/asterisk-11.25.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/asterisk-11.25.3/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3' * S: '/var/tmp/portage/net-misc/asterisk-11.25.3/work/asterisk-11.25.3'