2025-09-08T08:20:33,591 Created temporary directory: /tmp/pip-build-tracker-uw5_42w_ 2025-09-08T08:20:33,592 Initialized build tracking at /tmp/pip-build-tracker-uw5_42w_ 2025-09-08T08:20:33,592 Created build tracker: /tmp/pip-build-tracker-uw5_42w_ 2025-09-08T08:20:33,592 Entered build tracker: /tmp/pip-build-tracker-uw5_42w_ 2025-09-08T08:20:33,593 Created temporary directory: /tmp/pip-wheel-di9v3nuq 2025-09-08T08:20:33,596 Created temporary directory: /tmp/pip-ephem-wheel-cache-q1b6zise 2025-09-08T08:20:33,654 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T08:20:33,656 2 location(s) to search for versions of dphoyes-libssh2: 2025-09-08T08:20:33,656 * https://pypi.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,656 * https://www.piwheels.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,657 Fetching project page and analyzing links: https://pypi.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,657 Getting page https://pypi.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,658 Found index url https://pypi.org/simple/ 2025-09-08T08:20:33,802 Fetched page https://pypi.org/simple/dphoyes-libssh2/ as application/vnd.pypi.simple.v1+json 2025-09-08T08:20:33,804 Found link https://files.pythonhosted.org/packages/0e/b2/3aca408e09084453a15f39dee90c3b43c858f8f4b887af9e33e91c47416b/dphoyes.libssh2-0.7.1.tar.gz (from https://pypi.org/simple/dphoyes-libssh2/), version: 0.7.1 2025-09-08T08:20:33,804 Found link https://files.pythonhosted.org/packages/35/ed/c0b1109af64d4dba812bbde432bc615cc7092bed3f307e32391348749567/dphoyes.libssh2-0.7.2.tar.gz (from https://pypi.org/simple/dphoyes-libssh2/), version: 0.7.2 2025-09-08T08:20:33,805 Fetching project page and analyzing links: https://www.piwheels.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,805 Getting page https://www.piwheels.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,807 Found index url https://www.piwheels.org/simple/ 2025-09-08T08:20:33,905 Fetched page https://www.piwheels.org/simple/dphoyes-libssh2/ as text/html 2025-09-08T08:20:33,906 Skipping link: not a file: https://www.piwheels.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,906 Skipping link: not a file: https://pypi.org/simple/dphoyes-libssh2/ 2025-09-08T08:20:33,934 Given no hashes to check 1 links for project 'dphoyes-libssh2': discarding no candidates 2025-09-08T08:20:33,935 Collecting dphoyes-libssh2==0.7.1 2025-09-08T08:20:33,936 Created temporary directory: /tmp/pip-unpack-abuzi6w2 2025-09-08T08:20:34,073 Downloading dphoyes.libssh2-0.7.1.tar.gz (23 kB) 2025-09-08T08:20:34,103 Added dphoyes-libssh2==0.7.1 from https://files.pythonhosted.org/packages/0e/b2/3aca408e09084453a15f39dee90c3b43c858f8f4b887af9e33e91c47416b/dphoyes.libssh2-0.7.1.tar.gz to build tracker '/tmp/pip-build-tracker-uw5_42w_' 2025-09-08T08:20:34,104 Running setup.py (path:/tmp/pip-wheel-di9v3nuq/dphoyes-libssh2_635a35f5db334a9ca4c288b7edb1b97a/setup.py) egg_info for package dphoyes-libssh2 2025-09-08T08:20:34,105 Created temporary directory: /tmp/pip-pip-egg-info-kyd3v2dy 2025-09-08T08:20:34,105 Preparing metadata (setup.py): started 2025-09-08T08:20:34,106 Running command python setup.py egg_info 2025-09-08T08:20:35,580 Preparing metadata (setup.py): finished with status 'done' 2025-09-08T08:20:35,585 Source in /tmp/pip-wheel-di9v3nuq/dphoyes-libssh2_635a35f5db334a9ca4c288b7edb1b97a has version 0.7.1, which satisfies requirement dphoyes-libssh2==0.7.1 from https://files.pythonhosted.org/packages/0e/b2/3aca408e09084453a15f39dee90c3b43c858f8f4b887af9e33e91c47416b/dphoyes.libssh2-0.7.1.tar.gz 2025-09-08T08:20:35,585 Removed dphoyes-libssh2==0.7.1 from https://files.pythonhosted.org/packages/0e/b2/3aca408e09084453a15f39dee90c3b43c858f8f4b887af9e33e91c47416b/dphoyes.libssh2-0.7.1.tar.gz from build tracker '/tmp/pip-build-tracker-uw5_42w_' 2025-09-08T08:20:35,588 Created temporary directory: /tmp/pip-unpack-zb4gz5yi 2025-09-08T08:20:35,588 Created temporary directory: /tmp/pip-unpack-4c6m0lst 2025-09-08T08:20:35,588 Building wheels for collected packages: dphoyes-libssh2 2025-09-08T08:20:35,590 Created temporary directory: /tmp/pip-wheel-5819_h_r 2025-09-08T08:20:35,590 DEPRECATION: Building 'dphoyes-libssh2' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'dphoyes-libssh2'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-08T08:20:35,591 Building wheel for dphoyes-libssh2 (setup.py): started 2025-09-08T08:20:35,592 Destination directory: /tmp/pip-wheel-5819_h_r 2025-09-08T08:20:35,592 Running command python setup.py bdist_wheel 2025-09-08T08:20:39,138 src/session.c: In function ‘SSH2_Session_New’: 2025-09-08T08:20:39,138 src/session.c:61:9: warning: ‘libssh2_banner_set’ is deprecated: since libssh2 1.4.0. Use libssh2_session_banner_set() [-Wdeprecated-declarations] 2025-09-08T08:20:39,139 61 | libssh2_banner_set(session, LIBSSH2_SSH_DEFAULT_BANNER " Python"); 2025-09-08T08:20:39,139 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,139 In file included from src/ssh2.h:29, 2025-09-08T08:20:39,139 from src/session.c:21: 2025-09-08T08:20:39,139 /usr/include/libssh2.h:666:17: note: declared here 2025-09-08T08:20:39,139 666 | LIBSSH2_API int libssh2_banner_set(LIBSSH2_SESSION *session, 2025-09-08T08:20:39,139 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,139 src/session.c: In function ‘session_banner_set’: 2025-09-08T08:20:39,140 src/session.c:75:9: warning: ‘libssh2_banner_set’ is deprecated: since libssh2 1.4.0. Use libssh2_session_banner_set() [-Wdeprecated-declarations] 2025-09-08T08:20:39,140 75 | libssh2_banner_set(self->session, banner); 2025-09-08T08:20:39,140 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,140 /usr/include/libssh2.h:666:17: note: declared here 2025-09-08T08:20:39,140 666 | LIBSSH2_API int libssh2_banner_set(LIBSSH2_SESSION *session, 2025-09-08T08:20:39,140 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,140 src/session.c: In function ‘session_startup’: 2025-09-08T08:20:39,140 src/session.c:97:9: warning: ‘libssh2_session_startup’ is deprecated: since libssh2 1.2.8. Use libssh2_session_handshake() [-Wdeprecated-declarations] 2025-09-08T08:20:39,140 97 | ret=libssh2_session_startup(self->session, fd); 2025-09-08T08:20:39,141 | ^~~ 2025-09-08T08:20:39,141 /usr/include/libssh2.h:670:17: note: declared here 2025-09-08T08:20:39,141 670 | LIBSSH2_API int libssh2_session_startup(LIBSSH2_SESSION *session, int sock); 2025-09-08T08:20:39,141 | ^~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,153 src/session.c: In function ‘session_callback_set’: 2025-09-08T08:20:39,154 src/session.c:679:9: warning: ‘libssh2_session_callback_set’ is deprecated: since libssh2 1.11.1. Use libssh2_session_callback_set2() [-Wdeprecated-declarations] 2025-09-08T08:20:39,154 679 | libssh2_session_callback_set(self->session, type, new_callback != Py_None ? raw_callback : NULL); 2025-09-08T08:20:39,154 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,154 /usr/include/libssh2.h:660:19: note: declared here 2025-09-08T08:20:39,154 660 | LIBSSH2_API void *libssh2_session_callback_set(LIBSSH2_SESSION *session, 2025-09-08T08:20:39,154 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T08:20:39,156 src/session.c: In function ‘session_scp_recv’: 2025-09-08T08:20:39,156 src/session.c:717:9: warning: ‘libssh2_scp_recv’ is deprecated: since libssh2 1.7.0. Use libssh2_scp_recv2() [-Wdeprecated-declarations] 2025-09-08T08:20:39,156 717 | channel = libssh2_scp_recv(self->session, path, 2025-09-08T08:20:39,156 | ^~~~~~~ 2025-09-08T08:20:39,156 /usr/include/libssh2.h:1051:30: note: declared here 2025-09-08T08:20:39,157 1051 | LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_recv(LIBSSH2_SESSION *session, 2025-09-08T08:20:39,157 | ^~~~~~~~~~~~~~~~ 2025-09-08T08:20:40,745 src/sftp.c: In function ‘SFTP_set_stat’: 2025-09-08T08:20:40,745 src/sftp.c:453:29: error: implicit declaration of function ‘PyUnicode_AS_DATA’; did you mean ‘PyUnicode_DATA’? [-Wimplicit-function-declaration] 2025-09-08T08:20:40,745 453 | s = (char *)PyUnicode_AS_DATA(key); 2025-09-08T08:20:40,746 | ^~~~~~~~~~~~~~~~~ 2025-09-08T08:20:40,746 | PyUnicode_DATA 2025-09-08T08:20:40,765 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-08T08:20:40,909 ERROR: python setup.py bdist_wheel exited with 1 2025-09-08T08:20:40,921 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-08T08:20:40,921 exec(compile('"'"''"'"''"'"' 2025-09-08T08:20:40,921 # This is -- a caller that pip uses to run setup.py 2025-09-08T08:20:40,921 # 2025-09-08T08:20:40,921 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T08:20:40,921 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T08:20:40,921 # - It provides a clear error message when setuptools is not installed. 2025-09-08T08:20:40,921 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T08:20:40,921 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T08:20:40,921 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T08:20:40,921 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T08:20:40,921 import os, sys, tokenize, traceback 2025-09-08T08:20:40,921 2025-09-08T08:20:40,921 try: 2025-09-08T08:20:40,921 import setuptools 2025-09-08T08:20:40,921 except ImportError: 2025-09-08T08:20:40,921 print( 2025-09-08T08:20:40,921 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T08:20:40,921 "the build environment with exception:", 2025-09-08T08:20:40,921 file=sys.stderr, 2025-09-08T08:20:40,921 ) 2025-09-08T08:20:40,921 traceback.print_exc() 2025-09-08T08:20:40,921 sys.exit(1) 2025-09-08T08:20:40,921 2025-09-08T08:20:40,921 __file__ = %r 2025-09-08T08:20:40,921 sys.argv[0] = __file__ 2025-09-08T08:20:40,921 2025-09-08T08:20:40,921 if os.path.exists(__file__): 2025-09-08T08:20:40,921 filename = __file__ 2025-09-08T08:20:40,921 with tokenize.open(__file__) as f: 2025-09-08T08:20:40,921 setup_py_code = f.read() 2025-09-08T08:20:40,921 else: 2025-09-08T08:20:40,921 filename = "" 2025-09-08T08:20:40,921 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T08:20:40,921 2025-09-08T08:20:40,921 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T08:20:40,921 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-di9v3nuq/dphoyes-libssh2_635a35f5db334a9ca4c288b7edb1b97a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-5819_h_r[/] 2025-09-08T08:20:40,921 [bold magenta]cwd[/]: /tmp/pip-wheel-di9v3nuq/dphoyes-libssh2_635a35f5db334a9ca4c288b7edb1b97a/ 2025-09-08T08:20:40,921 Building wheel for dphoyes-libssh2 (setup.py): finished with status 'error' 2025-09-08T08:20:40,922 ERROR: Failed building wheel for dphoyes-libssh2 2025-09-08T08:20:40,923 Running setup.py clean for dphoyes-libssh2 2025-09-08T08:20:40,924 Running command python setup.py clean 2025-09-08T08:20:42,455 'build/lib.linux-armv7l-cpython-313' does not exist -- can't clean it 2025-09-08T08:20:42,455 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-08T08:20:42,455 'build/scripts-3.13' does not exist -- can't clean it 2025-09-08T08:20:42,566 Failed to build dphoyes-libssh2 2025-09-08T08:20:42,567 ERROR: Failed to build one or more wheels 2025-09-08T08:20:42,568 Exception information: 2025-09-08T08:20:42,568 Traceback (most recent call last): 2025-09-08T08:20:42,568 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T08:20:42,568 status = _inner_run() 2025-09-08T08:20:42,568 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T08:20:42,568 return self.run(options, args) 2025-09-08T08:20:42,568 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T08:20:42,568 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T08:20:42,568 return func(self, options, args) 2025-09-08T08:20:42,568 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-08T08:20:42,568 raise CommandError("Failed to build one or more wheels") 2025-09-08T08:20:42,568 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-08T08:20:42,572 Removed build tracker: '/tmp/pip-build-tracker-uw5_42w_'