Applying ./patches/100_add_cross_platform_build_ability.patch using plaintext: patching file psutil/_common.py Collecting setuptools-scm==6.0.1 Using cached setuptools_scm-6.0.1.tar.gz (51 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' 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) Building wheels for collected packages: setuptools-scm Building wheel for setuptools-scm (pyproject.toml): started Building wheel for setuptools-scm (pyproject.toml): finished with status 'done' Created wheel for setuptools-scm: filename=setuptools_scm-6.0.1-py3-none-any.whl size=27876 sha256=f216128c6bd6d8cf04a4962e0c1dc472b0864fab81c0a2dfb156f0125b6e5beb Stored in directory: /builder/dl/pip-cache/wheels/3e/f5/22/9cc25ed6d3656f689f0af7ad272fb0ac04b659671bf6f86612 Successfully built setuptools-scm Installing collected packages: setuptools-scm Successfully installed setuptools-scm-6.0.1 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/_psaix.py -> build/lib.-cpython-310/psutil copying psutil/_compat.py -> build/lib.-cpython-310/psutil copying psutil/_pslinux.py -> build/lib.-cpython-310/psutil copying psutil/_psbsd.py -> build/lib.-cpython-310/psutil copying psutil/__init__.py -> build/lib.-cpython-310/psutil copying psutil/_psosx.py -> build/lib.-cpython-310/psutil copying psutil/_common.py -> build/lib.-cpython-310/psutil copying psutil/_pssunos.py -> build/lib.-cpython-310/psutil copying psutil/_pswindows.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_windows.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_posix.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/__main__.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/__init__.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/runner.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_system.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_misc.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_memleaks.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_osx.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_aix.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_testutils.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.-cpython-310/psutil/tests copying psutil/tests/test_linux.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 i486-openwrt-linux-musl-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-i386_pentium-mmx_musl/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-i386_pentium-mmx_musl/host/include -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/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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_musl/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-i386_pentium-mmx_gcc-12.2.0_musl/bin/i486-openwrt-linux-musl-gcc' failed with exit code 1 make[3]: *** [Makefile:51: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/pypi/psutil-5.9.0/.built] Error 1 time: package/feeds/packages/python-psutil/compile#21.69#2.61#27.49