2025-09-08T12:41:09,211 Created temporary directory: /tmp/pip-build-tracker-ylcioodx 2025-09-08T12:41:09,212 Initialized build tracking at /tmp/pip-build-tracker-ylcioodx 2025-09-08T12:41:09,212 Created build tracker: /tmp/pip-build-tracker-ylcioodx 2025-09-08T12:41:09,212 Entered build tracker: /tmp/pip-build-tracker-ylcioodx 2025-09-08T12:41:09,213 Created temporary directory: /tmp/pip-wheel-n1c0bfkp 2025-09-08T12:41:09,216 Created temporary directory: /tmp/pip-ephem-wheel-cache-qj6a9fuv 2025-09-08T12:41:09,271 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T12:41:09,273 2 location(s) to search for versions of orangepi-gpio: 2025-09-08T12:41:09,273 * https://pypi.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,273 * https://www.piwheels.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,274 Fetching project page and analyzing links: https://pypi.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,274 Getting page https://pypi.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,275 Found index url https://pypi.org/simple/ 2025-09-08T12:41:09,479 Fetched page https://pypi.org/simple/orangepi-gpio/ as application/vnd.pypi.simple.v1+json 2025-09-08T12:41:09,480 Found link https://files.pythonhosted.org/packages/04/b1/c9589b308e2ee52e6f6710b7f0dc1fc07061b70ebd2fe28ec2308b556138/OrangePi.GPIO-0.6.3.tar.gz (from https://pypi.org/simple/orangepi-gpio/), version: 0.6.3 2025-09-08T12:41:09,481 Fetching project page and analyzing links: https://www.piwheels.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,481 Getting page https://www.piwheels.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,483 Found index url https://www.piwheels.org/simple/ 2025-09-08T12:41:09,585 Fetched page https://www.piwheels.org/simple/orangepi-gpio/ as text/html 2025-09-08T12:41:09,587 Skipping link: No binaries permitted for orangepi-gpio: https://archive1.piwheels.org/simple/orangepi-gpio/OrangePi.GPIO-0.6.3-cp34-cp34m-linux_armv6l.whl#sha256=366fe0864c788f89d79e038b2d35f49d40132b383ddbb17efffe93ab317b397b (from https://www.piwheels.org/simple/orangepi-gpio/) 2025-09-08T12:41:09,587 Skipping link: No binaries permitted for orangepi-gpio: https://archive1.piwheels.org/simple/orangepi-gpio/OrangePi.GPIO-0.6.3-cp34-cp34m-linux_armv7l.whl#sha256=366fe0864c788f89d79e038b2d35f49d40132b383ddbb17efffe93ab317b397b (from https://www.piwheels.org/simple/orangepi-gpio/) 2025-09-08T12:41:09,587 Skipping link: No binaries permitted for orangepi-gpio: https://archive1.piwheels.org/simple/orangepi-gpio/OrangePi.GPIO-0.6.3-cp35-cp35m-linux_armv7l.whl#sha256=a6425e69a8847af896586785d0a279365da36f0b8706cf78635d8732580e1f1e (from https://www.piwheels.org/simple/orangepi-gpio/) 2025-09-08T12:41:09,587 Skipping link: No binaries permitted for orangepi-gpio: https://archive1.piwheels.org/simple/orangepi-gpio/OrangePi.GPIO-0.6.3-cp35-cp35m-linux_armv6l.whl#sha256=a6425e69a8847af896586785d0a279365da36f0b8706cf78635d8732580e1f1e (from https://www.piwheels.org/simple/orangepi-gpio/) 2025-09-08T12:41:09,587 Skipping link: No binaries permitted for orangepi-gpio: https://archive1.piwheels.org/simple/orangepi-gpio/OrangePi.GPIO-0.6.3-cp37-cp37m-linux_armv7l.whl#sha256=8243b18d87a2754a6ba94e544325eef186903a6d01eb53231f647d7b28e52bd9 (from https://www.piwheels.org/simple/orangepi-gpio/) 2025-09-08T12:41:09,588 Skipping link: No binaries permitted for orangepi-gpio: https://archive1.piwheels.org/simple/orangepi-gpio/OrangePi.GPIO-0.6.3-cp37-cp37m-linux_armv6l.whl#sha256=8243b18d87a2754a6ba94e544325eef186903a6d01eb53231f647d7b28e52bd9 (from https://www.piwheels.org/simple/orangepi-gpio/) 2025-09-08T12:41:09,588 Skipping link: not a file: https://www.piwheels.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,588 Skipping link: not a file: https://pypi.org/simple/orangepi-gpio/ 2025-09-08T12:41:09,612 Given no hashes to check 1 links for project 'orangepi-gpio': discarding no candidates 2025-09-08T12:41:09,613 Collecting orangepi-gpio==0.6.3 2025-09-08T12:41:09,615 Created temporary directory: /tmp/pip-unpack-qwer5ng3 2025-09-08T12:41:09,753 Downloading OrangePi.GPIO-0.6.3.tar.gz (17 kB) 2025-09-08T12:41:09,786 Added orangepi-gpio==0.6.3 from https://files.pythonhosted.org/packages/04/b1/c9589b308e2ee52e6f6710b7f0dc1fc07061b70ebd2fe28ec2308b556138/OrangePi.GPIO-0.6.3.tar.gz to build tracker '/tmp/pip-build-tracker-ylcioodx' 2025-09-08T12:41:09,787 Running setup.py (path:/tmp/pip-wheel-n1c0bfkp/orangepi-gpio_64fab04983a347fbb8a2ed902cc1b3c2/setup.py) egg_info for package orangepi-gpio 2025-09-08T12:41:09,787 Created temporary directory: /tmp/pip-pip-egg-info-roxg87fy 2025-09-08T12:41:09,788 Preparing metadata (setup.py): started 2025-09-08T12:41:09,788 Running command python setup.py egg_info 2025-09-08T12:41:10,771 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-08T12:41:10,771 !! 2025-09-08T12:41:10,771 ******************************************************************************** 2025-09-08T12:41:10,771 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-08T12:41:10,772 License :: OSI Approved :: MIT License 2025-09-08T12:41:10,772 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-08T12:41:10,772 ******************************************************************************** 2025-09-08T12:41:10,772 !! 2025-09-08T12:41:10,772 self._finalize_license_expression() 2025-09-08T12:41:11,335 Preparing metadata (setup.py): finished with status 'done' 2025-09-08T12:41:11,340 Source in /tmp/pip-wheel-n1c0bfkp/orangepi-gpio_64fab04983a347fbb8a2ed902cc1b3c2 has version 0.6.3, which satisfies requirement orangepi-gpio==0.6.3 from https://files.pythonhosted.org/packages/04/b1/c9589b308e2ee52e6f6710b7f0dc1fc07061b70ebd2fe28ec2308b556138/OrangePi.GPIO-0.6.3.tar.gz 2025-09-08T12:41:11,340 Removed orangepi-gpio==0.6.3 from https://files.pythonhosted.org/packages/04/b1/c9589b308e2ee52e6f6710b7f0dc1fc07061b70ebd2fe28ec2308b556138/OrangePi.GPIO-0.6.3.tar.gz from build tracker '/tmp/pip-build-tracker-ylcioodx' 2025-09-08T12:41:11,343 Created temporary directory: /tmp/pip-unpack-ybqo1lsi 2025-09-08T12:41:11,343 Created temporary directory: /tmp/pip-unpack-y4z_0ey6 2025-09-08T12:41:11,344 Building wheels for collected packages: orangepi-gpio 2025-09-08T12:41:11,345 Created temporary directory: /tmp/pip-wheel-p9crxkkt 2025-09-08T12:41:11,345 DEPRECATION: Building 'orangepi-gpio' 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 'orangepi-gpio'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-08T12:41:11,346 Building wheel for orangepi-gpio (setup.py): started 2025-09-08T12:41:11,347 Destination directory: /tmp/pip-wheel-p9crxkkt 2025-09-08T12:41:11,347 Running command python setup.py bdist_wheel 2025-09-08T12:41:12,330 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-08T12:41:12,330 !! 2025-09-08T12:41:12,331 ******************************************************************************** 2025-09-08T12:41:12,331 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-08T12:41:12,331 License :: OSI Approved :: MIT License 2025-09-08T12:41:12,331 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-08T12:41:12,331 ******************************************************************************** 2025-09-08T12:41:12,331 !! 2025-09-08T12:41:12,331 self._finalize_license_expression() 2025-09-08T12:41:13,662 source/c_gpio.c: In function ‘readl’: 2025-09-08T12:41:13,663 source/c_gpio.c:39:77: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘volatile uint32_t *’ {aka ‘volatile unsigned int *’} [-Wformat=] 2025-09-08T12:41:13,663 39 | printf("mmap_base = 0x%x\t mmap_seek = 0x%x\t gpio_map = 0x%x\t total = 0x%x\n",mmap_base,mmap_seek,gpio_map,(gpio_map + mmap_seek)); 2025-09-08T12:41:13,663 | ~^ ~~~~~~~~ 2025-09-08T12:41:13,663 | | | 2025-09-08T12:41:13,663 | unsigned int volatile uint32_t * {aka volatile unsigned int *} 2025-09-08T12:41:13,663 | %ls 2025-09-08T12:41:13,664 source/c_gpio.c:39:92: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘volatile uint32_t *’ {aka ‘volatile unsigned int *’} [-Wformat=] 2025-09-08T12:41:13,664 39 | printf("mmap_base = 0x%x\t mmap_seek = 0x%x\t gpio_map = 0x%x\t total = 0x%x\n",mmap_base,mmap_seek,gpio_map,(gpio_map + mmap_seek)); 2025-09-08T12:41:13,664 | ~^ ~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T12:41:13,664 | | | 2025-09-08T12:41:13,664 | unsigned int volatile uint32_t * {aka volatile unsigned int *} 2025-09-08T12:41:13,664 | %ls 2025-09-08T12:41:13,664 source/c_gpio.c: In function ‘setup’: 2025-09-08T12:41:13,664 source/c_gpio.c:70:39: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint8_t *’ {aka ‘unsigned char *’} [-Wformat=] 2025-09-08T12:41:13,664 70 | printf("gpio_mem = 0x%x\t gpio_map = 0x%x\n",gpio_mem,gpio_map); 2025-09-08T12:41:13,665 | ~^ ~~~~~~~~ 2025-09-08T12:41:13,665 | | | 2025-09-08T12:41:13,665 | unsigned int uint8_t * {aka unsigned char *} 2025-09-08T12:41:13,665 | %hhn 2025-09-08T12:41:13,665 source/c_gpio.c:70:57: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘volatile uint32_t *’ {aka ‘volatile unsigned int *’} [-Wformat=] 2025-09-08T12:41:13,665 70 | printf("gpio_mem = 0x%x\t gpio_map = 0x%x\n",gpio_mem,gpio_map); 2025-09-08T12:41:13,665 | ~^ ~~~~~~~~ 2025-09-08T12:41:13,665 | | | 2025-09-08T12:41:13,665 | unsigned int volatile uint32_t * {aka volatile unsigned int *} 2025-09-08T12:41:13,666 | %ls 2025-09-08T12:41:14,882 source/event_gpio.c: In function ‘event_cleanup’: 2025-09-08T12:41:14,882 source/event_gpio.c:444:15: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2025-09-08T12:41:14,883 444 | if ((gpio == -666) || (gpio_list->gpio == gpio)) 2025-09-08T12:41:14,883 | ^~ 2025-09-08T12:41:15,646 source/py_gpio.c: In function ‘py_gpio_function_string’: 2025-09-08T12:41:15,646 source/py_gpio.c:354:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2025-09-08T12:41:15,646 354 | str = FUNCTIONS[fn]; 2025-09-08T12:41:15,646 | ^ 2025-09-08T12:41:15,675 source/py_gpio.c: In function ‘PyInit_GPIO’: 2025-09-08T12:41:15,676 source/py_gpio.c:730:8: error: implicit declaration of function ‘PyEval_ThreadsInitialized’ [-Wimplicit-function-declaration] 2025-09-08T12:41:15,676 730 | if (!PyEval_ThreadsInitialized()) 2025-09-08T12:41:15,676 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2025-09-08T12:41:15,677 source/py_gpio.c:731:5: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 2025-09-08T12:41:15,677 731 | PyEval_InitThreads(); 2025-09-08T12:41:15,677 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T12:41:15,677 In file included from /usr/include/python3.13/Python.h:124, 2025-09-08T12:41:15,677 from source/py_gpio.c:23: 2025-09-08T12:41:15,677 /usr/include/python3.13/ceval.h:114:37: note: declared here 2025-09-08T12:41:15,677 114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2025-09-08T12:41:15,677 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T12:41:15,693 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-08T12:41:15,836 ERROR: python setup.py bdist_wheel exited with 1 2025-09-08T12:41:15,848 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-08T12:41:15,848 exec(compile('"'"''"'"''"'"' 2025-09-08T12:41:15,848 # This is -- a caller that pip uses to run setup.py 2025-09-08T12:41:15,848 # 2025-09-08T12:41:15,848 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T12:41:15,848 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T12:41:15,848 # - It provides a clear error message when setuptools is not installed. 2025-09-08T12:41:15,848 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T12:41:15,848 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T12:41:15,848 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T12:41:15,848 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T12:41:15,848 import os, sys, tokenize, traceback 2025-09-08T12:41:15,848 2025-09-08T12:41:15,848 try: 2025-09-08T12:41:15,848 import setuptools 2025-09-08T12:41:15,848 except ImportError: 2025-09-08T12:41:15,848 print( 2025-09-08T12:41:15,848 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T12:41:15,848 "the build environment with exception:", 2025-09-08T12:41:15,848 file=sys.stderr, 2025-09-08T12:41:15,848 ) 2025-09-08T12:41:15,848 traceback.print_exc() 2025-09-08T12:41:15,848 sys.exit(1) 2025-09-08T12:41:15,848 2025-09-08T12:41:15,848 __file__ = %r 2025-09-08T12:41:15,848 sys.argv[0] = __file__ 2025-09-08T12:41:15,848 2025-09-08T12:41:15,848 if os.path.exists(__file__): 2025-09-08T12:41:15,848 filename = __file__ 2025-09-08T12:41:15,848 with tokenize.open(__file__) as f: 2025-09-08T12:41:15,848 setup_py_code = f.read() 2025-09-08T12:41:15,848 else: 2025-09-08T12:41:15,848 filename = "" 2025-09-08T12:41:15,848 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T12:41:15,848 2025-09-08T12:41:15,848 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T12:41:15,848 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-n1c0bfkp/orangepi-gpio_64fab04983a347fbb8a2ed902cc1b3c2/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-p9crxkkt[/] 2025-09-08T12:41:15,848 [bold magenta]cwd[/]: /tmp/pip-wheel-n1c0bfkp/orangepi-gpio_64fab04983a347fbb8a2ed902cc1b3c2/ 2025-09-08T12:41:15,848 Building wheel for orangepi-gpio (setup.py): finished with status 'error' 2025-09-08T12:41:15,849 ERROR: Failed building wheel for orangepi-gpio 2025-09-08T12:41:15,849 Running setup.py clean for orangepi-gpio 2025-09-08T12:41:15,850 Running command python setup.py clean 2025-09-08T12:41:16,827 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-08T12:41:16,827 !! 2025-09-08T12:41:16,827 ******************************************************************************** 2025-09-08T12:41:16,827 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-08T12:41:16,827 License :: OSI Approved :: MIT License 2025-09-08T12:41:16,828 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-08T12:41:16,828 ******************************************************************************** 2025-09-08T12:41:16,828 !! 2025-09-08T12:41:16,828 self._finalize_license_expression() 2025-09-08T12:41:17,045 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-08T12:41:17,045 'build/scripts-3.13' does not exist -- can't clean it 2025-09-08T12:41:17,155 Failed to build orangepi-gpio 2025-09-08T12:41:17,156 ERROR: Failed to build one or more wheels 2025-09-08T12:41:17,157 Exception information: 2025-09-08T12:41:17,157 Traceback (most recent call last): 2025-09-08T12:41:17,157 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T12:41:17,157 status = _inner_run() 2025-09-08T12:41:17,157 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T12:41:17,157 return self.run(options, args) 2025-09-08T12:41:17,157 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T12:41:17,157 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T12:41:17,157 return func(self, options, args) 2025-09-08T12:41:17,157 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-08T12:41:17,157 raise CommandError("Failed to build one or more wheels") 2025-09-08T12:41:17,157 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-08T12:41:17,161 Removed build tracker: '/tmp/pip-build-tracker-ylcioodx'