2023-09-09T03:24:12,738 Created temporary directory: /tmp/pip-build-tracker-6q4u4pm6 2023-09-09T03:24:12,740 Initialized build tracking at /tmp/pip-build-tracker-6q4u4pm6 2023-09-09T03:24:12,740 Created build tracker: /tmp/pip-build-tracker-6q4u4pm6 2023-09-09T03:24:12,740 Entered build tracker: /tmp/pip-build-tracker-6q4u4pm6 2023-09-09T03:24:12,741 Created temporary directory: /tmp/pip-wheel-xn30zpjj 2023-09-09T03:24:12,744 Created temporary directory: /tmp/pip-ephem-wheel-cache-g__luj2_ 2023-09-09T03:24:12,766 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-09T03:24:12,769 2 location(s) to search for versions of gpioemu: 2023-09-09T03:24:12,769 * https://pypi.org/simple/gpioemu/ 2023-09-09T03:24:12,769 * https://www.piwheels.org/simple/gpioemu/ 2023-09-09T03:24:12,770 Fetching project page and analyzing links: https://pypi.org/simple/gpioemu/ 2023-09-09T03:24:12,771 Getting page https://pypi.org/simple/gpioemu/ 2023-09-09T03:24:12,772 Found index url https://pypi.org/simple/ 2023-09-09T03:24:12,984 Fetched page https://pypi.org/simple/gpioemu/ as application/vnd.pypi.simple.v1+json 2023-09-09T03:24:12,985 Found link https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz (from https://pypi.org/simple/gpioemu/), version: 0.0.3 2023-09-09T03:24:12,986 Fetching project page and analyzing links: https://www.piwheels.org/simple/gpioemu/ 2023-09-09T03:24:12,986 Getting page https://www.piwheels.org/simple/gpioemu/ 2023-09-09T03:24:12,988 Found index url https://www.piwheels.org/simple/ 2023-09-09T03:24:13,249 Fetched page https://www.piwheels.org/simple/gpioemu/ as text/html 2023-09-09T03:24:13,251 Skipping link: No binaries permitted for gpioemu: https://www.piwheels.org/simple/gpioemu/GPIOEmu-0.0.3-cp35-cp35m-linux_armv6l.whl#sha256=498dbba4c38f28cb5307878c0a66e24e35875024cf9e38e70e4630259a5f9079 (from https://www.piwheels.org/simple/gpioemu/) 2023-09-09T03:24:13,252 Skipping link: No binaries permitted for gpioemu: https://www.piwheels.org/simple/gpioemu/GPIOEmu-0.0.3-cp35-cp35m-linux_armv7l.whl#sha256=498dbba4c38f28cb5307878c0a66e24e35875024cf9e38e70e4630259a5f9079 (from https://www.piwheels.org/simple/gpioemu/) 2023-09-09T03:24:13,252 Skipping link: No binaries permitted for gpioemu: https://www.piwheels.org/simple/gpioemu/GPIOEmu-0.0.3-cp37-cp37m-linux_armv6l.whl#sha256=faf88fed70e90e23ade46453839109c0c65e480b5b06cd72a3480d08aa73b22a (from https://www.piwheels.org/simple/gpioemu/) 2023-09-09T03:24:13,253 Skipping link: No binaries permitted for gpioemu: https://www.piwheels.org/simple/gpioemu/GPIOEmu-0.0.3-cp37-cp37m-linux_armv7l.whl#sha256=faf88fed70e90e23ade46453839109c0c65e480b5b06cd72a3480d08aa73b22a (from https://www.piwheels.org/simple/gpioemu/) 2023-09-09T03:24:13,254 Skipping link: not a file: https://www.piwheels.org/simple/gpioemu/ 2023-09-09T03:24:13,254 Skipping link: not a file: https://pypi.org/simple/gpioemu/ 2023-09-09T03:24:13,272 Given no hashes to check 1 links for project 'gpioemu': discarding no candidates 2023-09-09T03:24:13,291 Collecting gpioemu==0.0.3 2023-09-09T03:24:13,294 Created temporary directory: /tmp/pip-unpack-xxknzglg 2023-09-09T03:24:13,506 Downloading GPIOEmu-0.0.3.tar.gz (69 kB) 2023-09-09T03:24:13,848 Added gpioemu==0.0.3 from https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz to build tracker '/tmp/pip-build-tracker-6q4u4pm6' 2023-09-09T03:24:13,850 Running setup.py (path:/tmp/pip-wheel-xn30zpjj/gpioemu_e8b2002cb0ea4c59aa5555ba99528b1b/setup.py) egg_info for package gpioemu 2023-09-09T03:24:13,851 Created temporary directory: /tmp/pip-pip-egg-info-lczl9b_2 2023-09-09T03:24:13,852 Preparing metadata (setup.py): started 2023-09-09T03:24:13,854 Running command python setup.py egg_info 2023-09-09T03:24:15,017 Preparing metadata (setup.py): finished with status 'done' 2023-09-09T03:24:15,020 Source in /tmp/pip-wheel-xn30zpjj/gpioemu_e8b2002cb0ea4c59aa5555ba99528b1b has version 0.0.3, which satisfies requirement gpioemu==0.0.3 from https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz 2023-09-09T03:24:15,021 Removed gpioemu==0.0.3 from https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz from build tracker '/tmp/pip-build-tracker-6q4u4pm6' 2023-09-09T03:24:15,026 Created temporary directory: /tmp/pip-unpack-d9krp97e 2023-09-09T03:24:15,027 Created temporary directory: /tmp/pip-unpack-p0xux79v 2023-09-09T03:24:15,030 Building wheels for collected packages: gpioemu 2023-09-09T03:24:15,034 Created temporary directory: /tmp/pip-wheel-4vi49l0x 2023-09-09T03:24:15,034 Building wheel for gpioemu (setup.py): started 2023-09-09T03:24:15,035 Destination directory: /tmp/pip-wheel-4vi49l0x 2023-09-09T03:24:15,036 Running command python setup.py bdist_wheel 2023-09-09T03:24:17,928 In file included from src/GUI.c:9: 2023-09-09T03:24:17,928 In function ‘build_pwm_texture’, 2023-09-09T03:24:17,929 inlined from ‘draw_states’ at src/GUI.c:347:8, 2023-09-09T03:24:17,930 inlined from ‘GUI_draw’ at src/GUI.c:371:2: 2023-09-09T03:24:17,930 src/GUI.h:3:18: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2023-09-09T03:24:17,930 3 | #define IMG_PATH "/usr/share/GPIOEmu/images/" 2023-09-09T03:24:17,931 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:17,931 src/GUI.c:264:23: note: in expansion of macro ‘IMG_PATH’ 2023-09-09T03:24:17,932 264 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2023-09-09T03:24:17,933 | ^~~~~~~~ 2023-09-09T03:24:17,933 src/GUI.c: In function ‘GUI_draw’: 2023-09-09T03:24:17,934 src/GUI.c:282:42: note: format string is defined here 2023-09-09T03:24:17,934 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2023-09-09T03:24:17,935 | ^ 2023-09-09T03:24:17,936 In function ‘build_pwm_texture’, 2023-09-09T03:24:17,936 inlined from ‘draw_states’ at src/GUI.c:347:8, 2023-09-09T03:24:17,937 inlined from ‘GUI_draw’ at src/GUI.c:371:2: 2023-09-09T03:24:17,938 src/GUI.c:264:9: note: ‘sprintf’ output between 36 and 37 bytes into a destination of size 36 2023-09-09T03:24:17,938 264 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2023-09-09T03:24:17,939 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:17,940 src/GUI.h:3:18: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2023-09-09T03:24:17,940 3 | #define IMG_PATH "/usr/share/GPIOEmu/images/" 2023-09-09T03:24:17,941 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:17,942 src/GUI.c:282:23: note: in expansion of macro ‘IMG_PATH’ 2023-09-09T03:24:17,942 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2023-09-09T03:24:17,943 | ^~~~~~~~ 2023-09-09T03:24:17,943 src/GUI.c: In function ‘GUI_draw’: 2023-09-09T03:24:17,944 src/GUI.c:282:42: note: format string is defined here 2023-09-09T03:24:17,944 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2023-09-09T03:24:17,945 | ^ 2023-09-09T03:24:17,946 In function ‘build_pwm_texture’, 2023-09-09T03:24:17,946 inlined from ‘draw_states’ at src/GUI.c:347:8, 2023-09-09T03:24:17,947 inlined from ‘GUI_draw’ at src/GUI.c:371:2: 2023-09-09T03:24:17,947 src/GUI.c:282:9: note: ‘sprintf’ output between 36 and 37 bytes into a destination of size 36 2023-09-09T03:24:17,948 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2023-09-09T03:24:17,949 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:19,533 src/event_gpio.c: In function ‘event_cleanup’: 2023-09-09T03:24:19,534 src/event_gpio.c:161:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2023-09-09T03:24:19,535 161 | if ((gpio == -666) || (g->gpio == gpio)) { 2023-09-09T03:24:19,536 | ^~ 2023-09-09T03:24:19,536 src/event_gpio.c: In function ‘add_edge_detect’: 2023-09-09T03:24:19,537 src/event_gpio.c:195:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2023-09-09T03:24:19,538 195 | } else if (i == edge) { // get existing event 2023-09-09T03:24:19,539 | ^~ 2023-09-09T03:24:19,539 src/event_gpio.c: In function ‘blocking_wait_for_edge’: 2023-09-09T03:24:19,540 src/event_gpio.c:232:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2023-09-09T03:24:19,540 232 | if (ed == edge) { // get existing record 2023-09-09T03:24:19,541 | ^~ 2023-09-09T03:24:19,541 src/event_gpio.c:257:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2023-09-09T03:24:19,542 257 | if (event_channel == gpio && (event_edge == edge || edge == BOTH_EDGE)) // event detected 2023-09-09T03:24:19,543 | ^~ 2023-09-09T03:24:19,543 src/event_gpio.c:257:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2023-09-09T03:24:19,544 257 | if (event_channel == gpio && (event_edge == edge || edge == BOTH_EDGE)) // event detected 2023-09-09T03:24:19,544 | ^~ 2023-09-09T03:24:20,136 In file included from /usr/include/python3.11/Python.h:44, 2023-09-09T03:24:20,136 from src/py_gpio.c:1: 2023-09-09T03:24:20,137 src/py_gpio.c: In function ‘py_setup_channel’: 2023-09-09T03:24:20,138 /usr/include/python3.11/object.h:775:41: error: expected ‘(’ before ‘PyType_HasFeature’ 2023-09-09T03:24:20,138 775 | #define PyType_FastSubclass(type, flag) PyType_HasFeature(type, flag) 2023-09-09T03:24:20,139 | ^~~~~~~~~~~~~~~~~ 2023-09-09T03:24:20,140 /usr/include/python3.11/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’ 2023-09-09T03:24:20,140 25 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS) 2023-09-09T03:24:20,141 | ^~~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:20,141 src/py_gpio.c:178:19: note: in expansion of macro ‘PyList_Check’ 2023-09-09T03:24:20,142 178 | } else if PyList_Check(chanlist) { 2023-09-09T03:24:20,142 | ^~~~~~~~~~~~ 2023-09-09T03:24:20,143 src/py_gpio.c:178:42: error: expected ‘;’ before ‘{’ token 2023-09-09T03:24:20,144 178 | } else if PyList_Check(chanlist) { 2023-09-09T03:24:20,144 | ^ 2023-09-09T03:24:20,150 src/py_gpio.c: In function ‘chan_from_gpio’: 2023-09-09T03:24:20,150 src/py_gpio.c:494:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2023-09-09T03:24:20,151 494 | if (*(*pin_to_gpio+chan) == gpio) 2023-09-09T03:24:20,152 | ^~ 2023-09-09T03:24:20,162 src/py_gpio.c: In function ‘PyInit_GPIOEmu’: 2023-09-09T03:24:20,163 src/py_gpio.c:862:9: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations] 2023-09-09T03:24:20,164 862 | if (!PyEval_ThreadsInitialized()) 2023-09-09T03:24:20,164 | ^~ 2023-09-09T03:24:20,165 In file included from /usr/include/python3.11/Python.h:95: 2023-09-09T03:24:20,166 /usr/include/python3.11/ceval.h:131:36: note: declared here 2023-09-09T03:24:20,166 131 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); 2023-09-09T03:24:20,167 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:20,168 src/py_gpio.c:863:17: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 2023-09-09T03:24:20,169 863 | PyEval_InitThreads(); 2023-09-09T03:24:20,170 | ^~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:20,170 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-09T03:24:20,171 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-09T03:24:20,172 | ^~~~~~~~~~~~~~~~~~ 2023-09-09T03:24:20,189 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-09T03:24:20,331 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-09T03:24:20,345 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-09T03:24:20,345 exec(compile('"'"''"'"''"'"' 2023-09-09T03:24:20,345 # This is -- a caller that pip uses to run setup.py 2023-09-09T03:24:20,345 # 2023-09-09T03:24:20,345 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-09T03:24:20,345 # import from `distutils.core` to work with newer packaging standards. 2023-09-09T03:24:20,345 # - It provides a clear error message when setuptools is not installed. 2023-09-09T03:24:20,345 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-09T03:24:20,345 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-09T03:24:20,345 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-09T03:24:20,345 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-09T03:24:20,345 import os, sys, tokenize 2023-09-09T03:24:20,345 2023-09-09T03:24:20,345 try: 2023-09-09T03:24:20,345 import setuptools 2023-09-09T03:24:20,345 except ImportError as error: 2023-09-09T03:24:20,345 print( 2023-09-09T03:24:20,345 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-09T03:24:20,345 "the build environment.", 2023-09-09T03:24:20,345 file=sys.stderr, 2023-09-09T03:24:20,345 ) 2023-09-09T03:24:20,345 sys.exit(1) 2023-09-09T03:24:20,345 2023-09-09T03:24:20,345 __file__ = %r 2023-09-09T03:24:20,345 sys.argv[0] = __file__ 2023-09-09T03:24:20,345 2023-09-09T03:24:20,345 if os.path.exists(__file__): 2023-09-09T03:24:20,345 filename = __file__ 2023-09-09T03:24:20,345 with tokenize.open(__file__) as f: 2023-09-09T03:24:20,345 setup_py_code = f.read() 2023-09-09T03:24:20,345 else: 2023-09-09T03:24:20,345 filename = "" 2023-09-09T03:24:20,345 setup_py_code = "from setuptools import setup; setup()" 2023-09-09T03:24:20,345 2023-09-09T03:24:20,345 exec(compile(setup_py_code, filename, "exec")) 2023-09-09T03:24:20,345 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-xn30zpjj/gpioemu_e8b2002cb0ea4c59aa5555ba99528b1b/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-4vi49l0x[/] 2023-09-09T03:24:20,345 [bold magenta]cwd[/]: /tmp/pip-wheel-xn30zpjj/gpioemu_e8b2002cb0ea4c59aa5555ba99528b1b/ 2023-09-09T03:24:20,346 Building wheel for gpioemu (setup.py): finished with status 'error' 2023-09-09T03:24:20,347 ERROR: Failed building wheel for gpioemu 2023-09-09T03:24:20,348 Running setup.py clean for gpioemu 2023-09-09T03:24:20,350 Running command python setup.py clean 2023-09-09T03:24:21,333 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-09T03:24:21,333 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-09T03:24:21,334 'build/scripts-3.11' does not exist -- can't clean it 2023-09-09T03:24:21,443 Failed to build gpioemu 2023-09-09T03:24:21,445 ERROR: Failed to build one or more wheels 2023-09-09T03:24:21,446 Exception information: 2023-09-09T03:24:21,446 Traceback (most recent call last): 2023-09-09T03:24:21,446 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-09T03:24:21,446 status = run_func(*args) 2023-09-09T03:24:21,446 ^^^^^^^^^^^^^^^ 2023-09-09T03:24:21,446 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-09T03:24:21,446 return func(self, options, args) 2023-09-09T03:24:21,446 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-09T03:24:21,446 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-09T03:24:21,446 raise CommandError("Failed to build one or more wheels") 2023-09-09T03:24:21,446 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-09T03:24:21,449 Removed build tracker: '/tmp/pip-build-tracker-6q4u4pm6'