Open arichardson opened 1 year ago
$ python3 -m pip install --user psutil Collecting psutil Downloading psutil-5.9.2.tar.gz (479 kB) |████████████████████████████████| 479 kB 4.4 MB/s Using legacy 'setup.py install' for psutil, since package 'wheel' is not installed. Installing collected packages: psutil Running setup.py install for psutil ... error ERROR: Command errored out with exit status 1: command: /usr/local64/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ja95uz2x/psutil_f897a2ca4f62438f815e5bc2ad4032de/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ja95uz2x/psutil_f897a2ca4f62438f815e5bc2ad4032de/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5qbbefk5/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/alex/.local/include/python3.8/psutil cwd: /tmp/pip-install-ja95uz2x/psutil_f897a2ca4f62438f815e5bc2ad4032de/ Complete output (46 lines): running install running build running build_py creating build creating build/lib.freebsd-14.0-CURRENT-arm64-3.8 creating build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_common.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_psposix.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_pswindows.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_compat.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/__init__.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_pssunos.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_psaix.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_psbsd.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_pslinux.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil copying psutil/_psosx.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil creating build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_misc.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_system.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_osx.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/__main__.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_aix.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/__init__.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_linux.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/runner.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_windows.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_posix.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_testutils.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_memleaks.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_process.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests copying psutil/tests/test_connections.py -> build/lib.freebsd-14.0-CURRENT-arm64-3.8/psutil/tests running build_ext building 'psutil._psutil_bsd' extension creating build/temp.freebsd-14.0-CURRENT-arm64-3.8 creating build/temp.freebsd-14.0-CURRENT-arm64-3.8/psutil creating build/temp.freebsd-14.0-CURRENT-arm64-3.8/psutil/arch creating build/temp.freebsd-14.0-CURRENT-arm64-3.8/psutil/arch/freebsd /zdata/cheri/output/jail-aarch64/clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_BSD=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=592 -DPSUTIL_FREEBSD=1 -I/usr/local64/include/python3.8 -c psutil/_psutil_common.c -o build/temp.freebsd-14.0-CURRENT-arm64-3.8/psutil/_psutil_common.o unable to execute '/zdata/cheri/output/jail-aarch64/clang': No such file or directory C compiler or Python headers are not installed on this system. Try to run: pkg install gcc python3 error: command '/zdata/cheri/output/jail-aarch64/clang' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/local64/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ja95uz2x/psutil_f897a2ca4f62438f815e5bc2ad4032de/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ja95uz2x/psutil_f897a2ca4f62438f815e5bc2ad4032de/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5qbbefk5/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/alex/.local/include/python3.8/psutil Check the logs for full command output.
For pkg64 we have to make sure this is updated to use the plain aarch64 compiler rather than /usr/bin/cc.
For pkg64 we have to make sure this is updated to use the plain aarch64 compiler rather than /usr/bin/cc.