Applying ./patches/010-openssl_1.1_compat.patch using plaintext: 
patching file configure.ac
patching file opendkim/opendkim-crypto.c
patching file libopendkim/dkim.c
patching file opendkim/opendkim-testkey.c
patching file opendkim/opendkim.c

Applying ./patches/020-libbsd.patch using plaintext: 
patching file INSTALL
patching file README
patching file configure.ac
patching file libopendkim/Makefile.am
patching file libopendkim/dkim-cache.c
patching file libopendkim/dkim-canon.c
patching file libopendkim/dkim-keys.c
patching file libopendkim/dkim-test.c
patching file libopendkim/dkim.c
patching file libopendkim/tests/t-test122.c
patching file libopendkim/tests/t-test123.c
patching file libopendkim/tests/t-test127.c
patching file libopendkim/tests/t-test131.c
patching file libopendkim/tests/t-test136.c
patching file libopendkim/tests/t-test142.c
patching file libopendkim/tests/t-test153.c
patching file libopendkim/tests/t-test42.c
patching file libopendkim/tests/t-test55.c
patching file libopendkim/tests/t-test56.c
patching file libopendkim/tests/t-test57.c
patching file libopendkim/tests/t-test73.c
patching file libopendkim/tests/t-test84.c
patching file libopendkim/tests/t-test88.c
patching file libopendkim/util.c
patching file miltertest/Makefile.am
patching file miltertest/miltertest.c
patching file opendkim/Makefile.am
patching file opendkim/config.c
patching file opendkim/flowrate.c
patching file opendkim/opendkim-ar.c
patching file opendkim/opendkim-db.c
patching file opendkim/opendkim-spam.c
patching file opendkim/opendkim-testkey.c
patching file opendkim/opendkim.c
patching file opendkim/reputation.c
patching file opendkim/stats.c
patching file opendkim/test.c
patching file opendkim/util.c
patching file reprrd/reprrd.c
patching file stats/Makefile.am
patching file stats/opendkim-importstats.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_xscale_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_xscale_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force
OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
OpenWrt-libtoolize: linking file 'build-aux/config.guess'
OpenWrt-libtoolize: linking file 'build-aux/config.sub'
OpenWrt-libtoolize: linking file 'build-aux/install-sh'
OpenWrt-libtoolize: linking file 'build-aux/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_xscale_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_xscale_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_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_xscale_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
configure.ac:64: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:64: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:64: the top level
configure.ac:66: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:66: You should run autoupdate.
aclocal.m4:1773: AC_PROG_LIBTOOL is expanded from...
configure.ac:66: the top level
configure.ac:2557: warning: AC_OUTPUT should be used without arguments.
configure.ac:2557: You should run autoupdate.
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_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_xscale_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing
configure.ac:63: installing 'build-aux/compile'
configure.ac:37: installing 'build-aux/missing'
autobuild/Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory '.'
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
checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 the compiler supports GNU C... yes
checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to enable C11 features... none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none
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 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 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-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
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 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 vfork.h... no
checking for sys/time.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 pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E
checking whether arm-openwrt-linux-muslgnueabi-gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... 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 library containing inet_addr... none required
checking for library containing dlopen... none required
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for library containing inet_ntop... none required
checking for library containing getaddrinfo... none required
checking for library containing res_ninit... no
checking for library containing res_sertservers... no
checking for library containing getopt_long... none required
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 useconds_t... yes
checking whether the resolver works without -lresolv... yes
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for iso/limits_iso.h... no
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for paths.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... (cached) yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for fork... yes
checking for vfork... yes
checking for alarm... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... guessing yes
checking for GNU libc compatible malloc... (cached) yes
checking for working mktime... no
checking for GNU libc compatible realloc... (cached) yes
checking for dup2... yes
checking for endpwent... yes
checking for getcwd... (cached) yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for getaddrinfo... (cached) yes
checking for gethostbyname2... yes
checking for gettimeofday... (cached) yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for regcomp... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for realpath... yes
checking for strsep... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for rrdtool... no
checking for sendmail... /usr/sbin/sendmail
checking for openssl >= 0.9.7... no
configure: WARNING: pkg-config for openssl not found, trying manual search...
checking for OpenSSL library and includes... configure: error: OpenSSL not found
make[3]: *** [Makefile:108: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/opendkim-2.10.3/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
time: package/feeds/packages/opendkim/compile#26.64#3.04#36.23