>>> asterisk 16.10.0 Extracting gzip -d -c /tmp/instance-1/dl/asterisk/asterisk-16.10.0.tar.gz | /tmp/instance-1/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-1/output-1/build/asterisk-16.10.0 -xf - >>> asterisk 16.10.0 Patching Applying 0001-sounds-do-not-download-and-check-sha1s.patch using patch: patching file sounds/Makefile Hunk #1 succeeded at 101 (offset 1 line). Applying 0002-configure-fix-detection-of-libcrypt.patch using patch: patching file configure.ac Hunk #1 succeeded at 2620 (offset 214 lines). Applying 0003-build-ensure-target-directory-for-modules-exists.patch using patch: patching file Makefile.moddir_rules Hunk #1 succeeded at 106 (offset -4 lines). Applying 0004-install-samples-need-the-data-files.patch using patch: patching file Makefile Hunk #1 succeeded at 828 with fuzz 2 (offset 49 lines). Applying 0005-configure-fix-detection-of-re-entrant-resolver-funct.patch using patch: patching file configure.ac Hunk #1 succeeded at 1422 (offset 34 lines). >>> asterisk 16.10.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-1/output-1/build/asterisk-16.10.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> asterisk 16.10.0 Configuring rm -rf /tmp/instance-1/output-1/build/asterisk-16.10.0/menuselect cp -a /tmp/instance-1/output-1/build/host-asterisk-16.10.0/menuselect /tmp/instance-1/output-1/build/asterisk-16.10.0/menuselect >>> asterisk 16.10.0 Autoreconfiguring >>> asterisk 16.10.0 Patching libtool (cd /tmp/instance-1/output-1/build/asterisk-16.10.0/ && rm -rf config.cache && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ar" AS="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-as" LD="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld" NM="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm" CC="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc" GCC="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc" CPP="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp" CXX="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++" FC="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gfortran" F77="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib" READELF="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-readelf" STRIP="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-objcopy" OBJDUMP="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-as" DEFAULT_LINKER="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no ac_cv_file_bridges_bridge_softmix_include_hrirs_h=true ac_cv_path_CONFIG_LIBXML2=/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/bin/xml2-config LIBS="-latomic" CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabihf --host=arm-buildroot-linux-gnueabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-xmldoc --disable-internal-poll --disable-asteriskssl --disable-rpath --without-bfd --without-cap --without-cpg --without-curses --without-gtk2 --without-gmime --without-hoard --without-iconv --without-iksemel --without-imap --without-inotify --without-iodbc --without-isdnnet --without-jack --without-uriparser --without-kqueue --without-libedit --without-libxslt --without-lua --without-misdn --without-mysqlclient --without-nbs --without-neon29 --without-newt --without-openr2 --without-osptk --without-oss --without-postgres --without-pjproject --without-pjproject-bundled --without-popt --without-resample --without-sdl --without-SDL_image --without-sqlite --without-suppserv --without-tds --without-termcap --without-timerfd --without-tinfo --without-unbound --without-unixodbc --without-vpb --without-x11 --with-crypt --with-jansson --with-libcurl --with-ilbc --with-libxml2 --with-libedit="/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr" --with-sqlite3="/tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr" --with-sounds-cache=/tmp/instance-1/dl/asterisk --without-avcodec --with-execinfo --without-gsm --without-asound --without-bluetooth --without-ical --without-ldap --without-neon --without-netsnmp --without-ogg --without-opus --without-portaudio --without-radius --without-dahdi --without-tonezone --without-pri --without-ss7 --with-ssl --with-spandsp --without-speex --without-speexdsp --without-srtp --without-vorbis --with-z ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared, --without-curses, --without-termcap, --without-tinfo checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-gnueabihf checking for arm-buildroot-linux-gnueabihf-gcc... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc accepts -g... yes checking for /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp 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 whether char is unsigned... yes checking for arm-buildroot-linux-gnueabihf-uname... no checking for uname... /bin/uname configure: WARNING: using cross tools not prefixed with host triplet checking for arm-buildroot-linux-gnueabihf-gcc... (cached) /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc checking for arm-buildroot-linux-gnueabihf-g++... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ checking for arm-buildroot-linux-gnueabihf-ld... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld checking for arm-buildroot-linux-gnueabihf-ranlib... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib checking whether we are using the GNU C++ compiler... yes checking whether /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ accepts -g... yes checking how to run the C preprocessor... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-cpp checking how to run the C++ preprocessor... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld checking if the linker (/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for arm-buildroot-linux-gnueabihf-ranlib... (cached) /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ranlib checking for GNU make... make checking for egrep... (cached) /bin/grep -E checking for arm-buildroot-linux-gnueabihf-strip... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-strip checking for arm-buildroot-linux-gnueabihf-ar... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-ar checking for bison... /tmp/instance-1/output-1/host/bin/bison checking for cmp... /usr/bin/cmp checking for cat... /bin/cat checking for cut... /usr/bin/cut checking for flex... /tmp/instance-1/output-1/host/bin/flex checking for grep... (cached) /bin/grep checking for python2.7... /usr/bin/python2.7 checking for find... /usr/bin/find checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for sh... /bin/bash checking for ln... /bin/ln checking for doxygen... : checking for dot... : checking for wget... /usr/bin/wget checking for curl... /usr/bin/curl checking for xmllint... /tmp/instance-1/output-1/host/bin/xmllint checking for xmlstarlet... no checking for xml... no checking for bash... /bin/bash checking for git... /usr/bin/git checking for alembic... : checking for bzip2... /bin/bzip2 checking for tar... /tmp/instance-1/output-1/host/bin/tar checking for patch... /usr/bin/patch checking for sed... (cached) /bin/sed checking for nm... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-nm checking for ldconfig... /sbin/ldconfig checking for sha1sum... /usr/bin/sha1sum checking for openssl... /usr/bin/openssl checking for bison that supports parse-param... /tmp/instance-1/output-1/host/bin/bison checking for arm-buildroot-linux-gnueabihf-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 /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-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... no checking whether libcurl is usable... yes checking for curl_free... yes ./configure: line 10636: test: -ge: unary operator expected 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 for sys/types.h... (cached) yes checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for netdb.h... yes checking for resolv.h... yes checking for arpa/nameser.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) 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 math.h usability... yes checking math.h presence... yes checking for math.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for netinet/in.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes 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/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for netdb.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... 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 utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking pkg-config is at least version 0.9.0... yes checking for LIBEDIT... yes checking for Testing for libedit unicode support... yes 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 JANSSON... yes checking for clock_gettime in -lrt... yes checking for arm-buildroot-linux-gnueabihf-xml2-config... (cached) /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/bin/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... no 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... no checking whether closedir returns void... yes 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... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-gcc needs -traditional... no checking for working memcmp... (cached) 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... (cached) 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... no checking whether stat accepts an empty string... yes checking for working strcoll... no checking for strftime... yes checking for working strnlen... yes checking for working strtod... no checking for pow... no checking for pow in -lm... yes checking whether utime accepts a null argument... guessing 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 ioperm... no 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 newlocale... yes checking for pipe2... 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) no checking for strtol... yes checking for strtold... yes checking for strtoq... yes checking for unsetenv... yes checking for uselocale... yes checking for utime... yes checking for vasprintf... yes checking for getpeereid... no checking for sysctl... yes checking for swapctl... no checking for malloc_trim... yes checking for htonll... no checking for ntohll... 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... (cached) no 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 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 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 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_MUTEX_ADAPTIVE_NP in pthread.h... yes checking for pthread_spinlock_t in pthread.h... yes checking for pthread_rwlock_timedwrlock() in pthread.h... yes checking for working unnamed semaphores... cross-compile configure: WARNING: result yes guessed because of cross compilation 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 sync operations... yes checking for compiler atomic operations... yes checking if your system printf is NULL-safe.... unknown checking if socket() accepts SOCK_NONBLOCK... cross-compile checking if we can increase the maximum select-able file descriptor... cross-compile checking if we have usable eventfd support... cross-compile 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 may_alias' support... yes checking for compiler 'attribute constructor' support... yes checking for compiler 'attribute destructor' support... yes checking for compiler 'attribute noreturn' 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 -Wdeclaration-after-statement support... yes checking for -Wtrampolines support... yes checking for _FORTIFY_SOURCE support... yes checking for -fno-strict-overflow... yes checking for -Wno-format-truncation... yes checking for -Wno-stringop-truncation... yes checking for -Wshadow... yes checking for -march=native support... no checking whether to use rpath... skipped checking for sysinfo... yes checking for library containing res_9_ninit... no checking for res_ninit... no checking for BIND_8_COMPAT required... no checking for GLOB_NOMAGIC in glob.h... yes checking for GLOB_BRACE in glob.h... yes checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of char *... 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking size of fd_set.fds_bits... (cached) 4 checking for dladdr in dlfcn.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 ILBC... no checking for kevent64... no 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 bs_version in -lbeanstalk... no checking for fftw_malloc in -lfftw3... no checking for sf_open in -lsndfile... no checking for minimum version of SpanDSP... yes checking for span_set_message_handler in -lspandsp... yes checking spandsp.h usability... yes checking spandsp.h presence... yes checking for spandsp.h... yes checking for t38_terminal_init in -lspandsp... yes checking for spandsp.h... (cached) yes checking for op_open_callbacks in -lopusfile... no checking for codec2_create in -lcodec2... no checking for corosync_cfg_state_track in -lcfg... 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 crypt in -lcrypt... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for crypt... no checking for crypt_r in -lcrypt... 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 for BIO_meth_new in -lssl... yes checking for openssl/ssl.h... (cached) yes checking for tone_zone_find_by_num in -ltonezone... no checking for OV_CALLBACKS_NOCLOSE declared in vorbis/vorbisfile.h... no checking for compress in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes 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 linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking for SYSTEMD... 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: BKTR CRYPT ILBC JANSSON LIBEDIT LIBXML2 SPANDSP SQLITE3 OPENSSL ZLIB... ok configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating include/asterisk/autoconfig.h configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared, --without-curses, --without-termcap, --without-tinfo checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... /tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-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... configure: error: in `/tmp/instance-1/output-1/build/asterisk-16.10.0/menuselect': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details .$$$$$$$$$$$$$$$=.. .$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-gnueabihf configure: Host CPU : arm configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu : configure: host-cpu:vendor:os: arm : buildroot : linux-gnueabihf : configure: Cross Compilation = YES >>> asterisk 16.10.0 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 ASTVARLIBDIR="/usr/lib/asterisk" ASTDATADIR="/usr/lib/asterisk" ASTKEYDIR="/usr/lib/asterisk" ASTDBDIR="/usr/lib/asterisk" ASTLDFLAGS="-latomic" -C /tmp/instance-1/output-1/build/asterisk-16.10.0/ make[1]: Entering directory '/tmp/instance-1/output-1/build/asterisk-16.10.0' CC="cc" CXX="/tmp/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[2]: Entering directory '/tmp/instance-1/output-1/build/asterisk-16.10.0/menuselect' make[2]: 'makeopts' is up to date. make[2]: Leaving directory '/tmp/instance-1/output-1/build/asterisk-16.10.0/menuselect' Generating input for menuselect ... menuselect/menuselect --check-deps menuselect.makeopts menuselect/menuselect --check-deps menuselect.makeopts [CC] astcanary.c -> astcanary.o [CC] astdb2sqlite3.c -> astdb2sqlite3.o [CC] astdb2bdb.c -> astdb2bdb.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 [LD] astcanary.o -> astcanary [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 [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb [CC] chan_mgcp.c -> chan_mgcp.o [CC] chan_unistim.c -> chan_unistim.o [CC] chan_skinny.c -> chan_skinny.o [CC] chan_bridge_media.c -> chan_bridge_media.o [CC] chan_iax2.c -> chan_iax2.o [CC] iax2/netsock.c -> iax2/netsock.o [CC] iax2/parser.c -> iax2/parser.o [CC] iax2/firmware.c -> iax2/firmware.o [CC] iax2/provision.c -> iax2/provision.o [CC] iax2/codec_pref.c -> iax2/codec_pref.o [CC] iax2/format_compatibility.c -> iax2/format_compatibility.o [CC] chan_rtp.c -> chan_rtp.o [CC] chan_sip.c -> chan_sip.o [CC] sip/security_events.c -> sip/security_events.o [CC] sip/dialplan_functions.c -> sip/dialplan_functions.o [CC] sip/route.c -> sip/route.o [CC] sip/reqresp_parser.c -> sip/reqresp_parser.o [CC] sip/config_parser.c -> sip/config_parser.o [CC] sip/utils.c -> sip/utils.o [LD] chan_bridge_media.o -> chan_bridge_media.so [LD] chan_rtp.o -> chan_rtp.so [LD] chan_mgcp.o -> chan_mgcp.so [LD] chan_skinny.o -> chan_skinny.so [LD] chan_unistim.o -> chan_unistim.so [LD] chan_iax2.o iax2/netsock.o iax2/parser.o iax2/firmware.o iax2/provision.o iax2/codec_pref.o iax2/format_compatibility.o -> chan_iax2.so [LD] chan_sip.o sip/security_events.o sip/dialplan_functions.o sip/route.o sip/reqresp_parser.o sip/config_parser.o sip/utils.o -> chan_sip.so [CC] pbx_spool.c -> pbx_spool.o [CC] pbx_realtime.c -> pbx_realtime.o [CC] pbx_ael.c -> pbx_ael.o [CC] pbx_dundi.c -> pbx_dundi.o [CC] dundi-parser.c -> dundi-parser.o [CC] pbx_loopback.c -> pbx_loopback.o [CC] pbx_config.c -> pbx_config.o In file included from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/alertpipe.h:22, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/channel.h:126, from pbx_dundi.c:57: pbx_dundi.c: In function 'dundi_precache_thread': /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/utils.h:174:10: warning: 'hmd.flags' is used uninitialized in this function [-Wuninitialized] 174 | ((p)->flags & (flag)) | ^~ [LD] pbx_ael.o -> pbx_ael.so pbx_spool.c: In function 'scan_thread': pbx_spool.c:904:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 1 and 255 [-Wformat-truncation=] 904 | snprintf(fn, sizeof(fn), "%s/%s", qdir, de->d_name); | ^~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdio.h:867, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:49, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from pbx_spool.c:29: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 511 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] pbx_loopback.o -> pbx_loopback.so [LD] pbx_realtime.o -> pbx_realtime.so [LD] pbx_spool.o -> pbx_spool.so [LD] pbx_config.o -> pbx_config.so In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from pbx_dundi.c:40: In function 'strcpy', inlined from 'reschedule_precache' at pbx_dundi.c:3960:3, inlined from 'dundi_precache_internal' at pbx_dundi.c:4049:4: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing between 1 and 80 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'reschedule_precache' at pbx_dundi.c:3960:3, inlined from 'dundi_precache_full' at pbx_dundi.c:3990:5, inlined from 'set_config.constprop' at pbx_dundi.c:5096:3: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing between 1 and 80 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so [CC] app_speech_utils.c -> app_speech_utils.o [CC] app_dial.c -> app_dial.o [CC] app_test.c -> app_test.o [CC] app_externalivr.c -> app_externalivr.o [CC] app_milliwatt.c -> app_milliwatt.o [CC] app_authenticate.c -> app_authenticate.o [CC] app_controlplayback.c -> app_controlplayback.o [CC] app_festival.c -> app_festival.o [CC] app_page.c -> app_page.o [CC] app_userevent.c -> app_userevent.o [CC] app_waitforsilence.c -> app_waitforsilence.o [CC] app_read.c -> app_read.o [CC] app_cdr.c -> app_cdr.o [CC] app_forkcdr.c -> app_forkcdr.o [CC] app_bridgeaddchan.c -> app_bridgeaddchan.o [CC] app_stream_echo.c -> app_stream_echo.o [CC] app_record.c -> app_record.o [CC] app_sms.c -> app_sms.o [CC] app_waituntil.c -> app_waituntil.o [CC] app_privacy.c -> app_privacy.o [CC] app_verbose.c -> app_verbose.o [CC] app_system.c -> app_system.o [CC] app_morsecode.c -> app_morsecode.o [CC] app_voicemail.c -> app_voicemail.o [CC] app_minivm.c -> app_minivm.o [CC] app_image.c -> app_image.o [CC] app_amd.c -> app_amd.o [CC] app_dumpchan.c -> app_dumpchan.o [CC] app_db.c -> app_db.o [CC] app_chanisavail.c -> app_chanisavail.o [CC] app_waitforring.c -> app_waitforring.o [CC] app_confbridge.c -> app_confbridge.o [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_chan_record.c -> confbridge/conf_chan_record.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/confbridge_manager.c -> confbridge/confbridge_manager.o [CC] confbridge/conf_chan_announce.c -> confbridge/conf_chan_announce.o [CC] confbridge/conf_state_inactive.c -> confbridge/conf_state_inactive.o [CC] app_stack.c -> app_stack.o [CC] app_readexten.c -> app_readexten.o [CC] app_echo.c -> app_echo.o [CC] app_channelredirect.c -> app_channelredirect.o [CC] app_while.c -> app_while.o [CC] app_dictate.c -> app_dictate.o [CC] app_senddtmf.c -> app_senddtmf.o [CC] app_mp3.c -> app_mp3.o [CC] app_bridgewait.c -> app_bridgewait.o [CC] app_disa.c -> app_disa.o [CC] app_celgenuserevent.c -> app_celgenuserevent.o [CC] app_zapateller.c -> app_zapateller.o [CC] app_url.c -> app_url.o [CC] app_playtones.c -> app_playtones.o [CC] app_originate.c -> app_originate.o [CC] app_blind_transfer.c -> app_blind_transfer.o [CC] app_directed_pickup.c -> app_directed_pickup.o [CC] app_talkdetect.c -> app_talkdetect.o [CC] app_attended_transfer.c -> app_attended_transfer.o [CC] app_queue.c -> app_queue.o [CC] app_agent_pool.c -> app_agent_pool.o [CC] app_adsiprog.c -> app_adsiprog.o [CC] app_softhangup.c -> app_softhangup.o [CC] app_mixmonitor.c -> app_mixmonitor.o [CC] app_getcpeid.c -> app_getcpeid.o [CC] app_sendtext.c -> app_sendtext.o [CC] app_nbscat.c -> app_nbscat.o [CC] app_followme.c -> app_followme.o [CC] app_alarmreceiver.c -> app_alarmreceiver.o [CC] app_transfer.c -> app_transfer.o [CC] app_sayunixtime.c -> app_sayunixtime.o [CC] app_stasis.c -> app_stasis.o [CC] app_exec.c -> app_exec.o [CC] app_directory.c -> app_directory.o [CC] app_playback.c -> app_playback.o [CC] app_chanspy.c -> app_chanspy.o [CC] app_ices.c -> app_ices.o [LD] app_speech_utils.o -> app_speech_utils.so In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from app_stack.c:33: In function 'strcpy', inlined from 'gosub_allocate_frame' at app_stack.c:322:3, inlined from 'gosub_exec' at app_stack.c:637:13: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_test.o -> app_test.so [LD] app_externalivr.o -> app_externalivr.so [LD] app_milliwatt.o -> app_milliwatt.so [LD] app_authenticate.o -> app_authenticate.so [LD] app_festival.o -> app_festival.so [LD] app_page.o -> app_page.so [LD] app_userevent.o -> app_userevent.so [LD] app_controlplayback.o -> app_controlplayback.so [LD] app_waitforsilence.o -> app_waitforsilence.so [LD] app_read.o -> app_read.so [LD] app_cdr.o -> app_cdr.so [LD] app_forkcdr.o -> app_forkcdr.so [LD] app_bridgeaddchan.o -> app_bridgeaddchan.so [LD] app_stream_echo.o -> app_stream_echo.so [LD] app_record.o -> app_record.so [LD] app_waituntil.o -> app_waituntil.so [LD] app_privacy.o -> app_privacy.so [LD] app_verbose.o -> app_verbose.so [LD] app_system.o -> app_system.so [LD] app_morsecode.o -> app_morsecode.so [LD] app_amd.o -> app_amd.so [LD] app_image.o -> app_image.so [LD] app_db.o -> app_db.so [LD] app_dumpchan.o -> app_dumpchan.so [LD] app_chanisavail.o -> app_chanisavail.so [LD] app_waitforring.o -> app_waitforring.so [LD] app_readexten.o -> app_readexten.so [LD] app_channelredirect.o -> app_channelredirect.so [LD] app_echo.o -> app_echo.so [LD] app_while.o -> app_while.so [LD] app_dictate.o -> app_dictate.so [LD] app_senddtmf.o -> app_senddtmf.so [LD] app_mp3.o -> app_mp3.so [LD] app_bridgewait.o -> app_bridgewait.so [LD] app_disa.o -> app_disa.so [LD] app_celgenuserevent.o -> app_celgenuserevent.so [LD] app_zapateller.o -> app_zapateller.so [LD] app_url.o -> app_url.so [LD] app_playtones.o -> app_playtones.so [LD] app_originate.o -> app_originate.so [LD] app_blind_transfer.o -> app_blind_transfer.so [LD] app_directed_pickup.o -> app_directed_pickup.so [LD] app_talkdetect.o -> app_talkdetect.so [LD] app_attended_transfer.o -> app_attended_transfer.so [LD] app_getcpeid.o -> app_getcpeid.so [LD] app_softhangup.o -> app_softhangup.so [LD] app_sendtext.o -> app_sendtext.so [LD] app_nbscat.o -> app_nbscat.so [LD] app_transfer.o -> app_transfer.so [LD] app_sayunixtime.o -> app_sayunixtime.so [LD] app_stasis.o -> app_stasis.so [LD] app_exec.o -> app_exec.so [LD] app_ices.o -> app_ices.so [LD] app_playback.o -> app_playback.so [LD] app_stack.o -> app_stack.so In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from app_voicemail.c:82: In function 'strcpy', inlined from 'inprocess_count' at app_voicemail.c:1240:2: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing between 1 and 2147483646 bytes into a region of size 0 [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_voicemail.c: In function 'inprocess_count': app_voicemail.c:1217:7: note: at offset 0 to object 'mailbox' with size 0 declared here 1217 | char mailbox[0]; | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from app_voicemail.c:82: In function 'strcpy', inlined from 'inprocess_count' at app_voicemail.c:1257:2: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_directory.o -> app_directory.so [LD] app_alarmreceiver.o -> app_alarmreceiver.so [LD] app_mixmonitor.o -> app_mixmonitor.so [LD] app_chanspy.o -> app_chanspy.so [LD] app_agent_pool.o -> app_agent_pool.so [LD] app_adsiprog.o -> app_adsiprog.so [LD] app_sms.o -> app_sms.so [LD] app_followme.o -> app_followme.so [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_chan_record.o confbridge/conf_state_multi.o confbridge/conf_state_empty.o confbridge/conf_config_parser.o confbridge/confbridge_manager.o confbridge/conf_chan_announce.o confbridge/conf_state_inactive.o -> app_confbridge.so [LD] app_dial.o -> app_dial.so [LD] app_minivm.o -> app_minivm.so In function 'strcat', inlined from 'handle_subscribe' at app_voicemail.c:13370:3: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:128:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 128 | return __builtin___strcat_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'alias_mailbox_mapping_create' at app_voicemail.c:13860:2, inlined from 'load_aliases' at app_voicemail.c:13874:43, inlined from 'actual_load_config.constprop' at app_voicemail.c:14597:3: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_queue.o -> app_queue.so [LD] app_voicemail.o -> app_voicemail.so [CC] codec_ilbc.c -> codec_ilbc.o [CC] codec_alaw.c -> codec_alaw.o [CC] codec_lpc10.c -> codec_lpc10.o [CC] codec_a_mu.c -> codec_a_mu.o [CC] codec_g726.c -> codec_g726.o [CC] codec_resample.c -> codec_resample.o [CC] speex/resample.c -> speex/resample.o [CC] codec_adpcm.c -> codec_adpcm.o [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 [CC] codec_ulaw.c -> codec_ulaw.o [CC] constants.c -> constants.o [CC] anaFilter.c -> anaFilter.o [CC] createCB.c -> createCB.o [CC] f2clib.c -> f2clib.o [CC] analys.c -> analys.o [CC] bsynz.c -> bsynz.o [CC] doCPLC.c -> doCPLC.o [CC] enhancer.c -> enhancer.o [CC] filter.c -> filter.o [CC] FrameClassify.c -> FrameClassify.o [CC] chanwr.c -> chanwr.o [CC] gainquant.c -> gainquant.o [CC] dcbias.c -> dcbias.o [CC] decode.c -> decode.o [CC] deemp.c -> deemp.o [CC] getCBvec.c -> getCBvec.o [CC] helpfun.c -> helpfun.o [CC] difmag.c -> difmag.o [CC] dyptrk.c -> dyptrk.o [CC] hpInput.c -> hpInput.o [CC] hpOutput.c -> hpOutput.o [CC] encode.c -> encode.o [CC] energy.c -> energy.o [CC] ham84.c -> ham84.o [CC] iCBConstruct.c -> iCBConstruct.o [CC] hp100.c -> hp100.o [CC] iCBSearch.c -> iCBSearch.o [CC] invert.c -> invert.o [CC] irc2pc.c -> irc2pc.o [CC] ivfilt.c -> ivfilt.o [CC] iLBC_decode.c -> iLBC_decode.o [CC] iLBC_encode.c -> iLBC_encode.o [CC] lpcdec.c -> lpcdec.o [CC] iLBC_test.c -> iLBC_test.o [CC] lpcenc.c -> lpcenc.o [CC] LPCdecode.c -> LPCdecode.o [CC] lpcini.c -> lpcini.o [CC] LPCencode.c -> LPCencode.o [CC] lsf.c -> lsf.o [CC] packing.c -> packing.o [CC] lpfilt.c -> lpfilt.o [CC] StateConstructW.c -> StateConstructW.o [CC] median.c -> median.o [CC] StateSearchW.c -> StateSearchW.o [CC] mload.c -> mload.o [CC] onset.c -> onset.o [CC] pitsyn.c -> pitsyn.o [CC] syntFilter.c -> syntFilter.o [CC] placea.c -> placea.o [CC] placev.c -> placev.o [LD] codec_ulaw.o -> codec_ulaw.so [CC] preemp.c -> preemp.o [LD] codec_alaw.o -> codec_alaw.so [CC] prepro.c -> prepro.o [LD] codec_a_mu.o -> codec_a_mu.so [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 [LD] codec_adpcm.o -> codec_adpcm.so [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 [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so [AR] anaFilter.o constants.o createCB.o doCPLC.o enhancer.o filter.o FrameClassify.o gainquant.o getCBvec.o helpfun.o hpInput.o hpOutput.o iCBConstruct.o iCBSearch.o iLBC_decode.o iLBC_encode.o iLBC_test.o LPCdecode.o LPCencode.o lsf.o packing.o StateConstructW.o StateSearchW.o syntFilter.o -> libilbc.a [LD] codec_g726.o -> codec_g726.so [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so [LD] codec_resample.o speex/resample.o -> codec_resample.so [CC] format_h264.c -> format_h264.o [CC] format_g726.c -> format_g726.o [CC] format_siren14.c -> format_siren14.o [CC] format_g719.c -> format_g719.o [CC] format_g723.c -> format_g723.o [CC] format_pcm.c -> format_pcm.o [CC] format_sln.c -> format_sln.o [CC] format_siren7.c -> format_siren7.o [CC] format_h263.c -> format_h263.o [CC] format_ilbc.c -> format_ilbc.o [CC] format_vox.c -> format_vox.o [CC] format_gsm.c -> format_gsm.o [CC] format_wav.c -> format_wav.o [CC] format_wav_gsm.c -> format_wav_gsm.o [CC] format_g729.c -> format_g729.o [LD] format_g723.o -> format_g723.so [LD] format_vox.o -> format_vox.so [LD] format_ilbc.o -> format_ilbc.so [LD] format_h263.o -> format_h263.so [LD] format_siren7.o -> format_siren7.so [LD] format_h264.o -> format_h264.so [LD] format_g719.o -> format_g719.so [LD] format_g729.o -> format_g729.so [LD] format_siren14.o -> format_siren14.so [LD] format_g726.o -> format_g726.so [LD] format_sln.o -> format_sln.so [LD] format_wav.o -> format_wav.so [LD] format_pcm.o -> format_pcm.so [LD] format_gsm.o -> format_gsm.so [LD] format_wav_gsm.o -> format_wav_gsm.so [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o [CC] cdr_csv.c -> cdr_csv.o [CC] cdr_custom.c -> cdr_custom.o [CC] cdr_manager.c -> cdr_manager.o [LD] cdr_manager.o -> cdr_manager.so [LD] cdr_custom.o -> cdr_custom.so [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so [LD] cdr_csv.o -> cdr_csv.so [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o [CC] cel_custom.c -> cel_custom.o [CC] cel_manager.c -> cel_manager.o [LD] cel_manager.o -> cel_manager.so [LD] cel_custom.o -> cel_custom.so [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so [CC] bridge_softmix.c -> bridge_softmix.o [CC] bridge_softmix/bridge_softmix_binaural.c -> bridge_softmix/bridge_softmix_binaural.o [CC] bridge_native_rtp.c -> bridge_native_rtp.o [CC] bridge_builtin_interval_features.c -> bridge_builtin_interval_features.o [CC] bridge_simple.c -> bridge_simple.o [CC] bridge_holding.c -> bridge_holding.o [CC] bridge_builtin_features.c -> bridge_builtin_features.o [LD] bridge_simple.o -> bridge_simple.so [LD] bridge_builtin_interval_features.o -> bridge_builtin_interval_features.so [LD] bridge_holding.o -> bridge_holding.so [LD] bridge_builtin_features.o -> bridge_builtin_features.so [LD] bridge_native_rtp.o -> bridge_native_rtp.so [LD] bridge_softmix.o bridge_softmix/bridge_softmix_binaural.o -> bridge_softmix.so [CC] func_shell.c -> func_shell.o [CC] func_periodic_hook.c -> func_periodic_hook.o [CC] func_callerid.c -> func_callerid.o [CC] func_dialplan.c -> func_dialplan.o [CC] func_math.c -> func_math.o [CC] func_vmcount.c -> func_vmcount.o [CC] func_realtime.c -> func_realtime.o [CC] func_volume.c -> func_volume.o [CC] func_holdintercept.c -> func_holdintercept.o [CC] func_blacklist.c -> func_blacklist.o [CC] func_srv.c -> func_srv.o [CC] func_extstate.c -> func_extstate.o [CC] func_logic.c -> func_logic.o [CC] func_rand.c -> func_rand.o [CC] func_timeout.c -> func_timeout.o [CC] func_cut.c -> func_cut.o [CC] func_uri.c -> func_uri.o [CC] func_dialgroup.c -> func_dialgroup.o [CC] func_version.c -> func_version.o [CC] func_enum.c -> func_enum.o [CC] func_cdr.c -> func_cdr.o [CC] func_talkdetect.c -> func_talkdetect.o [CC] func_aes.c -> func_aes.o [CC] func_sha1.c -> func_sha1.o [CC] func_channel.c -> func_channel.o [CC] func_presencestate.c -> func_presencestate.o [CC] func_db.c -> func_db.o [CC] func_config.c -> func_config.o [CC] func_sprintf.c -> func_sprintf.o [CC] func_lock.c -> func_lock.o [CC] func_frame_trace.c -> func_frame_trace.o [CC] func_callcompletion.c -> func_callcompletion.o [CC] func_md5.c -> func_md5.o [CC] func_base64.c -> func_base64.o [CC] func_global.c -> func_global.o [CC] func_sysinfo.c -> func_sysinfo.o [CC] func_curl.c -> func_curl.o [CC] func_sorcery.c -> func_sorcery.o [CC] func_module.c -> func_module.o [CC] func_strings.c -> func_strings.o [CC] func_pitchshift.c -> func_pitchshift.o [CC] func_env.c -> func_env.o [CC] func_groupcount.c -> func_groupcount.o [CC] func_devstate.c -> func_devstate.o [CC] func_jitterbuffer.c -> func_jitterbuffer.o [CC] func_hangupcause.c -> func_hangupcause.o func_callerid.c: In function 'redirecting_read': func_callerid.c:1489:37: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1489 | if (!strcasecmp("orig", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1467:27: note: defined here 'member' 1467 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1540:38: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1540 | if (!strcasecmp("orig", member.argv[1])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1467:27: note: defined here 'member' 1467 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1490:60: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1490 | if (member.argc == 2 && !strcasecmp("reason", member.argv[1])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1467:27: note: defined here 'member' 1467 | struct ast_party_members member = { 0, }; | ^~~~~~ [LD] func_dialplan.o -> func_dialplan.so [LD] func_shell.o -> func_shell.so [LD] func_vmcount.o -> func_vmcount.so [LD] func_volume.o -> func_volume.so [LD] func_holdintercept.o -> func_holdintercept.so [LD] func_blacklist.o -> func_blacklist.so [LD] func_extstate.o -> func_extstate.so [LD] func_srv.o -> func_srv.so [LD] func_logic.o -> func_logic.so [LD] func_rand.o -> func_rand.so [LD] func_cut.o -> func_cut.so [LD] func_timeout.o -> func_timeout.so func_callerid.c: In function 'connectedline_read': func_callerid.c:1314:59: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1314 | if (member.argc == 1 && !strcasecmp("source", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1294:27: note: defined here 'member' 1294 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1316:44: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1316 | } else if (!strcasecmp("priv", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1294:27: note: defined here 'member' 1294 | struct ast_party_members member = { 0, }; | ^~~~~~ [LD] func_uri.o -> func_uri.so [LD] func_version.o -> func_version.so [LD] func_enum.o -> func_enum.so [LD] func_dialgroup.o -> func_dialgroup.so [LD] func_talkdetect.o -> func_talkdetect.so func_callerid.c: In function 'callerid_read': func_callerid.c:1027:59: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1027 | if (member.argc == 1 && !strcasecmp("rdnis", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1032:45: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1032 | } else if (!strcasecmp("dnid", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1078:16: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1078 | member.argv[1] = "num"; | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1036:16: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1036 | member.argv[1] = "num"; | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1038:39: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1038 | if (!strncasecmp("num", member.argv[1], 3)) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1048:67: warning: array subscript 2 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1048 | } else if (member.argc == 3 && !strcasecmp("plan", member.argv[2])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1013:57: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1013 | if (member.argc == 1 && !strcasecmp("all", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1015:65: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1015 | } else if (member.argc == 1 && !strcasecmp("name", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1017:65: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1017 | } else if (member.argc == 1 && !strncasecmp("num", member.argv[0], 3)) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:981:27: note: defined here 'member' 981 | struct ast_party_members member = { 0, }; | ^~~~~~ [LD] func_aes.o -> func_aes.so [LD] func_sha1.o -> func_sha1.so [LD] func_presencestate.o -> func_presencestate.so [LD] func_db.o -> func_db.so [LD] func_config.o -> func_config.so [LD] func_lock.o -> func_lock.so [LD] func_sprintf.o -> func_sprintf.so [LD] func_frame_trace.o -> func_frame_trace.so [LD] func_callcompletion.o -> func_callcompletion.so [LD] func_md5.o -> func_md5.so [LD] func_module.o -> func_module.so [LD] func_sysinfo.o -> func_sysinfo.so [LD] func_periodic_hook.o -> func_periodic_hook.so [LD] func_math.o -> func_math.so [LD] func_realtime.o -> func_realtime.so [LD] func_cdr.o -> func_cdr.so [LD] func_base64.o -> func_base64.so [LD] func_sorcery.o -> func_sorcery.so [LD] func_jitterbuffer.o -> func_jitterbuffer.so [LD] func_hangupcause.o -> func_hangupcause.so [LD] func_devstate.o -> func_devstate.so [LD] func_global.o -> func_global.so [LD] func_groupcount.o -> func_groupcount.so func_callerid.c: In function 'connectedline_write': func_callerid.c:1403:59: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1403 | if (member.argc == 1 && !strcasecmp("source", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1363:27: note: defined here 'member' 1363 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1421:44: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1421 | } else if (!strcasecmp("priv", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1363:27: note: defined here 'member' 1363 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c: In function 'callerid_write': func_callerid.c:1161:58: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1161 | if (member.argc == 1 && !strcasecmp("rdnis", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1139:27: note: defined here 'member' 1139 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1165:44: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1165 | } else if (!strcasecmp("dnid", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1139:27: note: defined here 'member' 1139 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1231:15: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1231 | member.argv[1] = "num"; | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1139:27: note: defined here 'member' 1139 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1170:15: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1170 | member.argv[1] = "num"; | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1139:27: note: defined here 'member' 1139 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1172:38: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1172 | if (!strncasecmp("num", member.argv[1], 3)) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1139:27: note: defined here 'member' 1139 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1182:66: warning: array subscript 2 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1182 | } else if (member.argc == 3 && !strcasecmp("plan", member.argv[2])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1139:27: note: defined here 'member' 1139 | struct ast_party_members member = { 0, }; | ^~~~~~ [LD] func_pitchshift.o -> func_pitchshift.so func_callerid.c: In function 'redirecting_write': func_callerid.c:1644:37: warning: array subscript 0 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1644 | if (!strcasecmp("orig", member.argv[0])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1605:27: note: defined here 'member' 1605 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1770:38: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1770 | if (!strcasecmp("orig", member.argv[1])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1605:27: note: defined here 'member' 1605 | struct ast_party_members member = { 0, }; | ^~~~~~ func_callerid.c:1645:60: warning: array subscript 1 is outside the bounds of an interior zero-length array 'char *[0]' [-Wzero-length-bounds] 1645 | if (member.argc == 2 && !strcasecmp("reason", member.argv[1])) { | ~~~~~~~~~~~^~~ In file included from func_callerid.c:37: /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/app.h:1237:9: note: while referencing 'argv' 1237 | char *argv[0]; \ | ^~~~ func_callerid.c:425:1: note: in expansion of macro 'AST_DEFINE_APP_ARGS_TYPE' 425 | AST_DEFINE_APP_ARGS_TYPE(ast_party_members, | ^~~~~~~~~~~~~~~~~~~~~~~~ func_callerid.c:1605:27: note: defined here 'member' 1605 | struct ast_party_members member = { 0, }; | ^~~~~~ [LD] func_channel.o -> func_channel.so [LD] func_callerid.o -> func_callerid.so [LD] func_curl.o -> func_curl.so [LD] func_strings.o -> func_strings.so [LD] func_env.o -> func_env.so [CC] abstract_jb.c -> abstract_jb.o [CC] acl.c -> acl.o [CC] adsi.c -> adsi.o [CC] alaw.c -> alaw.o [CC] alertpipe.c -> alertpipe.o [CC] aoc.c -> aoc.o [CC] app.c -> app.o [CC] ast_expr2.c -> ast_expr2.o [CC] ast_expr2f.c -> ast_expr2f.o [CC] asterisk.c -> asterisk.o [CC] astfd.c -> astfd.o [CC] astmm.c -> astmm.o [CC] astobj2.c -> astobj2.o [CC] astobj2_container.c -> astobj2_container.o [CC] astobj2_global.c -> astobj2_global.o [CC] astobj2_hash.c -> astobj2_hash.o [CC] astobj2_rbtree.c -> astobj2_rbtree.o [CC] audiohook.c -> audiohook.o [CC] autochan.c -> autochan.o [CC] autoservice.c -> autoservice.o [CC] backtrace.c -> backtrace.o [CC] bridge.c -> bridge.o [CC] bridge_after.c -> bridge_after.o [CC] bridge_basic.c -> bridge_basic.o [CC] bridge_roles.c -> bridge_roles.o [CC] bridge_channel.c -> bridge_channel.o [CC] bucket.c -> bucket.o [CC] callerid.c -> callerid.o [CC] channel.c -> channel.o [CC] channel_internal_api.c -> channel_internal_api.o [CC] chanvars.c -> chanvars.o [CC] cli.c -> cli.o [CC] codec.c -> codec.o [CC] codec_builtin.c -> codec_builtin.o [CC] config_options.c -> config_options.o [CC] conversions.c -> conversions.o [CC] core_local.c -> core_local.o [CC] core_unreal.c -> core_unreal.o [CC] crypt.c -> crypt.o [CC] data_buffer.c -> data_buffer.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] dns_core.c -> dns_core.o [CC] dns_naptr.c -> dns_naptr.o [CC] dns_query_set.c -> dns_query_set.o [CC] dns_recurring.c -> dns_recurring.o [CC] dns_srv.c -> dns_srv.o [CC] dns_system_resolver.c -> dns_system_resolver.o [CC] dns_test.c -> dns_test.o [CC] dns_tlsa.c -> dns_tlsa.o [CC] dns_txt.c -> dns_txt.o In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from dns_srv.c:30: In function 'strcpy', inlined from 'dns_srv_alloc' at dns_srv.c:102:2: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing between 1 and 1025 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] endpoints.c -> endpoints.o [CC] event.c -> event.o [CC] features_config.c -> features_config.o [CC] file.c -> file.o [CC] fixedjitterbuf.c -> fixedjitterbuf.o [CC] format.c -> format.o [CC] format_cache.c -> format_cache.o [CC] format_cap.c -> format_cap.o [CC] format_compatibility.c -> format_compatibility.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] image.c -> image.o [CC] io.c -> io.o [CC] iostream.c -> iostream.o [CC] jitterbuf.c -> jitterbuf.o [CC] json.c -> json.o [CC] libasteriskpj.c -> libasteriskpj.o [CC] libasteriskssl.c -> libasteriskssl.o [CC] loader.c -> loader.o [CC] lock.c -> lock.o [CC] manager_bridges.c -> manager_bridges.o [CC] manager_channels.c -> manager_channels.o [CC] manager_endpoints.c -> manager_endpoints.o [CC] manager_mwi.c -> manager_mwi.o [CC] manager_system.c -> manager_system.o [CC] max_forwards.c -> max_forwards.o [CC] md5.c -> md5.o [CC] media_cache.c -> media_cache.o [CC] media_index.c -> media_index.o [CC] message.c -> message.o [CC] mixmonitor.c -> mixmonitor.o [CC] mwi.c -> mwi.o [CC] named_locks.c -> named_locks.o [CC] netsock2.c -> netsock2.o [CC] optional_api.c -> optional_api.o [CC] options.c -> options.o [CC] parking.c -> parking.o [CC] pbx.c -> pbx.o [CC] pbx_app.c -> pbx_app.o [CC] pbx_builtins.c -> pbx_builtins.o [CC] pbx_functions.c -> pbx_functions.o [CC] pbx_hangup_handler.c -> pbx_hangup_handler.o [CC] pbx_ignorepat.c -> pbx_ignorepat.o [CC] pbx_include.c -> pbx_include.o [CC] pbx_sw.c -> pbx_sw.o [CC] pbx_switch.c -> pbx_switch.o [CC] pbx_timing.c -> pbx_timing.o [CC] pbx_variables.c -> pbx_variables.o [CC] pickup.c -> pickup.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] sdp_srtp.c -> sdp_srtp.o [CC] security_events.c -> security_events.o [CC] sem.c -> sem.o [CC] serializer.c -> serializer.o [CC] sha1.c -> sha1.o [CC] sip_api.c -> sip_api.o [CC] slinfactory.c -> slinfactory.o [CC] smoother.c -> smoother.o [CC] sorcery.c -> sorcery.o pbx_variables.c: In function 'ast_str_substring': pbx_variables.c:220:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 220 | tmp[lr + length] = '\0'; | ~~~~~~~~~~~~~~~~~^~~~~~ pbx_variables.c:215:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 215 | tmp[length] = '\0'; | ~~~~~~~~~~~~^~~~~~ [CC] srv.c -> srv.o [CC] stasis.c -> stasis.o [CC] stasis_bridges.c -> stasis_bridges.o [CC] stasis_cache.c -> stasis_cache.o [CC] stasis_cache_pattern.c -> stasis_cache_pattern.o [CC] stasis_channels.c -> stasis_channels.o [CC] stasis_endpoints.c -> stasis_endpoints.o [CC] stasis_message.c -> stasis_message.o In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from message.c:30: In function 'strcpy', inlined from 'ast_msg_data_alloc' at message.c:1424:3: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing between 1 and 2147483646 bytes into a region of size 0 [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] stasis_message_router.c -> stasis_message_router.o [CC] stasis_system.c -> stasis_system.o [CC] stdtime/localtime.c -> stdtime/localtime.o [CC] strcompat.c -> strcompat.o [CC] stream.c -> stream.o [CC] stringfields.c -> stringfields.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 [CC] tdd.c -> tdd.o [CC] term.c -> term.o [CC] test.c -> test.o [CC] threadpool.c -> threadpool.o In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from stasis.c:30: In function 'strcpy', inlined from 'subscription_change_alloc' at stasis.c:1633:2: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] threadstorage.c -> threadstorage.o [CC] timing.c -> timing.o [CC] translate.c -> translate.o [CC] ulaw.c -> ulaw.o [CC] uri.c -> uri.o [CC] utils.c -> utils.o [CC] uuid.c -> uuid.o [CC] version.c -> version.o [CC] xml.c -> xml.o [CC] xmldoc.c -> xmldoc.o [CC] ccss.c -> ccss.o In function 'strcpy', inlined from 'link_topic_proxy' at stasis.c:530:2, inlined from 'stasis_topic_create_with_detail.part.0' at stasis.c:594:6: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] cdr.c -> cdr.o [CC] cel.c -> cel.o [CC] config.c -> config.o [CC] dnsmgr.c -> dnsmgr.o [CC] dsp.c -> dsp.o [CC] enum.c -> enum.o [CC] features.c -> features.o [CC] http.c -> http.o [CC] indications.c -> indications.o [CC] logger.c -> logger.o [CC] manager.c -> manager.o [CC] named_acl.c -> named_acl.o [CC] plc.c -> plc.o [CC] sounds.c -> sounds.o [CC] udptl.c -> udptl.o In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from http.c:45: In function 'strcpy', inlined from 'add_redirect' at http.c:2048:2: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'handle_cli_indication_add', inlined from 'handle_cli_indication_add' at indications.c:658:14: indications.c:705:3: warning: '%s' directive argument is null [-Wformat-overflow=] 705 | ast_log(LOG_WARNING, "Unable to register indication %s/%s\n", a->argv[2], a->argv[3]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ indications.c:705:3: warning: '%s' directive argument is null [-Wformat-overflow=] In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/string.h:495, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk/compat.h:51, from /tmp/instance-1/output-1/build/asterisk-16.10.0/include/asterisk.h:22, from pbx.c:30: In function 'strcpy', inlined from 'ast_merge_contexts_and_delete' at pbx.c:6549:4: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] abstract_jb.o acl.o adsi.o alaw.o alertpipe.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o astobj2_container.o astobj2_global.o astobj2_hash.o astobj2_rbtree.o audiohook.o autochan.o autoservice.o backtrace.o bridge.o bridge_after.o bridge_basic.o bridge_channel.o bridge_roles.o bucket.o callerid.o channel.o channel_internal_api.o chanvars.o cli.o codec.o codec_builtin.o config_options.o conversions.o core_local.o core_unreal.o crypt.o data_buffer.o datastore.o db.o devicestate.o dial.o dns.o dns_core.o dns_naptr.o dns_query_set.o dns_recurring.o dns_srv.o dns_system_resolver.o dns_test.o dns_tlsa.o dns_txt.o endpoints.o event.o features_config.o file.o fixedjitterbuf.o format.o format_cache.o format_cap.o format_compatibility.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o image.o io.o iostream.o jitterbuf.o json.o libasteriskpj.o libasteriskssl.o loader.o lock.o manager_bridges.o manager_channels.o manager_endpoints.o manager_mwi.o manager_system.o max_forwards.o md5.o media_cache.o media_index.o message.o mixmonitor.o mwi.o named_locks.o netsock2.o optional_api.o options.o parking.o pbx.o pbx_app.o pbx_builtins.o pbx_functions.o pbx_hangup_handler.o pbx_ignorepat.o pbx_include.o pbx_sw.o pbx_switch.o pbx_timing.o pbx_variables.o pickup.o poll.o presencestate.o privacy.o rtp_engine.o say.o sched.o sdp_srtp.o security_events.o sem.o serializer.o sha1.o sip_api.o slinfactory.o smoother.o sorcery.o srv.o stasis.o stasis_bridges.o stasis_cache.o stasis_cache_pattern.o stasis_channels.o stasis_endpoints.o stasis_message.o stasis_message_router.o stasis_system.o stdtime/localtime.o strcompat.o stream.o stringfields.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadpool.o threadstorage.o timing.o translate.o ulaw.o uri.o utils.o uuid.o version.o xml.o xmldoc.o ccss.o cdr.o cel.o config.o dnsmgr.o dsp.o enum.o features.o http.o indications.o logger.o manager.o named_acl.o plc.o sounds.o udptl.o -> asterisk [CC] res_ari_events.c -> res_ari_events.o [CC] ari/resource_events.c -> ari/resource_events.o [CC] res_stasis_answer.c -> res_stasis_answer.o [CC] res_format_attr_g729.c -> res_format_attr_g729.o [CC] res_statsd.c -> res_statsd.o [CC] res_ari_applications.c -> res_ari_applications.o [CC] ari/resource_applications.c -> ari/resource_applications.o [CC] res_fax_spandsp.c -> res_fax_spandsp.o [CC] res_format_attr_celt.c -> res_format_attr_celt.o [CC] res_manager_devicestate.c -> res_manager_devicestate.o [CC] res_ari_playbacks.c -> res_ari_playbacks.o [CC] ari/resource_playbacks.c -> ari/resource_playbacks.o [CC] res_ari_channels.c -> res_ari_channels.o [CC] ari/resource_channels.c -> ari/resource_channels.o [CC] res_ari_recordings.c -> res_ari_recordings.o [CC] ari/resource_recordings.c -> ari/resource_recordings.o [CC] res_phoneprov.c -> res_phoneprov.o [CC] res_format_attr_h263.c -> res_format_attr_h263.o [CC] res_crypto.c -> res_crypto.o [CC] res_http_media_cache.c -> res_http_media_cache.o [CC] res_ael_share.c -> res_ael_share.o [CC] ael/ael_lex.c -> ael/ael_lex.o [CC] ael/ael.tab.c -> ael/ael.tab.o [CC] ael/pval.c -> ael/pval.o [CC] res_hep.c -> res_hep.o [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o [CC] res_format_attr_h264.c -> res_format_attr_h264.o [CC] res_monitor.c -> res_monitor.o [CC] res_curl.c -> res_curl.o [CC] res_sorcery_realtime.c -> res_sorcery_realtime.o [CC] res_ari_endpoints.c -> res_ari_endpoints.o [CC] ari/resource_endpoints.c -> ari/resource_endpoints.o [CC] res_hep_rtcp.c -> res_hep_rtcp.o [CC] res_ari_model.c -> res_ari_model.o [CC] ari/ari_model_validators.c -> ari/ari_model_validators.o [CC] res_format_attr_ilbc.c -> res_format_attr_ilbc.o [CC] res_stasis_device_state.c -> res_stasis_device_state.o [CC] res_stasis_recording.c -> res_stasis_recording.o [CC] stasis_recording/stored.c -> stasis_recording/stored.o res_fax_spandsp.c: In function 'set_logging': res_fax_spandsp.c:452:38: warning: passing argument 2 of 'span_log_set_message_handler' from incompatible pointer type [-Wincompatible-pointer-types] 452 | span_log_set_message_handler(state, spandsp_log); | ^~~~~~~~~~~ | | | void (*)(int, const char *) In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp.h:53, from res_fax_spandsp.c:67: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp/logging.h:123:92: note: expected 'message_handler_func_t' {aka 'void (*)(void *, int, const char *)'} but argument is of type 'void (*)(int, const char *)' 123 | SPAN_DECLARE(void) span_log_set_message_handler(logging_state_t *s, message_handler_func_t func, void *user_data); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ res_fax_spandsp.c:452:2: error: too few arguments to function 'span_log_set_message_handler' 452 | span_log_set_message_handler(state, spandsp_log); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp.h:53, from res_fax_spandsp.c:67: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp/logging.h:123:20: note: declared here 123 | SPAN_DECLARE(void) span_log_set_message_handler(logging_state_t *s, message_handler_func_t func, void *user_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] res_sorcery_config.c -> res_sorcery_config.o [CC] res_ari_bridges.c -> res_ari_bridges.o res_fax_spandsp.c: In function 'set_ecm': res_fax_spandsp.c:482:44: error: 'T30_SUPPORT_T4_1D_COMPRESSION' undeclared (first use in this function) 482 | t30_set_supported_compressions(t30_state, T30_SUPPORT_T4_1D_COMPRESSION | T30_SUPPORT_T4_2D_COMPRESSION | T30_SUPPORT_T6_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_fax_spandsp.c:482:44: note: each undeclared identifier is reported only once for each function it appears in res_fax_spandsp.c:482:76: error: 'T30_SUPPORT_T4_2D_COMPRESSION' undeclared (first use in this function) 482 | t30_set_supported_compressions(t30_state, T30_SUPPORT_T4_1D_COMPRESSION | T30_SUPPORT_T4_2D_COMPRESSION | T30_SUPPORT_T6_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_fax_spandsp.c:482:108: error: 'T30_SUPPORT_T6_COMPRESSION' undeclared (first use in this function) 482 | t30_set_supported_compressions(t30_state, T30_SUPPORT_T4_1D_COMPRESSION | T30_SUPPORT_T4_2D_COMPRESSION | T30_SUPPORT_T6_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ res_fax_spandsp.c: In function 'spandsp_fax_start': res_fax_spandsp.c:969:40: warning: passing argument 2 of 't30_set_phase_e_handler' from incompatible pointer type [-Wincompatible-pointer-types] 969 | t30_set_phase_e_handler(p->t30_state, t30_phase_e_handler, s); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(t30_state_t *, void *, int) {aka void (*)(struct t30_state_s *, void *, int)} In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp.h:122, from res_fax_spandsp.c:67: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp/t30_api.h:557:82: note: expected 't30_phase_e_handler_t' {aka 'void (*)(void *, int)'} but argument is of type 'void (*)(t30_state_t *, void *, int)' {aka 'void (*)(struct t30_state_s *, void *, int)'} 557 | SPAN_DECLARE(void) t30_set_phase_e_handler(t30_state_t *s, t30_phase_e_handler_t handler, void *user_data); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ res_fax_spandsp.c: In function 'load_module': res_fax_spandsp.c:1259:2: error: too few arguments to function 'span_set_message_handler' 1259 | span_set_message_handler(NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp.h:53, from res_fax_spandsp.c:67: /tmp/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/spandsp/logging.h:125:20: note: declared here 125 | SPAN_DECLARE(void) span_set_message_handler(message_handler_func_t func, void *user_data); | ^~~~~~~~~~~~~~~~~~~~~~~~ [CC] ari/resource_bridges.c -> ari/resource_bridges.o [CC] res_ari_sounds.c -> res_ari_sounds.o [CC] ari/resource_sounds.c -> ari/resource_sounds.o make[2]: *** [/tmp/instance-1/output-1/build/asterisk-16.10.0/Makefile.rules:163: res_fax_spandsp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:387: res] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/asterisk-16.10.0' make: *** [package/pkg-generic.mk:250: /tmp/instance-1/output-1/build/asterisk-16.10.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'