Applying ./patches/100_add_cross_platform_build_ability.patch using plaintext: patching file psutil/_common.py Requirement already satisfied: setuptools-scm==6.0.1 in /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages (from -r ../host-pip-requirements/setuptools-scm.txt (line 1)) (6.0.1) Requirement already satisfied: setuptools>=45 in /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages (from setuptools-scm==6.0.1->-r ../host-pip-requirements/setuptools-scm.txt (line 1)) (63.2.0) cc1: note: someone does not honour COPTS correctly, passed 0 times running install /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.-cpython-310 creating build/lib.-cpython-310/psutil copying psutil/_pssunos.py -> build/lib.-cpython-310/psutil copying psutil/_psaix.py -> build/lib.-cpython-310/psutil copying psutil/_psosx.py -> build/lib.-cpython-310/psutil copying psutil/_compat.py -> build/lib.-cpython-310/psutil copying psutil/_common.py -> build/lib.-cpython-310/psutil copying psutil/_pswindows.py -> build/lib.-cpython-310/psutil copying psutil/__init__.py -> build/lib.-cpython-310/psutil copying psutil/_psbsd.py -> build/lib.-cpython-310/psutil copying psutil/_pslinux.py -> build/lib.-cpython-310/psutil copying psutil/_psposix.py -> build/lib.-cpython-310/psutil creating build/lib.-cpython-310/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/runner.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_misc.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_memleaks.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_connections.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_process.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_windows.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_posix.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_aix.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_system.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/__main__.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_testutils.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/__init__.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_linux.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_osx.py -> build/lib.-cpython-310/psutil/tests warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'psutil._psutil_linux' extension creating build/temp.-cpython-310 creating build/temp.-cpython-310/psutil arm-openwrt-linux-muslgnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a5+vfpv4_musl_eabi/host/include -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a5+vfpv4_musl_eabi/host/include -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-a5+vfpv4_musl_eabi/pypi/psutil-5.9.0=psutil-5.9.0 -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-a5+vfpv4_gcc-12.2.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.2.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.2.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a5+vfpv4_musl_eabi/usr/include/python3.10 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=590 -DPSUTIL_LINUX=1 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -c psutil/_psutil_common.c -o build/temp.-cpython-310/psutil/_psutil_common.o In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from psutil/_psutil_common.c:9: /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?)." | ^~~~~ error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc' failed with exit code 1 make[3]: *** [Makefile:51: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/pypi/psutil-5.9.0/.built] Error 1 time: package/feeds/packages/python-psutil/compile#1.97#0.24#2.38