Applying ./patches/0006-fix_default_config_location.patch using plaintext: patching file main.c Applying ./patches/100_use_cc_dumpmachine_instead_of_uname.patch using plaintext: patching file Makefile make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/redsocks-release-0.5' mkdir -p gen touch gen/.build rm -f gen/version.c.tmp echo '/* this file is auto-generated during build */' > gen/version.c.tmp echo '#include "../version.h"' >> gen/version.c.tmp echo 'const char* redsocks_version = ' >> gen/version.c.tmp if [ -d .git ]; then \ echo '"redsocks.git/'`git describe --tags`'"'; \ if [ `git status --porcelain | grep -v -c '^??'` != 0 ]; then \ echo '"'"-unclean-$(date --rfc-3339=seconds | tr ' ' 'T')-${USER}@$(uname -n)"'"'; \ fi \ else \ echo '"redsocks/0.5"'; \ fi >> gen/version.c.tmp echo ';' >> gen/version.c.tmp mv -f gen/version.c.tmp gen/version.c arm-openwrt-linux-muslgnueabi-gcc -MM parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c 2>/dev/null >.depend || \ ( \ for I in http-auth.h log.h libc-compat.h list.h redsocks.h parser.h version.h main.h md5.h socks5.h libevent-compat.h base64.h redudp.h dnstc.h utils.h base.h; do \ export ${I//[-.]/_}_DEPS="`sed '/^\#[ \t]*include \?"\(.*\)".*/!d;s//\1/' $I`"; \ done; \ echo -n >.depend; \ for SRC in parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c; do \ echo -n "${SRC%.c}.o: " >>.depend; \ export SRC_DEPS="`sed '/\#[ \t]*include \?"\(.*\)".*/!d;s//\1/' $SRC | sort`"; \ while true; do \ export SRC_DEPS_OLD="$SRC_DEPS"; \ export SRC_DEEP_DEPS=""; \ for HDR in $SRC_DEPS; do \ eval export SRC_DEEP_DEPS="\"$SRC_DEEP_DEPS \$${HDR//[-.]/_}_DEPS\""; \ done; \ export SRC_DEPS="`echo $SRC_DEPS $SRC_DEEP_DEPS | sed 's/ */\n/g' | sort -u`"; \ test "$SRC_DEPS" = "$SRC_DEPS_OLD" && break; \ done; \ echo $SRC $SRC_DEPS >>.depend; \ done; \ ) arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/redsocks-release-0.5=redsocks-release-0.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.2.0_musl_eabi/include -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o parser.o parser.c In file included from parser.c:29: utils.h:6:10: fatal error: event.h: No such file or directory 6 | #include | ^~~~~~~~~ compilation terminated. make[4]: *** [: parser.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/redsocks-release-0.5' make[3]: *** [Makefile:60: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/redsocks-release-0.5/.built] Error 2 time: package/feeds/packages/redsocks/compile#0.62#0.23#1.36