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-i386_pentium-mmx_musl/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-i386_pentium-mmx_musl/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-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/usr/include'] detected CPU cores: 24 configured CFLAGS: -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/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-i386_pentium-mmx_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/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-i386_pentium-mmx_musl/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 18][i486-openwrt-linux-musl-gcc] core/utils.o [thread 5][i486-openwrt-linux-musl-gcc] core/protocol.o [thread 17][i486-openwrt-linux-musl-gcc] core/socket.o [thread 19][i486-openwrt-linux-musl-gcc] core/logging.o [thread 21][i486-openwrt-linux-musl-gcc] core/master.o [thread 3][i486-openwrt-linux-musl-gcc] core/master_utils.o [thread 4][i486-openwrt-linux-musl-gcc] core/emperor.o [thread 10][i486-openwrt-linux-musl-gcc] core/notify.o [thread 16][i486-openwrt-linux-musl-gcc] core/mule.o [thread 20][i486-openwrt-linux-musl-gcc] core/subscription.o [thread 15][i486-openwrt-linux-musl-gcc] core/stats.o [thread 6][i486-openwrt-linux-musl-gcc] core/sendfile.o [thread 12][i486-openwrt-linux-musl-gcc] core/async.o [thread 11][i486-openwrt-linux-musl-gcc] core/master_checks.o [thread 8][i486-openwrt-linux-musl-gcc] core/fifo.o [thread 13][i486-openwrt-linux-musl-gcc] core/offload.o [thread 14][i486-openwrt-linux-musl-gcc] core/io.o [thread 22][i486-openwrt-linux-musl-gcc] core/static.o [thread 7][i486-openwrt-linux-musl-gcc] core/websockets.o [thread 1][i486-openwrt-linux-musl-gcc] core/spooler.o [thread 2][i486-openwrt-linux-musl-gcc] core/snmp.o [thread 0][i486-openwrt-linux-musl-gcc] core/exceptions.o [thread 23][i486-openwrt-linux-musl-gcc] core/config.o [thread 9][i486-openwrt-linux-musl-gcc] core/setup_utils.o [thread 6][i486-openwrt-linux-musl-gcc] core/clock.o [thread 10][i486-openwrt-linux-musl-gcc] core/init.o [thread 8][i486-openwrt-linux-musl-gcc] core/buffer.o [thread 9][i486-openwrt-linux-musl-gcc] core/reader.o [thread 2][i486-openwrt-linux-musl-gcc] core/writer.o [thread 6][i486-openwrt-linux-musl-gcc] core/alarm.o [thread 12][i486-openwrt-linux-musl-gcc] core/cron.o [thread 7][i486-openwrt-linux-musl-gcc] core/hooks.o [thread 13][i486-openwrt-linux-musl-gcc] core/plugins.o [thread 11][i486-openwrt-linux-musl-gcc] core/lock.o [thread 15][i486-openwrt-linux-musl-gcc] core/cache.o [thread 16][i486-openwrt-linux-musl-gcc] core/daemons.o [thread 1][i486-openwrt-linux-musl-gcc] core/errors.o [thread 0][i486-openwrt-linux-musl-gcc] core/hash.o [thread 12][i486-openwrt-linux-musl-gcc] core/master_events.o [thread 10][i486-openwrt-linux-musl-gcc] core/chunked.o [thread 22][i486-openwrt-linux-musl-gcc] core/queue.o [thread 21][i486-openwrt-linux-musl-gcc] core/event.o [thread 20][i486-openwrt-linux-musl-gcc] core/signal.o [thread 23][i486-openwrt-linux-musl-gcc] core/strings.o [thread 6][i486-openwrt-linux-musl-gcc] core/progress.o [thread 5][i486-openwrt-linux-musl-gcc] core/timebomb.o [thread 1][i486-openwrt-linux-musl-gcc] core/ini.o [thread 8][i486-openwrt-linux-musl-gcc] core/fsmon.o [thread 13][i486-openwrt-linux-musl-gcc] core/mount.o [thread 0][i486-openwrt-linux-musl-gcc] core/metrics.o [thread 10][i486-openwrt-linux-musl-gcc] core/plugins_builder.o [thread 11][i486-openwrt-linux-musl-gcc] core/sharedarea.o [thread 12][i486-openwrt-linux-musl-gcc] core/rpc.o [thread 9][i486-openwrt-linux-musl-gcc] core/gateway.o [thread 22][i486-openwrt-linux-musl-gcc] core/loop.o [thread 7][i486-openwrt-linux-musl-gcc] core/cookie.o [thread 16][i486-openwrt-linux-musl-gcc] core/querystring.o [thread 14][i486-openwrt-linux-musl-gcc] core/rb_timers.o [thread 5][i486-openwrt-linux-musl-gcc] core/transformations.o [thread 8][i486-openwrt-linux-musl-gcc] core/uwsgi.o [thread 6][i486-openwrt-linux-musl-gcc] proto/base.o [thread 1][i486-openwrt-linux-musl-gcc] proto/uwsgi.o [thread 2][i486-openwrt-linux-musl-gcc] proto/http.o [thread 13][i486-openwrt-linux-musl-gcc] proto/fastcgi.o [thread 10][i486-openwrt-linux-musl-gcc] proto/scgi.o [thread 21][i486-openwrt-linux-musl-gcc] proto/puwsgi.o [thread 20][i486-openwrt-linux-musl-gcc] lib/linux_ns.o [thread 16][i486-openwrt-linux-musl-gcc] core/regexp.o [thread 7][i486-openwrt-linux-musl-gcc] core/routing.o [thread 3][i486-openwrt-linux-musl-gcc] core/dot_h.o [thread 19][i486-openwrt-linux-musl-gcc] core/config_py.o *** uWSGI linking *** i486-openwrt-linux-musl-gcc -o uwsgi -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/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-i386_pentium-mmx_musl/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: 4 seconds *** uWSGI is ready, launch it with ./uwsgi *** make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/pypi/uwsgi-2.0.22' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/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-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/usr/include'] *** uWSGI building and linking plugin plugins/logfile *** [i486-openwrt-linux-musl-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-i386_pentium-mmx_musl/pypi/uwsgi-2.0.22' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/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-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/usr/include'] *** uWSGI building and linking plugin plugins/syslog *** [i486-openwrt-linux-musl-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-i386_pentium-mmx_musl/pypi/uwsgi-2.0.22' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/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-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/usr/include'] *** uWSGI building and linking plugin plugins/cgi *** [i486-openwrt-linux-musl-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-i386_pentium-mmx_musl/pypi/uwsgi-2.0.22' using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/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-i386_pentium-mmx_musl/pypi/uwsgi-2.0.22/.built] Error 1 time: package/feeds/packages/uwsgi/compile#20.64#1.94#7.74