Applying /builder/shared-workdir/build/sdk/feeds/telephony/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch using plaintext: 
patching file configure.ac
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_cortex-a8+vfpv3_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_cortex-a8+vfpv3_musl_eabi/usr/share/aclocal -I m4 -I . --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a8+vfpv3_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_cortex-a8+vfpv3_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force
configure.ac:11: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:11: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:11: the top level
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a8+vfpv3_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_cortex-a8+vfpv3_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:78: installing './compile'
configure.ac:6: installing './config.guess'
configure.ac:6: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
automake: error: no 'Makefile.am' found for any configure output
autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake failed with exit status: 1
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm
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 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 how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E
checking for strip... (cached) arm-openwrt-linux-muslgnueabi-strip
checking for rm... rm
checking for library containing iconv... none required
checking for sqlite3_open in -lsqlite3... yes
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 fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/time.h... yes
checking for termios.h... yes
checking whether asterisk.h in /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a8+vfpv3_musl_eabi/usr/include... no
configure: error: Can't find "asterisk.h"
make[3]: *** [Makefile:101: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/asterisk-chan-dongle-2021-10-06-3d046f7d/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1
time: package/feeds/telephony/asterisk-chan-dongle/compile#8.70#1.79#15.14