Applying ./patches/301-cross-compilation-macos.patch using plaintext: 
patching file build/ac-macros/macosx.m4
patching file Makefile.in
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_arm926ej-s_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_arm926ej-s_musl_eabi/usr/share/aclocal -I build/ac-macros -I . --force 
build/ac-macros/zlib.m4:26: warning: underquoted definition of SVN_LIB_Z
build/ac-macros/zlib.m4:26:   run info Automake 'Extending aclocal'
build/ac-macros/zlib.m4:26:   or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
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'.
OpenWrt-libtoolize: linking file 'build/config.guess'
OpenWrt-libtoolize: linking file 'build/config.sub'
OpenWrt-libtoolize: linking file 'build/install-sh'
OpenWrt-libtoolize: linking file 'build/ltmain.sh'
OpenWrt-libtoolize: Remember to add 'LT_INIT' to configure.ac.
OpenWrt-libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
OpenWrt-libtoolize: and rerunning libtoolize and aclocal.
OpenWrt-libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
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_arm926ej-s_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_arm926ej-s_musl_eabi/usr/share/aclocal -I build/ac-macros -I . --force 
build/ac-macros/zlib.m4:26: warning: underquoted definition of SVN_LIB_Z
build/ac-macros/zlib.m4:26:   run info Automake 'Extending aclocal'
build/ac-macros/zlib.m4:26:   or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_arm926ej-s_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_arm926ej-s_musl_eabi/usr/share/aclocal --include=build/ac-macros --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-dependency-tracking
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm
configure: Configuring Subversion 1.14.1
configure: creating config.nice
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 if arm-openwrt-linux-muslgnueabi-gcc accepts -std=c90... yes
checking if arm-openwrt-linux-muslgnueabi-gcc accepts -w... yes
checking if arm-openwrt-linux-muslgnueabi-gcc accepts -Werror=unknown-warning-option... no
checking whether we are using the GNU C++ compiler... yes
checking whether arm-openwrt-linux-muslgnueabi-g++ accepts -g... yes
checking if arm-openwrt-linux-muslgnueabi-g++ accepts -std=c++11... yes
checking if arm-openwrt-linux-muslgnueabi-g++ accepts -w... yes
checking if arm-openwrt-linux-muslgnueabi-g++ accepts -Werror=unknown-warning-option... no
checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking target system type... arm-openwrt-linux-gnu
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 whether ln -s works... yes
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and configure Subversion
with the appropriate --with-apr option.

You probably need to do something similar with the Apache
Portable Runtime Utility (APRUTIL) library and then configure
Subversion with both the --with-apr and --with-apr-util options.

configure: error: no suitable APR found
make[3]: *** [Makefile:126: /builder/shared-workdir/build/sdk/build_dir/target-arm_arm926ej-s_musl_eabi/subversion-1.14.1/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1
time: package/feeds/packages/subversion/compile#21.33#2.39#52.31