Applying ./patches/001-dont-hardcode-zlib.patch using plaintext: patching file uwsgiconfig.py Applying ./patches/002-dont-override-toolchain-optimization.patch using plaintext: patching file uwsgiconfig.py Applying ./patches/003-hard-code-Linux-as-compilation-os.patch using plaintext: patching file uwsgiconfig.py Applying ./patches/004-core-alarm_fix_memory_leak.patch using plaintext: patching file core/alarm.c Applying ./patches/005-ssl-option-can_t-be-set.patch using plaintext: patching file core/uwsgi.c Applying ./patches/010-uclibc-ng.patch using plaintext: patching file core/uwsgi.c Applying ./patches/020-add-pcre2-support.patch using plaintext: patching file uwsgiconfig.py patching file core/alarm.c patching file core/logging.c patching file core/regexp.c patching file core/routing.c patching file core/ssl.c patching file core/static.c patching file core/utils.c patching file core/uwsgi.c patching file uwsgi.h patching file .github/workflows/compile-test.yml patching file .github/workflows/test.yml patching file plugins/php/php_plugin.c patching file core/config.c Applying ./patches/030-plugins-cgi_adds_dontresolve_option.patch using plaintext: patching file plugins/cgi/cgi_plugin.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' python3 uwsgiconfig.py --build openwrt core/regexp.c: In function 'uwsgi_regexp_build': core/regexp.c:22:97: warning: passing argument 5 of 'pcre2_compile_8' from incompatible pointer type [-Wincompatible-pointer-types] 22 | *pattern = pcre2_compile((const unsigned char *) re, PCRE2_ZERO_TERMINATED, 0, &errnbr, &erroff, NULL); | ^~~~~~~ | | | long unsigned int * In file included from ./uwsgi.h:445, from core/regexp.c:2: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/pcre2.h:935:1: note: expected 'size_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 935 | PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS | ^ using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include'] detected CPU cores: 24 configured CFLAGS: -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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/pypi/uwsgi-2.0.22=uwsgi-2.0.22 -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.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/include -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_HAS_IFADDRS -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.22\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="22" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi\"" *** uWSGI compiling server core *** [thread 0][arm-openwrt-linux-muslgnueabi-gcc] core/utils.o [thread 1][arm-openwrt-linux-muslgnueabi-gcc] core/protocol.o [thread 4][arm-openwrt-linux-muslgnueabi-gcc] core/socket.o [thread 7][arm-openwrt-linux-muslgnueabi-gcc] core/logging.o [thread 10][arm-openwrt-linux-muslgnueabi-gcc] core/master.o [thread 8][arm-openwrt-linux-muslgnueabi-gcc] core/master_utils.o [thread 12][arm-openwrt-linux-muslgnueabi-gcc] core/emperor.o [thread 16][arm-openwrt-linux-muslgnueabi-gcc] core/notify.o [thread 9][arm-openwrt-linux-muslgnueabi-gcc] core/mule.o [thread 15][arm-openwrt-linux-muslgnueabi-gcc] core/subscription.o [thread 21][arm-openwrt-linux-muslgnueabi-gcc] core/stats.o [thread 23][arm-openwrt-linux-muslgnueabi-gcc] core/sendfile.o [thread 18][arm-openwrt-linux-muslgnueabi-gcc] core/async.o [thread 6][arm-openwrt-linux-muslgnueabi-gcc] core/master_checks.o [thread 13][arm-openwrt-linux-muslgnueabi-gcc] core/fifo.o [thread 14][arm-openwrt-linux-muslgnueabi-gcc] core/offload.o [thread 5][arm-openwrt-linux-muslgnueabi-gcc] core/io.o [thread 2][arm-openwrt-linux-muslgnueabi-gcc] core/static.o [thread 22][arm-openwrt-linux-muslgnueabi-gcc] core/websockets.o [thread 19][arm-openwrt-linux-muslgnueabi-gcc] core/spooler.o [thread 17][arm-openwrt-linux-muslgnueabi-gcc] core/snmp.o [thread 20][arm-openwrt-linux-muslgnueabi-gcc] core/exceptions.o [thread 3][arm-openwrt-linux-muslgnueabi-gcc] core/config.o [thread 11][arm-openwrt-linux-muslgnueabi-gcc] core/setup_utils.o [thread 16][arm-openwrt-linux-muslgnueabi-gcc] core/clock.o [thread 23][arm-openwrt-linux-muslgnueabi-gcc] core/init.o [thread 11][arm-openwrt-linux-muslgnueabi-gcc] core/buffer.o [thread 13][arm-openwrt-linux-muslgnueabi-gcc] core/reader.o [thread 17][arm-openwrt-linux-muslgnueabi-gcc] core/writer.o [thread 22][arm-openwrt-linux-muslgnueabi-gcc] core/alarm.o [thread 6][arm-openwrt-linux-muslgnueabi-gcc] core/cron.o [thread 16][arm-openwrt-linux-muslgnueabi-gcc] core/hooks.o [thread 9][arm-openwrt-linux-muslgnueabi-gcc] core/plugins.o [thread 3][arm-openwrt-linux-muslgnueabi-gcc] core/lock.o [thread 18][arm-openwrt-linux-muslgnueabi-gcc] core/cache.o [thread 2][arm-openwrt-linux-muslgnueabi-gcc] core/daemons.o [thread 14][arm-openwrt-linux-muslgnueabi-gcc] core/errors.o [thread 20][arm-openwrt-linux-muslgnueabi-gcc] core/hash.o [thread 21][arm-openwrt-linux-muslgnueabi-gcc] core/master_events.o [thread 22][arm-openwrt-linux-muslgnueabi-gcc] core/chunked.o [thread 23][arm-openwrt-linux-muslgnueabi-gcc] core/queue.o [thread 15][arm-openwrt-linux-muslgnueabi-gcc] core/event.o [thread 19][arm-openwrt-linux-muslgnueabi-gcc] core/signal.o [thread 6][arm-openwrt-linux-muslgnueabi-gcc] core/strings.o [thread 11][arm-openwrt-linux-muslgnueabi-gcc] core/progress.o [thread 14][arm-openwrt-linux-muslgnueabi-gcc] core/timebomb.o [thread 20][arm-openwrt-linux-muslgnueabi-gcc] core/ini.o [thread 1][arm-openwrt-linux-muslgnueabi-gcc] core/fsmon.o [thread 9][arm-openwrt-linux-muslgnueabi-gcc] core/mount.o [thread 22][arm-openwrt-linux-muslgnueabi-gcc] core/metrics.o [thread 21][arm-openwrt-linux-muslgnueabi-gcc] core/plugins_builder.o [thread 5][arm-openwrt-linux-muslgnueabi-gcc] core/sharedarea.o [thread 23][arm-openwrt-linux-muslgnueabi-gcc] core/rpc.o [thread 14][arm-openwrt-linux-muslgnueabi-gcc] core/gateway.o [thread 13][arm-openwrt-linux-muslgnueabi-gcc] core/loop.o [thread 11][arm-openwrt-linux-muslgnueabi-gcc] core/cookie.o [thread 3][arm-openwrt-linux-muslgnueabi-gcc] core/querystring.o [thread 2][arm-openwrt-linux-muslgnueabi-gcc] core/rb_timers.o [thread 10][arm-openwrt-linux-muslgnueabi-gcc] core/transformations.o [thread 16][arm-openwrt-linux-muslgnueabi-gcc] core/uwsgi.o [thread 17][arm-openwrt-linux-muslgnueabi-gcc] proto/base.o [thread 20][arm-openwrt-linux-muslgnueabi-gcc] proto/uwsgi.o [thread 7][arm-openwrt-linux-muslgnueabi-gcc] proto/http.o [thread 9][arm-openwrt-linux-muslgnueabi-gcc] proto/fastcgi.o [thread 15][arm-openwrt-linux-muslgnueabi-gcc] proto/scgi.o [thread 19][arm-openwrt-linux-muslgnueabi-gcc] proto/puwsgi.o [thread 1][arm-openwrt-linux-muslgnueabi-gcc] lib/linux_ns.o [thread 21][arm-openwrt-linux-muslgnueabi-gcc] core/regexp.o [thread 6][arm-openwrt-linux-muslgnueabi-gcc] core/routing.o [thread 11][arm-openwrt-linux-muslgnueabi-gcc] core/dot_h.o [thread 3][arm-openwrt-linux-muslgnueabi-gcc] core/config_py.o *** uWSGI linking *** arm-openwrt-linux-muslgnueabi-gcc -o uwsgi -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/lib -fuse-ld=bfd -znow -zrelro core/utils.o core/protocol.o core/socket.o core/logging.o core/master.o core/master_utils.o core/emperor.o core/notify.o core/mule.o core/subscription.o core/stats.o core/sendfile.o core/async.o core/master_checks.o core/fifo.o core/offload.o core/io.o core/static.o core/websockets.o core/spooler.o core/snmp.o core/exceptions.o core/config.o core/setup_utils.o core/clock.o core/init.o core/buffer.o core/reader.o core/writer.o core/alarm.o core/cron.o core/hooks.o core/plugins.o core/lock.o core/cache.o core/daemons.o core/errors.o core/hash.o core/master_events.o core/chunked.o core/queue.o core/event.o core/signal.o core/strings.o core/progress.o core/timebomb.o core/ini.o core/fsmon.o core/mount.o core/metrics.o core/plugins_builder.o core/sharedarea.o core/rpc.o core/gateway.o core/loop.o core/cookie.o core/querystring.o core/rb_timers.o core/transformations.o core/uwsgi.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o proto/scgi.o proto/puwsgi.o lib/linux_ns.o core/regexp.o core/routing.o core/dot_h.o core/config_py.o -lpthread -lm -rdynamic -ldl -L/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib -lpcre2-8 -lcap -luuid ################# uWSGI configuration ################# kernel = Linux execinfo = False ifaddrs = True locking = pthread_mutex event = epoll timer = timerfd filemonitor = inotify pcre = True routing = True capabilities = True yaml = False json = False ssl = False xml = False debug = False plugin_dir = /usr/lib/uwsgi zlib = False ucontext = False malloc = libc ############## end of uWSGI configuration ############# total build time: 5 seconds *** uWSGI is ready, launch it with ./uwsgi *** make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' python3 uwsgiconfig.py --plugin plugins/logfile openwrt using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include'] *** uWSGI building and linking plugin plugins/logfile *** [arm-openwrt-linux-muslgnueabi-gcc] ./logfile_plugin.so build time: 0 seconds *** logfile plugin built and available in ./logfile_plugin.so *** make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' python3 uwsgiconfig.py --plugin plugins/syslog openwrt using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include'] *** uWSGI building and linking plugin plugins/syslog *** [arm-openwrt-linux-muslgnueabi-gcc] ./syslog_plugin.so build time: 0 seconds *** syslog plugin built and available in ./syslog_plugin.so *** make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' python3 uwsgiconfig.py --plugin plugins/cgi openwrt using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include'] *** uWSGI building and linking plugin plugins/cgi *** [arm-openwrt-linux-muslgnueabi-gcc] ./cgi_plugin.so build time: 0 seconds *** cgi plugin built and available in ./cgi_plugin.so *** make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22' using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/../../../../arm-openwrt-linux-muslgnueabi/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include'] *** libpcre headers unavailable. uWSGI build is interrupted. You have to install pcre development package or disable pcre make[3]: *** [Makefile:185: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/pypi/uwsgi-2.0.22/.built] Error 1 time: package/feeds/packages/uwsgi/compile#22.09#2.08#8.84