Applying ./patches/030-GNU-GLOB-exts-only-on-glibc.patch using plaintext: patching file res/ael/ael.flex patching file res/ael/ael_lex.c Applying ./patches/053-musl-mutex-init.patch using plaintext: patching file include/asterisk/lock.h Applying ./patches/100-build-reproducibly.patch using plaintext: patching file build_tools/make_build_h patching file build_tools/make_xml_documentation Applying ./patches/110-fix-astmm.patch using plaintext: patching file include/asterisk/compat.h Applying ./patches/130-eventfd.patch using plaintext: patching file configure.ac Applying ./patches/140-use-default-lua.patch using plaintext: patching file configure.ac Applying ./patches/150-musl-12x.patch using plaintext: patching file include/asterisk/compat.h patching file utils/db1-ast/include/db.h Applying ./patches/160-AST_EXT_TOOL_CHECK.patch using plaintext: patching file autoconf/ast_ext_tool_check.m4 Applying ./patches/170-menuselect-force-use-of-xml2-config.patch using plaintext: patching file menuselect/configure.ac Generating the configure script for Asterisk ... autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory Generating the configure script for menuselect ... autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-nls, --without-vpb configure: loading site script /builder/shared-workdir/build/sdk/include/site/mipsel checking build system type... x86_64-pc-linux-gnu checking host system type... mipsel-openwrt-linux-gnu checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-linux-musl-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 the compiler supports GNU C... yes checking whether mipsel-openwrt-linux-musl-gcc accepts -g... yes checking for mipsel-openwrt-linux-musl-gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for utime.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether char is unsigned... no checking for mipsel-openwrt-linux-uname... no checking for uname... /bin/uname configure: WARNING: using cross tools not prefixed with host triplet checking for mipsel-openwrt-linux-gcc... (cached) mipsel-openwrt-linux-musl-gcc checking for mipsel-openwrt-linux-g++... mipsel-openwrt-linux-musl-g++ checking for mipsel-openwrt-linux-ld... mipsel-openwrt-linux-musl-ld checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-musl-gcc-ranlib checking whether the compiler supports GNU C++... yes checking whether mipsel-openwrt-linux-musl-g++ accepts -g... yes checking for mipsel-openwrt-linux-musl-g++ option to enable C++11 features... none needed checking how to run the C preprocessor... mipsel-openwrt-linux-musl-gcc -E checking how to run the C++ preprocessor... mipsel-openwrt-linux-musl-g++ -E checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for egrep... grep -E checking for ld used by mipsel-openwrt-linux-musl-gcc... mipsel-openwrt-linux-musl-ld checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether ln -s works... yes checking for mipsel-openwrt-linux-ranlib... (cached) mipsel-openwrt-linux-musl-gcc-ranlib checking for GNU make... make checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-musl-strip checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-musl-gcc-ar checking for bison... /builder/shared-workdir/build/sdk/staging_dir/host/bin/bison checking for cmp... /usr/bin/cmp checking for cat... /bin/cat checking for cut... /usr/bin/cut checking for flex... /builder/shared-workdir/build/sdk/staging_dir/host/bin/flex checking for grep... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for python2.7... /usr/bin/python2.7 checking for find... /builder/shared-workdir/build/sdk/staging_dir/host/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... /builder/shared-workdir/build/sdk/staging_dir/host/bin/wget checking for curl... /usr/bin/curl checking for xmllint... : checking for xmlstarlet... no checking for xml... no checking for bash... /bin/bash checking for git... /builder/shared-workdir/build/sdk/staging_dir/host/bin/git checking for alembic... : checking for bzip2... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/bzip2 checking for tar... /builder/shared-workdir/build/sdk/staging_dir/host/bin/tar checking for patch... /builder/shared-workdir/build/sdk/staging_dir/host/bin/patch checking for sed... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for nm... /usr/bin/nm checking for realpath... /builder/shared-workdir/build/sdk/staging_dir/host/bin/realpath checking for ldconfig... (cached) no checking for sha1sum... /usr/bin/sha1sum checking for openssl... /builder/shared-workdir/build/sdk/staging_dir/host/bin/openssl checking pkg-config is at least version 0.9.0... yes checking for bison that supports parse-param... /builder/shared-workdir/build/sdk/staging_dir/host/bin/bison checking for mipsel-openwrt-linux-soxmix... no checking for soxmix... no checking for md5... no checking for md5sum... md5sum checking for a sed that does not truncate output... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking whether mipsel-openwrt-linux-musl-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 configure: checking OPENSSL with pkg-config configure: checking whether system openssl > 1.1.0 checking for OPENSSL... yes checking for gawk... (cached) gawk checking for curl-config... no checking whether libcurl is usable... no 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 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 for assert.h... yes checking for ctype.h... yes checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for float.h... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for locale.h... yes checking for math.h... yes checking for pwd.h... yes checking for netinet/in.h... (cached) yes checking for regex.h... yes checking for sched.h... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/resource.h... yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/un.h... yes checking for termios.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for arpa/inet.h... yes checking for libintl.h... yes checking for malloc.h... yes checking for netdb.h... (cached) yes checking for stddef.h... yes checking for strings.h... (cached) yes checking for sys/event.h... no checking for utime.h... (cached) yes checking for LIBEDIT... yes checking for Testing for libedit unicode support... yes checking for uuid_generate_random in -luuid... yes checking for uuid/uuid.h... yes checking for JANSSON... yes checking for clock_gettime in -lrt... yes checking for LIBXML2... yes checking for xsltCleanupGlobals in -lxslt... yes checking for libxslt/xsltInternals.h... yes checking for xlocale.h... no checking for winsock.h... no checking for winsock2.h... no 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 _Bool... yes checking for stdbool.h that conforms to C99... 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 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 working chown... yes checking whether closedir returns void... no checking for error_at_line... 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 mipsel-openwrt-linux-musl-gcc needs -traditional... no checking for working memcmp... (cached) yes checking for getpagesize... yes checking for vprintf... yes checking for working mmap... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... (cached) yes checking whether stat accepts an empty string... (cached) no checking for working strcoll... yes checking for strftime... (cached) yes checking for working strnlen... yes checking for working strtod... no checking for pow... yes checking whether utime accepts a null argument... guessing yes 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... (cached) yes checking for gethostbyname... yes checking for gethostname... yes checking for getloadavg... yes checking for gettimeofday... (cached) yes checking for glob... yes checking for ioperm... yes checking for inet_ntoa... yes checking for isascii... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkdtemp... yes checking for munmap... yes checking for newlocale... yes checking for pipe2... yes checking for ppoll... yes checking for putenv... yes checking for re_comp... no 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... (cached) yes checking for strlcat... yes checking for strlcpy... yes 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... no checking for unsetenv... yes checking for uselocale... yes checking for utime... yes checking for vasprintf... yes checking for getpeereid... no checking for sysctl... no checking for swapctl... no checking for malloc_trim... no 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) yes checking for rint... yes checking for exp... yes checking for log... yes checking for remainder... yes checking for fmod... yes checking for round... yes checking for roundf... yes checking for trunc... yes checking for floor... yes checking for ceil... yes checking for 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 mipsel-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed checking whether gethostbyname_r is declared... 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 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... no checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... no checking for PTHREAD_MUTEX_ADAPTIVE_NP in pthread.h... no 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... no checking whether we can compare a mutex to its initial value... 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-format-y2k... yes checking for -Wno-stringop-truncation... yes checking for -Wshadow... yes checking for -march=native support... no checking whether to use rpath... not needed 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... no checking for GLOB_BRACE in glob.h... no checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 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 snd_pcm_open in -lasound... no checking for bfd_openr in -lbfd... yes checking for bfd.h... yes checking for cap_from_text in -lcap... yes checking for sys/capability.h... yes checking for DAHDI_RESET_COUNTERS in dahdi/user.h... yes checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h... yes checking for enhanced dahdi vmwi support... yes checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using dahdi/user.h... yes checking for getifaddrs() support... yes checking for timerfd support... yes checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for iconv_close in -lc... yes checking for iconv.h... yes checking for icaltimezone_get_utc_timezone in -lical... yes checking for libical/ical.h... yes checking for iks_start_sasl in -liksemel... no checking for system c-client library...... yes checking for SQLConnect in -liodbc... no checking for inotify_init in -lc... yes checking for sys/inotify.h... yes checking for jack_activate in -ljack... no checking for kqueue in -lc... no checking for kevent64... no checking for ldap_initialize in -lldap... no checking for mipsel-openwrt-linux-mysql_config... no checking for mysql_config... /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/host/bin/mysql_config checking for MySQL client bool support... no checking for MySQL client my_bool support... yes checking for mipsel-openwrt-linux-neon-config... (cached) /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/bin/neon-config checking for mipsel-openwrt-linux-neon-config... (cached) /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/bin/neon-config checking for NETSNMP... no checking for mipsel-openwrt-linux-net-snmp-config... no checking for net-snmp-config... no checking for ub_ctx_delete in -lunbound... no checking for SQLConnect in -lodbc... no checking for ogg_stream_init in -logg... no checking for ba2str in -lbluetooth... no checking for bs_version in -lbeanstalk... no checking for mipsel-openwrt-linux-pg_config... no checking for pg_config... /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/bin/pg_config checking for PQescapeStringConn in -lpq... yes checking for pg_encoding_to_char within Postgres headers... yes checking for PJPROJECT... yes checking for pjsip_dlg_create_uas_and_inc_lock in -lpjsip... yes checking for pjsip.h... yes checking for pjsip_tsx_create_uac2 in -lpjsip... yes checking for pjsip.h... (cached) yes checking if "pjmedia_mod_offer_flag flag = PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE" compiles using pjmedia.h... yes checking for pjsip_get_dest_info in -lpjsip... yes checking for pjsip.h... (cached) yes checking for pj_ssl_cert_load_from_files2 in -lpj... yes checking for pjlib.h... yes checking for pjsip_endpt_set_ext_resolver in -lpjsip... yes checking for pjsip.h... (cached) yes checking if "struct pjsip_tls_setting setting; int proto; proto = setting.proto;" compiles using pjsip.h... yes checking if "pjsip_cfg()->endpt.accept_multiple_sdp_answers = 0;" compiles using pjsip.h... yes checking if "pjsip_cfg()->endpt.use_compact_form = PJ_TRUE;" compiles using pjsip.h... yes checking if "struct pjsip_tpselector sel; sel.disable_connection_reuse = PJ_TRUE;" compiles using pjsip.h... yes checking if "struct pjsip_oauth_credential credential;" compiles using pjsip.h... yes checking for pjproject on_valid_pair callback... yes checking for pjsip_evsub_add_ref in -lpjsip... yes checking for pjsip.h... (cached) yes checking for pjsip_inv_add_ref in -lpjsip... yes checking for pjsip.h... (cached) yes checking for pjsip_auth_clt_deinit in -lpjsip... yes checking for pjsip.h... (cached) yes checking for pjsip_tsx_layer_find_tsx2 in -lpjsip... yes checking for pjsip.h... (cached) yes checking for pjsip_tls_transport_restart in -lpjsip... yes checking for pjsip.h... (cached) yes checking for poptStrerror in -lpopt... no checking for PORTAUDIO... yes checking for pri_connected_line_update in -lpri... no checking for resample_open in -lresample... no checking for fftw_malloc in -lfftw3... no checking for sf_open in -lsndfile... yes checking for sndfile.h... yes checking for minimum version of SpanDSP... no checking for ss7_set_isup_timer in -lss7... no checking for openr2_chan_new in -lopenr2... no checking for opus_encoder_create in -lopus... yes checking for opus/opus.h... yes checking for op_open_callbacks in -lopusfile... no checking for luaL_newstate in -llua5.4... no checking for luaL_newstate in -llua5.3... yes checking for lua5.3/lua.h... yes checking for codec2_create in -lcodec2... no checking for cpg_join in -lcpg... no checking for corosync_cfg_state_track in -lcfg... no checking for sqlite3_open in -lsqlite3... no configure: error: *** Asterisk now uses SQLite3 for the internal Asterisk database. make[3]: *** [Makefile:762: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/asterisk-20.0.1/.configured_90eeb61ff223b1c22dc062813162048d] Error 1 time: package/feeds/telephony/asterisk/compile#24.30#7.41#54.92