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