Applying ./patches/001-configure_in.patch using plaintext: 
patching file m4/fd_passing.m4
patching file m4/glibc.m4
patching file m4/ioloop.m4
patching file m4/mmap_write.m4
patching file m4/want_gssapi.m4

Applying ./patches/050-fix-dovecot-config-for-cross-compile.patch using plaintext: 
patching file Makefile.am

Applying ./patches/100-openssl-deprecated.patch using plaintext: 
patching file src/lib-ssl-iostream/dovecot-openssl-common.c
patching file src/lib-ssl-iostream/iostream-openssl-context.c

Applying ./patches/110-openssl-engine.patch using plaintext: 
patching file src/lib-dcrypt/dcrypt-openssl.c
patching file src/lib-ssl-iostream/dovecot-openssl-common.c
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4
configure.ac:285: warning: macro 'AM_ICONV' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force
OpenWrt-libtoolize: putting auxiliary files in '.'.
OpenWrt-libtoolize: linking file './config.guess'
OpenWrt-libtoolize: linking file './config.sub'
OpenWrt-libtoolize: linking file './install-sh'
OpenWrt-libtoolize: linking file './ltmain.sh'
OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
OpenWrt-libtoolize: linking file 'm4/libtool.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/ltoptions.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/ltsugar.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/ltversion.m4'
OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4
configure.ac:285: warning: macro 'AM_ICONV' not found in library
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory
autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf failed with exit status: 1
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/dovecot-2.3.18/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking pkg-config is at least version 0.9.0... yes
checking for SYSTEMD... no
checking for systemd unit directory... 
checking whether make supports the include directive... yes (GNU style)
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-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 arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none
checking for library containing strerror... none required
checking for arm-openwrt-linux-gcc... (cached) arm-openwrt-linux-muslgnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... (cached) yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... (cached) none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... (cached) yes
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... (cached) none
checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether arm-openwrt-linux-muslgnueabi-g++ accepts -g... yes
checking dependency style of arm-openwrt-linux-muslgnueabi-g++... none
checking for arm-openwrt-linux-flex... no
checking for flex... flex
configure: WARNING: using cross tools not prefixed with host triplet
checking for arm-openwrt-linux-bison... no
checking for bison... bison
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 ANSI C header files... yes
checking for inline... inline
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F
checking for ld used by arm-openwrt-linux-muslgnueabi-gcc... arm-openwrt-linux-muslgnueabi-ld
checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-openwrt-linux-muslgnueabi-gcc-nm
checking the name lister (arm-openwrt-linux-muslgnueabi-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-openwrt-linux-muslgnueabi-ld option to reload object files... -r
checking for arm-openwrt-linux-objdump... arm-openwrt-linux-muslgnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-openwrt-linux-ar... arm-openwrt-linux-muslgnueabi-gcc-ar
checking for archiver @FILE support... @
checking for arm-openwrt-linux-strip... (cached) arm-openwrt-linux-muslgnueabi-strip
checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-muslgnueabi-gcc-ranlib
checking command to parse arm-openwrt-linux-muslgnueabi-gcc-nm output from arm-openwrt-linux-muslgnueabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-openwrt-linux-muslgnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-openwrt-linux-muslgnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-openwrt-linux-muslgnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-openwrt-linux-muslgnueabi-gcc static flag -static works... yes
checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... yes
checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-openwrt-linux-muslgnueabi-gcc linker (arm-openwrt-linux-muslgnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... arm-openwrt-linux-muslgnueabi-g++ -E
checking for ld used by arm-openwrt-linux-muslgnueabi-g++... arm-openwrt-linux-muslgnueabi-ld
checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld... yes
checking whether the arm-openwrt-linux-muslgnueabi-g++ linker (arm-openwrt-linux-muslgnueabi-ld) supports shared libraries... yes
checking for arm-openwrt-linux-muslgnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if arm-openwrt-linux-muslgnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if arm-openwrt-linux-muslgnueabi-g++ static flag -static works... yes
checking if arm-openwrt-linux-muslgnueabi-g++ supports -c -o file.o... yes
checking if arm-openwrt-linux-muslgnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the arm-openwrt-linux-muslgnueabi-g++ linker (arm-openwrt-linux-muslgnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ld used by arm-openwrt-linux-muslgnueabi-gcc... arm-openwrt-linux-muslgnueabi-ld
checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... guessing yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for strings.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking sys/fs/ufs_quota.h usability... no
checking sys/fs/ufs_quota.h presence... no
checking for sys/fs/ufs_quota.h... no
checking ufs/ufs/quota.h usability... no
checking ufs/ufs/quota.h presence... no
checking for ufs/ufs/quota.h... no
checking jfs/quota.h usability... no
checking jfs/quota.h presence... no
checking for jfs/quota.h... no
checking quota.h usability... no
checking quota.h presence... no
checking for quota.h... no
checking sys/fs/quota_common.h usability... no
checking sys/fs/quota_common.h presence... no
checking for sys/fs/quota_common.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking linux/dqblk_xfs.h usability... yes
checking linux/dqblk_xfs.h presence... yes
checking for linux/dqblk_xfs.h... yes
checking xfs/xqm.h usability... no
checking xfs/xqm.h presence... no
checking for xfs/xqm.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking malloc_np.h usability... no
checking malloc_np.h presence... no
checking for malloc_np.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vmount.h usability... no
checking sys/vmount.h presence... no
checking for sys/vmount.h... no
checking for sys/utsname.h... (cached) yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking linux/falloc.h usability... yes
checking linux/falloc.h presence... yes
checking for linux/falloc.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc is clang 3.3+... no
checking for linker option to include whole archive... -Wl,--whole-archive
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking Whether to enable hardening... yes
checking whether C compiler handles -pie... yes
checking whether C compiler handles -fstack-protector-strong... yes
checking whether C compiler handles -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2... yes
checking whether C compiler handles -mfunction-return=keep... no
checking whether C compiler handles -mindirect-branch=keep... no
checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now
checking whether we want undefined behaviour sanitizer... no
checking for library containing inet_aton... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing gethostent... none required
checking for library containing fdatasync... none required
checking for cap_init in -lcap... yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking for getrandom... yes
checking whether getrandom is declared... yes
checking for arc4random_buf... no
checking for fcntl... yes
checking for flock... yes
checking for lockf... yes
checking for inet_aton... yes
checking for sigaction... yes
checking for getpagesize... yes
checking for madvise... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for vsyslog... yes
checking for writev... yes
checking for pread... yes
checking for uname... yes
checking for setrlimit... yes
checking for setproctitle... no
checking for seteuid... yes
checking for setreuid... yes
checking for setegid... yes
checking for setresgid... yes
checking for getmntinfo... no
checking for setpriority... yes
checking for quotactl... yes
checking for getmntent... yes
checking for kqueue... no
checking for kevent... no
checking for backtrace_symbols... no
checking for walkcontext... no
checking for dirfd... yes
checking for clearenv... yes
checking for malloc_usable_size... yes
checking for glob... yes
checking for fallocate... yes
checking for posix_fadvise... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for inotify_init... yes
checking for timegm... yes
checking for struct sockpeercred... no
checking for library containing clock_gettime... none required
checking for typeof... yes
checking whether we can use epoll... configure: error: in `/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/dovecot-2.3.18':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
make[3]: *** [Makefile:139: /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/dovecot-2.3.18/.configured_876bda395168087ac1ad599acb65fe70] Error 1
time: package/feeds/packages/dovecot/compile#46.00#8.57#80.25