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/010-uclibc-ng.patch using plaintext: patching file core/uwsgi.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-arc_archs_glibc/pypi/uwsgi-2.0.20' python3 uwsgiconfig.py --build openwrt core/lock.c: In function 'uwsgi_lock_fast_init': core/lock.c:114:17: warning: 'pthread_mutexattr_setrobust_np' is deprecated: pthread_mutexattr_setrobust_np is deprecated, use pthread_mutexattr_setrobust [-Wdeprecated-declarations] 114 | if (pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST)) { | ^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include/features.h:490, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include/bits/libc-header-start.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include/stdio.h:27, from ./uwsgi.h:165, from core/lock.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed/pthread.h:960:12: note: declared here 960 | extern int __REDIRECT_NTH (pthread_mutexattr_setrobust_np, | ^~~~~~~~~~~~~~ core/lock.c: In function 'uwsgi_lock_fast': core/lock.c:176:17: warning: 'pthread_mutex_consistent_np' is deprecated: pthread_mutex_consistent_np is deprecated, use pthread_mutex_consistent [-Wdeprecated-declarations] 176 | pthread_mutex_consistent((pthread_mutex_t *) uli->lock_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include/features.h:490, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include/bits/libc-header-start.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include/stdio.h:27, from ./uwsgi.h:165, from core/lock.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed/pthread.h:868:12: note: declared here 868 | extern int __REDIRECT_NTH (pthread_mutex_consistent_np, (pthread_mutex_t *), | ^~~~~~~~~~~~~~ core/metrics.c: In function 'uwsgi_metric_set_max': core/metrics.c:706:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 706 | if (value > *um->value) | ^~ In file included from core/metrics.c:1: ./uwsgi.h:436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 436 | #define uwsgi_rwunlock(x) uwsgi.lock_ops.rwunlock(x) | ^~~~~ core/metrics.c:708:9: note: in expansion of macro 'uwsgi_rwunlock' 708 | uwsgi_rwunlock(uwsgi.metrics_lock); | ^~~~~~~~~~~~~~ core/metrics.c: In function 'uwsgi_metric_set_min': core/metrics.c:714:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 714 | if ((value > um->initial_value || 0) && value < *um->value) | ^~ In file included from core/metrics.c:1: ./uwsgi.h:436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 436 | #define uwsgi_rwunlock(x) uwsgi.lock_ops.rwunlock(x) | ^~~~~ core/metrics.c:716:9: note: in expansion of macro 'uwsgi_rwunlock' 716 | uwsgi_rwunlock(uwsgi.metrics_lock); | ^~~~~~~~~~~~~~ using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include'] detected CPU cores: 8 configured CFLAGS: -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/uwsgi-2.0.20=uwsgi-2.0.20 -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-arc_archs_gcc-11.3.0_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/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-arc_archs_glibc/usr/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.20\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="20" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi\"" *** uWSGI compiling server core *** [thread 1][arc-openwrt-linux-gnu-gcc] core/utils.o [thread 2][arc-openwrt-linux-gnu-gcc] core/protocol.o [thread 5][arc-openwrt-linux-gnu-gcc] core/socket.o [thread 6][arc-openwrt-linux-gnu-gcc] core/logging.o [thread 4][arc-openwrt-linux-gnu-gcc] core/master.o [thread 0][arc-openwrt-linux-gnu-gcc] core/master_utils.o [thread 7][arc-openwrt-linux-gnu-gcc] core/emperor.o [thread 3][arc-openwrt-linux-gnu-gcc] core/notify.o [thread 3][arc-openwrt-linux-gnu-gcc] core/mule.o [thread 2][arc-openwrt-linux-gnu-gcc] core/subscription.o [thread 4][arc-openwrt-linux-gnu-gcc] core/stats.o [thread 3][arc-openwrt-linux-gnu-gcc] core/sendfile.o [thread 0][arc-openwrt-linux-gnu-gcc] core/async.o [thread 5][arc-openwrt-linux-gnu-gcc] core/master_checks.o [thread 6][arc-openwrt-linux-gnu-gcc] core/fifo.o [thread 3][arc-openwrt-linux-gnu-gcc] core/offload.o [thread 4][arc-openwrt-linux-gnu-gcc] core/io.o [thread 2][arc-openwrt-linux-gnu-gcc] core/static.o [thread 7][arc-openwrt-linux-gnu-gcc] core/websockets.o [thread 0][arc-openwrt-linux-gnu-gcc] core/spooler.o [thread 6][arc-openwrt-linux-gnu-gcc] core/snmp.o [thread 5][arc-openwrt-linux-gnu-gcc] core/exceptions.o [thread 3][arc-openwrt-linux-gnu-gcc] core/config.o [thread 7][arc-openwrt-linux-gnu-gcc] core/setup_utils.o [thread 2][arc-openwrt-linux-gnu-gcc] core/clock.o [thread 1][arc-openwrt-linux-gnu-gcc] core/init.o [thread 6][arc-openwrt-linux-gnu-gcc] core/buffer.o [thread 0][arc-openwrt-linux-gnu-gcc] core/reader.o [thread 4][arc-openwrt-linux-gnu-gcc] core/writer.o [thread 5][arc-openwrt-linux-gnu-gcc] core/alarm.o [thread 7][arc-openwrt-linux-gnu-gcc] core/cron.o [thread 2][arc-openwrt-linux-gnu-gcc] core/hooks.o [thread 3][arc-openwrt-linux-gnu-gcc] core/plugins.o [thread 1][arc-openwrt-linux-gnu-gcc] core/lock.o [thread 5][arc-openwrt-linux-gnu-gcc] core/cache.o [thread 6][arc-openwrt-linux-gnu-gcc] core/daemons.o [thread 7][arc-openwrt-linux-gnu-gcc] core/errors.o [thread 0][arc-openwrt-linux-gnu-gcc] core/hash.o [thread 2][arc-openwrt-linux-gnu-gcc] core/master_events.o [thread 4][arc-openwrt-linux-gnu-gcc] core/chunked.o [thread 3][arc-openwrt-linux-gnu-gcc] core/queue.o [thread 1][arc-openwrt-linux-gnu-gcc] core/event.o [thread 7][arc-openwrt-linux-gnu-gcc] core/signal.o [thread 0][arc-openwrt-linux-gnu-gcc] core/strings.o [thread 6][arc-openwrt-linux-gnu-gcc] core/progress.o [thread 2][arc-openwrt-linux-gnu-gcc] core/timebomb.o [thread 3][arc-openwrt-linux-gnu-gcc] core/ini.o [thread 4][arc-openwrt-linux-gnu-gcc] core/fsmon.o [thread 1][arc-openwrt-linux-gnu-gcc] core/mount.o [thread 6][arc-openwrt-linux-gnu-gcc] core/metrics.o [thread 0][arc-openwrt-linux-gnu-gcc] core/plugins_builder.o [thread 2][arc-openwrt-linux-gnu-gcc] core/sharedarea.o [thread 7][arc-openwrt-linux-gnu-gcc] core/rpc.o [thread 3][arc-openwrt-linux-gnu-gcc] core/gateway.o [thread 4][arc-openwrt-linux-gnu-gcc] core/loop.o [thread 0][arc-openwrt-linux-gnu-gcc] core/cookie.o [thread 1][arc-openwrt-linux-gnu-gcc] core/querystring.o [thread 7][arc-openwrt-linux-gnu-gcc] core/rb_timers.o [thread 4][arc-openwrt-linux-gnu-gcc] core/transformations.o [thread 5][arc-openwrt-linux-gnu-gcc] core/uwsgi.o [thread 0][arc-openwrt-linux-gnu-gcc] proto/base.o [thread 3][arc-openwrt-linux-gnu-gcc] proto/uwsgi.o [thread 2][arc-openwrt-linux-gnu-gcc] proto/http.o [thread 1][arc-openwrt-linux-gnu-gcc] proto/fastcgi.o [thread 4][arc-openwrt-linux-gnu-gcc] proto/scgi.o [thread 7][arc-openwrt-linux-gnu-gcc] proto/puwsgi.o [thread 3][arc-openwrt-linux-gnu-gcc] lib/linux_ns.o [thread 4][arc-openwrt-linux-gnu-gcc] core/regexp.o [thread 1][arc-openwrt-linux-gnu-gcc] core/routing.o [thread 7][arc-openwrt-linux-gnu-gcc] core/dot_h.o [thread 0][arc-openwrt-linux-gnu-gcc] core/config_py.o *** uWSGI linking *** arc-openwrt-linux-gnu-gcc -o uwsgi -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/lib -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-arc_archs_glibc/usr/lib -lpcre -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 = True malloc = libc ############## end of uWSGI configuration ############# total build time: 6 seconds *** uWSGI is ready, launch it with ./uwsgi *** make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/uwsgi-2.0.20' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/uwsgi-2.0.20' python3 uwsgiconfig.py --plugin plugins/logfile openwrt using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include'] *** uWSGI building and linking plugin plugins/logfile *** [arc-openwrt-linux-gnu-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-arc_archs_glibc/pypi/uwsgi-2.0.20' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/uwsgi-2.0.20' python3 uwsgiconfig.py --plugin plugins/syslog openwrt using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include'] *** uWSGI building and linking plugin plugins/syslog *** [arc-openwrt-linux-gnu-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-arc_archs_glibc/pypi/uwsgi-2.0.20' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/uwsgi-2.0.20' python3 uwsgiconfig.py --plugin plugins/cgi openwrt using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include'] *** uWSGI building and linking plugin plugins/cgi *** [arc-openwrt-linux-gnu-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-arc_archs_glibc/pypi/uwsgi-2.0.20' In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/python_plugin.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/pyutils.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/pyloader.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/wsgi_handlers.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/wsgi_headers.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/wsgi_subhandler.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/web3_subhandler.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/pump_subhandler.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/gil.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/uwsgi_pymodule.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/profiler.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/symimporter.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/tracebacker.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from plugins/python/uwsgi_python.h:2, from plugins/python/raw.c:1: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ using profile: buildconf/openwrt.ini detected include path: ['/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/include-fixed', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/sys-include', '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/11.3.0/../../../../arc-openwrt-linux-gnu/include', '/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include'] *** uWSGI building and linking plugin plugins/python *** [arc-openwrt-linux-gnu-gcc] ./python_plugin.so *** unable to build python plugin *** make[3]: *** [Makefile:170: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/uwsgi-2.0.20/.built] Error 1 time: package/feeds/packages/uwsgi/compile#31.39#5.20#13.14