Opde Issues Tracker

compile.40

build number: 40

re-implement command

docker pull elonh/opde:sdk
docker run -it --rm elonh/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/python-psutil/compile -j$(nproc) || make package/feeds/packages/python-psutil/compile V=s

Compile.txt

Requirement already satisfied: setuptools-scm==4.1.2 in /openwrt/staging_dir/hostpkg/lib/python3.9/site-packages (from -r ../host-pip-requirements/setuptools-scm.txt (line 1)) (4.1.2)
Requirement already satisfied: setuptools in /openwrt/staging_dir/hostpkg/lib/python3.9/site-packages (from setuptools-scm==4.1.2->-r ../host-pip-requirements/setuptools-scm.txt (line 1)) (56.0.0)
cc1: note: someone does not honour COPTS correctly, passed 0 times
running install
running build
running build_py
creating build
creating build/lib.-3.9
creating build/lib.-3.9/psutil
copying psutil/_psbsd.py -> build/lib.-3.9/psutil
copying psutil/_compat.py -> build/lib.-3.9/psutil
copying psutil/_psosx.py -> build/lib.-3.9/psutil
copying psutil/_pslinux.py -> build/lib.-3.9/psutil
copying psutil/_pssunos.py -> build/lib.-3.9/psutil
copying psutil/__init__.py -> build/lib.-3.9/psutil
copying psutil/_psposix.py -> build/lib.-3.9/psutil
copying psutil/_pswindows.py -> build/lib.-3.9/psutil
copying psutil/_psaix.py -> build/lib.-3.9/psutil
copying psutil/_common.py -> build/lib.-3.9/psutil
creating build/lib.-3.9/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_process.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_system.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/runner.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/__init__.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.-3.9/psutil/tests
copying psutil/tests/__main__.py -> build/lib.-3.9/psutil/tests
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.-3.9
creating build/temp.-3.9/psutil
ccache_cc -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-mips_24kc_musl/host/include -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-mips_24kc_musl/host/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/pypi/psutil-5.8.0=psutil-5.8.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.9 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_LINUX=1 -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.9 -c psutil/_psutil_common.c -o build/temp.-3.9/psutil/_psutil_common.o
psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.
error: command '/openwrt/staging_dir/host/bin/ccache_cc' failed with exit code 1
make[3]: *** [Makefile:47: /openwrt/build_dir/target-mips_24kc_musl/pypi/psutil-5.8.0/.built] Error 1
Last updated on 22 Jun 2021
Published on 22 Jun 2021