Applying ./patches/002-use-target-ar-python-config.patch using plaintext: 
patching file Makefile.in

Applying ./patches/python_memory_allocation.patch using plaintext: 
patching file snack.c
configure: WARNING: unrecognized options: --disable-dependency-tracking
configure: loading site script /builder/shared-workdir/build/sdk/include/site/x86_64
checking for x86_64-openwrt-linux-gcc... x86_64-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 we are using the GNU C compiler... yes
checking whether x86_64-openwrt-linux-musl-gcc accepts -g... yes
checking for x86_64-openwrt-linux-musl-gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... x86_64-openwrt-linux-musl-gcc -E
checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
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 size of long... (cached) 8
checking size of long long... (cached) 8
checking size of void *... (cached) 8
checking for GNU ld... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking slang.h usability... no
checking slang.h presence... no
checking for slang.h... no
checking slang.h usability... no
checking slang.h presence... no
checking for slang.h... no
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for python versions... python3.10
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libnewt.pc
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/newt-0.52.21'
x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/newt-0.52.21=newt-0.52.21 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro    -D_GNU_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-12.2.0_musl/include    -I/opt/local/include -M test.c testgrid.c testtree.c showchars.c showkey.c whiptail.c dialogboxes.c newt.c button.c form.c checkbox.c entry.c label.c listbox.c scrollbar.c textbox.c scale.c grid.c windows.c buttonbar.c checkboxtree.c > .depend
showchars.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
showkey.c:2:10: fatal error: slang.h: No such file or directory
    2 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
whiptail.c:3:10: fatal error: popt.h: No such file or directory
    3 | #include <popt.h>
      |          ^~~~~~~~
compilation terminated.
dialogboxes.c:10:10: fatal error: slang.h: No such file or directory
   10 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
newt.c:3:10: fatal error: slang.h: No such file or directory
    3 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
button.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
form.c:5:10: fatal error: slang.h: No such file or directory
    5 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
checkbox.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
entry.c:8:10: fatal error: slang.h: No such file or directory
    8 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
label.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
listbox.c:6:10: fatal error: slang.h: No such file or directory
    6 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
scrollbar.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
textbox.c:3:10: fatal error: slang.h: No such file or directory
    3 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
scale.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
checkboxtree.c:1:10: fatal error: slang.h: No such file or directory
    1 | #include <slang.h>
      |          ^~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:119: depend] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/newt-0.52.21'
make[3]: *** [Makefile:123: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/newt-0.52.21/.built] Error 2
time: package/feeds/packages/newt/compile#2.16#0.88#6.50