Applying ./patches/0002-idmb_rec_write-check-for-tpgt-first.patch using plaintext: 
patching file usr/idbm.c

Applying ./patches/0003-idbm_rec_write-seperate-old-and-new-style-writes.patch using plaintext: 
patching file usr/idbm.c

Applying ./patches/0015-remove-the-offload-boot-supported-ifdef.patch using plaintext: 
patching file usr/iface.c

Applying ./patches/0019-Coverity-scan-fixes.patch using plaintext: 
patching file iscsiuio/src/unix/libs/qedi.c
patching file iscsiuio/src/unix/main.c
patching file libopeniscsiusr/idbm.c
patching file usr/idbm.c
patching file usr/iscsid.c

Applying ./patches/0998-path_adjustments.patch using plaintext: 
patching file include/iscsi_if.h
patching file etc/Makefile
patching file usr/Makefile
patching file utils/Makefile
patching file doc/Makefile
OpenWrt-libtoolize: putting auxiliary files in '.'.
OpenWrt-libtoolize: copying file './ltmain.sh'
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.
OpenWrt-libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
configure.ac:20: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:20: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:20: the top level
configure.ac:28: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:28: You should run autoupdate.
./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
configure.ac:28: the top level
configure.ac:51: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:51: You should run autoupdate.
aclocal.m4:9638: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:51: the top level
configure.ac:51: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:51: put the 'dlopen' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:9638: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:51: the top level
configure.ac:54: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:54: You should run autoupdate.
aclocal.m4:1250: AC_PROG_LIBTOOL is expanded from...
configure.ac:54: the top level
configure.ac:97: warning: AC_OUTPUT should be used without arguments.
configure.ac:97: You should run autoupdate.
configure.ac:23: installing './compile'
configure.ac:54: installing './config.guess'
configure.ac:54: installing './config.sub'
configure.ac:19: installing './install-sh'
configure.ac:19: installing './missing'
Makefile.am: installing './COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your project uses
src/apps/brcm-iscsi/Makefile.am: installing './depcomp'
src/unix/Makefile.am:12: warning: source file '${top_srcdir}/../utils/sysdeps/sysdeps.c' is in a subdirectory,
src/unix/Makefile.am:12: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/unix/libs/Makefile.am:10: warning: source file '../build_date.c' is in a subdirectory,
src/unix/libs/Makefile.am:10: but option 'subdir-objects' is disabled
configure: loading site script /builder/shared-workdir/build/sdk/include/site/aarch64
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 aarch64-openwrt-linux-strip... aarch64-openwrt-linux-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 bash... /bin/bash
checking for aarch64-openwrt-linux-gcc... aarch64-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 the compiler supports GNU C... yes
checking whether aarch64-openwrt-linux-musl-gcc accepts -g... yes
checking for aarch64-openwrt-linux-musl-gcc option to enable C11 features... none needed
checking whether aarch64-openwrt-linux-musl-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-openwrt-linux-musl-gcc... gcc3
checking for aarch64-openwrt-linux-ranlib... aarch64-openwrt-linux-ranlib
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 wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... aarch64-openwrt-linux-musl-gcc -E
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 aarch64-openwrt-linux-musl-gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking whether byte ordering is bigendian... (cached) no
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-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 aarch64-openwrt-linux-musl-gcc... /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/aarch64-openwrt-linux-musl/bin/ld
checking if the linker (/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/aarch64-openwrt-linux-musl/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/bin/aarch64-openwrt-linux-nm -B
checking the name lister (/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/bin/aarch64-openwrt-linux-nm -B) 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 aarch64-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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/aarch64-openwrt-linux-musl/bin/ld option to reload object files... -r
checking for aarch64-openwrt-linux-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for aarch64-openwrt-linux-objdump... aarch64-openwrt-linux-objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-openwrt-linux-ar... aarch64-openwrt-linux-ar
checking for archiver @FILE support... @
checking for aarch64-openwrt-linux-strip... (cached) aarch64-openwrt-linux-strip
checking for aarch64-openwrt-linux-ranlib... (cached) aarch64-openwrt-linux-ranlib
checking command to parse /builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/bin/aarch64-openwrt-linux-nm -B output from aarch64-openwrt-linux-musl-gcc object... failed
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 aarch64-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-openwrt-linux-musl-gcc static flag -static works... yes
checking if aarch64-openwrt-linux-musl-gcc supports -c -o file.o... yes
checking if aarch64-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-openwrt-linux-musl-gcc linker (/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-12.2.0_musl/aarch64-openwrt-linux-musl/bin/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... cross
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 for libsystemd... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/apps/Makefile
config.status: creating src/apps/dhcpc/Makefile
config.status: creating src/apps/brcm-iscsi/Makefile
config.status: creating src/uip/Makefile
config.status: creating src/unix/Makefile
config.status: creating src/unix/libs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7'
make -w -j1 -C libopeniscsiusr
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr'
aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7=open-iscsi-2.1.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -flto -D_GNU_SOURCE -DNO_SYSTEMD  -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/usr -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr   -c -o context.o context.c
aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7=open-iscsi-2.1.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -flto -D_GNU_SOURCE -DNO_SYSTEMD  -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/usr -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr   -c -o misc.o misc.c
aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7=open-iscsi-2.1.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -flto -D_GNU_SOURCE -DNO_SYSTEMD  -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/usr -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr   -c -o session.o session.c
aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7=open-iscsi-2.1.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -flto -D_GNU_SOURCE -DNO_SYSTEMD  -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/usr -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr   -c -o sysfs.o sysfs.c
aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7=open-iscsi-2.1.7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC -flto -D_GNU_SOURCE -DNO_SYSTEMD  -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/usr -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr   -c -o iface.o iface.c
iface.c:36:10: fatal error: libkmod.h: No such file or directory
   36 | #include <libkmod.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[5]: *** [<builtin>: iface.o] Error 1
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/libopeniscsiusr'
make[4]: *** [Makefile:53: user] Error 2
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7'
make[3]: *** [Makefile:101: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/open-iscsi-2.1.7/.built] Error 2
time: package/feeds/packages/open-iscsi/compile#19.40#3.96#47.20