Hello All!
Raspberry Pi 4B (8Gb) hardware.
I am trying to install Satnogs client on a clean Debian 11 (x64) system.
At the last step I get the following error:
~/satnogs-client-ansible$ ansible-playbook -i production/inventory/hosts -K site.yml
BECOME password:
Executing playbook site.yml
- satnogs_setups on hosts: satnogs_setups -
Gathering Facts...
Check Ansible version...
Check distribution...
Remove APT configuration disabling recommends...
Update APT cache...
Install required package for APT...
Install repository keys...
Remove old repository...
Install repository...
Install packages...
Gather package facts...
Disable swap file...
Add ZRAM init script...
Create needrestart directory for Raspbian...
Configure needrestart for Raspbian...
Remove deprecated satnogs-setup system dependencies...
Install satnogs-setup system dependencies...
Install Ansible repository keys...
Install Ansible repository...
Install Ansible package...
Get system Python version...
Get virtualenv Python version...
Remove virtualenv of old Python version...
Install PyPI dependencies...
Retrying... (1 of 4)
Retrying... (2 of 4)
Retrying... (3 of 4)
satnogs failed | msg: stdout: Collecting PyYAML==6.0
Using cached PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (731 kB)
Collecting psutil==5.9.1
Using cached psutil-5.9.1.tar.gz (479 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 wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting python-dotenv==0.20.0
Using cached python_dotenv-0.20.0-py3-none-any.whl (17 kB)
Collecting pythondialog==3.5.3
Using cached pythondialog-3.5.3-py3-none-any.whl (54 kB)
Collecting setuptools==63.2.0
Using cached setuptools-63.2.0-py3-none-any.whl (1.2 MB)
Building wheels for collected packages: psutil
Building wheel for psutil (PEP 517): started
Building wheel for psutil (PEP 517): finished with status 'error'
Failed to build psutil
:stderr: ERROR: Command errored out with exit status 1:
command: /var/lib/satnogs-config/bin/python /tmp/tmp8gsw6xh1_in_process.py build_wheel /tmp/tmpr0lpg4r_
cwd: /tmp/pip-install-tag2qcrg/psutil_9d1825f7e31a4c54a2f29078b8fb59b8
Complete output (98 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.9
creating build/lib.linux-aarch64-3.9/psutil
copying psutil/_compat.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_common.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_psaix.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_pswindows.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_pssunos.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/__init__.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_psosx.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_psbsd.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_pslinux.py -> build/lib.linux-aarch64-3.9/psutil
copying psutil/_psposix.py -> build/lib.linux-aarch64-3.9/psutil
creating build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/foo.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/__init__.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/runner.py -> build/lib.linux-aarch64-3.9/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-3.9/psutil/tests
running build_ext
creating build/temp.linux-aarch64-3.9
creating build/temp.linux-aarch64-3.9/psutil
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_LINUX=1 -I/var/lib/satnogs-config/include -I/usr/include/python3.9 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-3.9/psutil/_psutil_common.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_LINUX=1 -I/var/lib/satnogs-config/include -I/usr/include/python3.9 -c psutil/_psutil_linux.c -o build/temp.linux-aarch64-3.9/psutil/_psutil_linux.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_LINUX=1 -I/var/lib/satnogs-config/include -I/usr/include/python3.9 -c psutil/_psutil_posix.c -o build/temp.linux-aarch64-3.9/psutil/_psutil_posix.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-3.9/psutil/_psutil_common.o build/temp.linux-aarch64-3.9/psutil/_psutil_linux.o build/temp.linux-aarch64-3.9/psutil/_psutil_posix.o -L/usr/lib -o build/lib.linux-aarch64-3.9/psutil/_psutil_linux.cpython-39-aarch64-linux-gnu.so
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_LINUX=1 -I/var/lib/satnogs-config/include -I/usr/include/python3.9 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-3.9/psutil/_psutil_common.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_LINUX=1 -I/var/lib/satnogs-config/include -I/usr/include/python3.9 -c psutil/_psutil_posix.c -o build/temp.linux-aarch64-3.9/psutil/_psutil_posix.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-3.9/psutil/_psutil_common.o build/temp.linux-aarch64-3.9/psutil/_psutil_posix.o -L/usr/lib -o build/lib.linux-aarch64-3.9/psutil/_psutil_posix.cpython-39-aarch64-linux-gnu.so
running install
running install_lib
Traceback (most recent call last):
File "/tmp/tmp8gsw6xh1_in_process.py", line 280, in <module>
main()
File "/tmp/tmp8gsw6xh1_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmp8gsw6xh1_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 216, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 449, in <module>
main()
File "setup.py", line 421, in main
setup(**kwargs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 259, in run
self.run_command('install')
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/install.py", line 578, in run
self.run_command(cmd_name)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 985, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 17, in finalize_options
self.set_undefined_options('install',('install_layout','install_layout'))
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 290, in set_undefined_options
setattr(self, dst_option, getattr(src_cmd_obj, src_option))
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 103, in __getattr__
raise AttributeError(attr)
AttributeError: install_layout
----------------------------------------
ERROR: Failed building wheel for psutil
ERROR: Could not build wheels for psutil which use PEP 517 and cannot be installed directly
- Play recap -
satnogs : ok=16 changed=0 unreachable=0 failed=1 rescued=0 ignored=0